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:
parent
b9c21b1e8f
commit
76c1957260
3 changed files with 101 additions and 4 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue