mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
HLS: Support disable hls_ts_ctx.
This commit is contained in:
parent
eb2056db25
commit
e027d28c4d
5 changed files with 54 additions and 8 deletions
|
@ -1392,6 +1392,13 @@ vhost hls.srs.com {
|
|||
# Note that it will make NGINX edge cache always missed, so never enable HLS streaming if use NGINX edges.
|
||||
# Default: on
|
||||
hls_ctx on;
|
||||
# For HLS pseudo streaming, whether enable the session for each TS segment.
|
||||
# If enabled, SRS HTTP API will show the statistics about HLS streaming bandwidth, both m3u8 and ts file. Please
|
||||
# note that it also consumes resource, because each ts file should be served by SRS, all NGINX cache will be
|
||||
# missed because we add session id to each ts file.
|
||||
# Note that it will make NGINX edge cache always missed, so never enable HLS streaming if use NGINX edges.
|
||||
# Default: on
|
||||
hls_ts_ctx on;
|
||||
|
||||
# the hls fragment in seconds, the duration of a piece of ts.
|
||||
# default: 10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue