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

enhance hls, increase piece one by one.

This commit is contained in:
winlin 2015-03-31 16:58:20 +08:00
parent b9c21b1e8f
commit 76c1957260
3 changed files with 101 additions and 4 deletions

View file

@ -563,6 +563,7 @@ vhost with-hls.srs.com {
# whether use floor for the hls_ts_file path generation.
# if on, use floor(timestamp/hls_fragment) as the variable [timestamp],
# and use enahanced algorithm to calc deviation for segment.
# @remark when floor on, recommend the hls_segment>=2*gop.
# default: off
hls_ts_floor off;
# the hls entry prefix, which is base url of ts url.
@ -740,7 +741,8 @@ vhost hooks.callback.srs.com {
# "ip": "192.168.1.10", "vhost": "video.test.com", "app": "live",
# "stream": "livestream",
# "cwd": "/usr/local/srs",
# "file": "./objs/nginx/html/live/livestream.1420254068776-100.ts"
# "file": "./objs/nginx/html/live/livestream.1420254068776-100.ts",
# "seq_no": 100
# }
# if valid, the hook must return HTTP code 200(Stauts OK) and response
# an int value specifies the error code(0 corresponding to success):