-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Best configuration for low latency stream? #6662
Comments
The latest release is v1.5.15. Please upgrade to the latest release. v1.5 has fix #5714 with among others since the latest patch improve Low-Latency HLS support.
How does this config compare to using the defaults (none at all)? Have you tried the branch that supports preload hints (#6356)? What platforms and browsers are you testing on?
Note that there is only one bitrate variant in this asset so bandwidth estimation is completely inconsequential; there is nothing to switch to. This stream plays fine in the latest release given enough network throughput and low round trip times with the default config.
Setting
Set this to infinity and let the browser handle buffer removal on append unless you are targeting smartTVs which tent to run out of memory before ejecting media from the buffer.
👍 Disabling the worker helps reduce latency. That's the only setting you should need to add. The biggest issues are that you are on an older version and you may not have the connectivity to the target needed to stream |
I'm seeing some issues with PDT alignment across main variant and audio playlists where the difference between PDT tags is -0.5 seconds compared to the media timestamps of segments and parts. Correcting this discrepancy may help with false starts where audio part selection is off by one. |
What do you want to do with Hls.js?
I want the best player configure with Hls.js to run low latency stream without stall, and correct bandwidth estimate.
What have you tried so far?
Here is our stream: https://llhls-demo.ovenmediaengine.com/app/stream/llhls.m3u8
Below is our current configure.
We are using Hls.js version 1.4.12.
The stream stalls often and the bandwidth estimate is very low.
The bandwidth is not correct, since with the same stream, when we change the configure to
lowLatencyMode: false
, the bandwidth sky rocket by a huge amount.I would be very grateful for the guidance with the best configure to improve the playback of the above low latency stream, without stall and correct bandwidth estimate.
Thanks,
The text was updated successfully, but these errors were encountered: