1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

update demo.conf

This commit is contained in:
winlin 2014-04-11 14:40:38 +08:00
parent 189da7e12e
commit 9eb76cb1eb
2 changed files with 14 additions and 3 deletions

View file

@ -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;
}
}