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

update demo, support acodec

This commit is contained in:
winlin 2014-04-11 14:13:14 +08:00
parent acdd5a827e
commit 15f651bccd
11 changed files with 97 additions and 20 deletions

View file

@ -180,9 +180,32 @@ vhost players_pub {
}
}
vhost players_pub_rtmp {
vhost players_chat {
gop_cache off;
hls {
enabled off;
}
transcode {
enabled on;
ffmpeg ./objs/ffmpeg/bin/ffmpeg;
engine chat_hls {
enabled on;
vcodec copy;
acodec libaacplus;
abitrate 30;
asample_rate 44100;
achannels 2;
aparams {
}
output rtmp://127.0.0.1:[port]/[app]?vhost=players_pub/[stream];
}
}
}
vhost chat_hls {
hls {
enabled on;
hls_path ./objs/nginx/html;
hls_fragment 2;
hls_window 8;
}
}