-
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
BW estimator is sometimes called with missing stats for LL-HLS #3578
Comments
This is still an issue in RC4. I suspect it is related to the parser blocking here: hls.js/src/controller/buffer-controller.ts Line 472 in 9e13e30
If you look at the traffic, you will see that ABR controller It is unclear what the reasoning was to include the parsing time, from the original commit. |
@kanongil let me know if you are still seeing this in the latest release. I have not been able to reproduce this recently. Adding a |
…ents and higher TTFB Fixes video-dev#3578 (special thanks to @Oleksandr0xB for submitting video-dev#4283) Fixes video-dev#3563 and Closes video-dev#3595 (special thanks to @kanongil)
* Improve bandwidth estimation and adaptive switching with smaller segments and higher TTFB Fixes #3578 (special thanks to @Oleksandr0xB for submitting #4283) Fixes #3563 and Closes #3595 (special thanks to @kanongil) * Load rate and loaded delay calculation fixes * Convert ttfbEstimate to seconds * Include main variant init segments in TTFB sampling * Use ttfb estimate in abandon rules down-switch timing
* Improve bandwidth estimation and adaptive switching with smaller segments and higher TTFB Fixes #3578 (special thanks to @Oleksandr0xB for submitting #4283) Fixes #3563 and Closes #3595 (special thanks to @kanongil) * Load rate and loaded delay calculation fixes * Convert ttfbEstimate to seconds * Include main variant init segments in TTFB sampling * Use ttfb estimate in abandon rules down-switch timing
There is a problem with the consistency of the bandwidth reporting.
The issue seems to be related to level switches (maybe due to aborts??).
What version of Hls.js are you using?
1.0.0-rc3
What browser and OS are you using?
macOS Chrome
Test stream:
https://stream.sob.m-dn.net/live/sb1-ll/index.m3u8
Checklist
Steps to reproduce
hls.js/src/utils/ewma-bandwidth-estimator.ts
Line 36 in f3e2e99
Expected behavior
All passed sample contain actual data, and not zeroes.
Actual behavior
Sometimes samples contain
numBytes = 0
and seriously wrongdurationMs
(ex. 629418.165).Example of a LoadStats used to compute the supplied values:
The text was updated successfully, but these errors were encountered: