mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
for #209, server cycle to enable the hls to cleanup. do dispose
This commit is contained in:
parent
567d84e997
commit
d611bb6b45
8 changed files with 109 additions and 3 deletions
|
@ -618,9 +618,14 @@ vhost with-hls.srs.com {
|
|||
# h264, vn
|
||||
# default: h264
|
||||
hls_vcodec h264;
|
||||
# whether cleanup the old ts files.
|
||||
# whether cleanup the old expired ts files.
|
||||
# default: on
|
||||
hls_cleanup on;
|
||||
# the timeout in seconds to dispose the hls,
|
||||
# dispose is to remove all hls files, m3u8 and ts files.
|
||||
# when timeout or server terminate, dispose hls.
|
||||
# default: 300
|
||||
hls_dispose 300;
|
||||
# the max size to notify hls,
|
||||
# to read max bytes from ts of specified cdn network,
|
||||
# @remark only used when on_hls_notify is config.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue