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

add hls config

This commit is contained in:
winlin 2013-11-23 19:15:11 +08:00
parent e3e0db9bb1
commit 200a6a6975
6 changed files with 979 additions and 894 deletions

14
trunk/conf/srs.conf Normal file → Executable file
View file

@ -9,6 +9,10 @@ chunk_size 65000;
# vhost list, the __defaultVhost__ is the default vhost
# for which cannot identify the required vhost.
vhost __defaultVhost__ {
enabled on;
gop_cache on;
hls on;
hls_path ./hls;
}
# the vhost disabled.
vhost removed.vhost.com {
@ -17,6 +21,16 @@ vhost removed.vhost.com {
# default: on
enabled off;
}
# the vhost with hls specified.
vhost no-hls.vhost.com {
# whether the hls is enabled.
# if off, donot write hls(ts and m3u8) when publish.
# default: on
hls on;
# the hls output path.
# default: ./hls
hls_path /data/nginx/html/hls;
}
# the vhost with hls disabled.
vhost no-hls.vhost.com {
# whether the hls is enabled.