winlin

update demo.conf

... ... @@ -170,7 +170,6 @@ vhost players {
}
}
}
vhost players_pub {
hls {
enabled on;
... ... @@ -190,7 +189,19 @@ vhost players_chat {
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine chat_hls {
enabled on;
vcodec copy;
vfilter {
}
vcodec libx264;
vbitrate 300;
vfps 15;
vwidth 768;
vheight 320;
vthreads 1;
vprofile baseline;
vpreset fast;
vparams {
g 30;
}
acodec libaacplus;
abitrate 30;
asample_rate 44100;
... ... @@ -206,6 +217,6 @@ vhost chat_hls {
enabled on;
hls_path ./objs/nginx/html;
hls_fragment 2;
hls_window 8;
hls_window 10;
}
}
... ...