胡斌

update demo conf for speex2aac and cpu_affinity

@@ -62,7 +62,7 @@ work_dir ./; @@ -62,7 +62,7 @@ work_dir ./;
62 # @reamrk do not support reload. 62 # @reamrk do not support reload.
63 # default: off 63 # default: off
64 asprocess off; 64 asprocess off;
65 -# whether using build-in speex to aac transcoding 65 +# whether use build-in speex to aac transcoding
66 # default: off 66 # default: off
67 speex2aac off; 67 speex2aac off;
68 # set cpu affinity,the index of the cpu core,0,1,2,... 68 # set cpu affinity,the index of the cpu core,0,1,2,...
@@ -5,6 +5,11 @@ listen 1935; @@ -5,6 +5,11 @@ listen 1935;
5 max_connections 1000; 5 max_connections 1000;
6 srs_log_tank file; 6 srs_log_tank file;
7 srs_log_file ./objs/srs.log; 7 srs_log_file ./objs/srs.log;
8 -speex2aac on; 8 +# whether use build-in speex to aac transcoding
  9 +# default: off
  10 +speex2aac on;
  11 +# set cpu affinity,the index of the cpu core,0,1,2,...
  12 +# default -1,don't set affinity
  13 +cpu_affinity 0;
9 vhost __defaultVhost__ { 14 vhost __defaultVhost__ {
10 } 15 }