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
LoadStats properties loaded and total is 0 for a download fragment when using FetchLoader #5050
Closed
3 of 5 tasks
Comments
ken-bam
added
Bug
Needs Triage
If there is a suspected stream issue, apply this label to triage if it is something we should fix.
labels
Nov 22, 2022
robwalch
added
Confirmed
and removed
Needs Triage
If there is a suspected stream issue, apply this label to triage if it is something we should fix.
labels
Nov 23, 2022
When |
robwalch
pushed a commit
that referenced
this issue
Nov 23, 2022
3 tasks
robwalch
added
the
Verify Fixed
An unreleased bug fix has been merged and should be verified before closing.
label
Nov 23, 2022
robwalch
removed
the
Verify Fixed
An unreleased bug fix has been merged and should be verified before closing.
label
Nov 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What version of Hls.js are you using?
1.2.7
What browser (including version) are you using?
Chrome 107.0.5304.110 (Official Build) (x86_64)
What OS (including version) are you using?
macOS Version 12.6.1(21G217)
Test stream
https://labs.bambuser.com/kristian/hlsjs/hlsjs_bug_report.html
Configuration
Additional player setup steps
Test page setup:
Checklist
Steps to reproduce
Stats: loaded: ' + 0 + ' total: ' + 0
log rows.Expected behaviour
The
LoadStats
loaded
andtotal
properties for a downloadedFragment
shall be > 0 bytes, also when configuration optionprogressive
istrue
, i.eFetchLoader
is used.What actually happened?
The
LoadStats
classloaded
andtotal
properties for any downloadedFragment
is 0 bytes.The 0 in
loaded
andtotal
seems to originate from thatloadProgressively
inFetchLoader
resolves to an emptyArrayBuyffer
here:hls.js/src/utils/fetch-loader.ts
Line 194 in 009ce03
stats.loaded
andstats.total
here:hls.js/src/utils/fetch-loader.ts
Line 136 in 009ce03
load
and effectively resets the currentloaded
andtotal
bytes downloaded.Console output
Chrome media internals output
No response
The text was updated successfully, but these errors were encountered: