mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
HLS: Support config hls_ctx to disable HLS streaming.
This commit is contained in:
parent
6dc86b8a2e
commit
2c569f568c
4 changed files with 32 additions and 1 deletions
|
@ -1499,6 +1499,14 @@ vhost hls.srs.com {
|
|||
# the key root URL, use this can support https.
|
||||
# @remark It's optional.
|
||||
hls_key_url https://localhost:8080;
|
||||
# Whether enable hls_ctx.
|
||||
# hls_ctx used to keep track of subsequent m3u8 requests.
|
||||
# if on, hls client info can be collected in stat module,
|
||||
# if on, on_play/on_stop can be called in http hook module.
|
||||
# otherwise not;
|
||||
# When request stopped, http hook or stat with special time effected, that is 2*hls_window,
|
||||
# Default: off
|
||||
hls_ctx on;
|
||||
|
||||
# Special control controls.
|
||||
###########################################
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue