Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HLS: Support disable variant for HLS Edge Cluster. #2995

Closed
winlinvip opened this issue Apr 4, 2022 · 2 comments
Closed

HLS: Support disable variant for HLS Edge Cluster. #2995

winlinvip opened this issue Apr 4, 2022 · 2 comments
Assignees
Labels
Enhancement Improvement or enhancement. Feature It's a new feature. TransByAI Translated by AI/GPT.
Milestone

Comments

@winlinvip
Copy link
Member

winlinvip commented Apr 4, 2022

If using HLS Edge Cluster, such as NGINX for HLS distribution, then HLS variant cannot be enabled. This will cause each client requesting m3u8 to go back to the origin server, resulting in a significant load on the origin server and preventing scalability.

TRANS_BY_GPT3

@winlinvip winlinvip added Enhancement Improvement or enhancement. Feature It's a new feature. labels Apr 4, 2022
@winlinvip winlinvip added this to the 4.0 milestone Apr 4, 2022
@winlinvip
Copy link
Member Author

winlinvip commented Apr 23, 2022

image

It seems that the timeout for detecting HLS client cannot be configured.

TRANS_BY_GPT3

@winlinvip
Copy link
Member Author

winlinvip commented Dec 9, 2022

Fixed in e027d28

        # 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;

@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Improvement or enhancement. Feature It's a new feature. TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

2 participants