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

for #328, support adobe hds. 2.0.138.

This commit is contained in:
winlin 2015-03-12 11:15:15 +08:00
parent da56e4fbb9
commit ffef62900f
13 changed files with 198 additions and 17 deletions

View file

@ -554,6 +554,24 @@ vhost no-hls.srs.com {
}
}
# the vhost with adobe hds
vhost hds.srs.com {
hds {
# whether hds enabled
# default: off
enabled on;
# the hds fragment in seconds.
# default: 10
hds_fragment 10;
# the hds window in seconds, erase the segment when exceed the window.
# default: 60
hds_window 60;
# the path to store the hds files.
# default: ./objs/nginx/html
hds_path ./objs/nginx/html;
}
}
# the http hook callback vhost, srs will invoke the hooks for specified events.
vhost hooks.callback.srs.com {
http_hooks {