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
Video Glitches with Fetch Loader #3747
Comments
|
That's exactly what I've hoped to avoid ;-) I suppose you're currently the only one who knows how it works in detail? |
@johnBartos did a lot of the initial work. The changes over the last year and decision to mark it experimental came with the shift from LHLS to LL-HLS (away from Chunked Transfer in favor of the updated HLS spec) and the passing of the torch to me.
Well if you can be bothered to take a look, here are some pointers: The fetch loader's hls.js/src/loader/fragment-loader.ts Line 12 in b0fa62d
The "progressive" streamed partials go through
The transmuxer is where it gets tricky since the path changes with hls.js/src/demux/transmuxer.ts Line 81 in f20e155
|
Thanks a ton for the comprehensive reply. This is very helpful and time-saving. Basically, I'll need a combination of post-alpha1 and current version. alpha1 didn't swallow any video data but starts by playing video for 1-2s, then hangs for 1-2s and then plays normally. The release version doesn't do this, but "swallows" some video data. Maybe it can be approached from the change history instead - I'll have to see.. Thanks again! |
@softworkz np and sorry for the regressions there. Let me know if you have questions about diffs in any of those areas. One big change that happened late in the beta/rc period was that I noticed the pipeline was still splitting segments into two appends when progressive was disabled (push always left a little something for flush 🤮). This was really important to fix for the default playback path and the progressive path may have been impacted as a result. The history on tsdemuxer/mp4-remuxer or mp4-passthrough (depending on whether you're looking at ts or fmp4 streams) will highlight some of that work. Isolating the issue to a commit and hosting the sample stream would go a long way to making this easier for me to troubleshoot. |
OK, great! I'll try to get to that point and let you know how far I get.. |
What version of Hls.js are you using?
1.0.0
What browser and OS (including versions) are you using?
Chrome 89, Win 10
Test stream:
HLS Test Stream as ZIP:
https://github.com/softworkz/hlstestfiles/releases/tag/2.0
Configuration:
Without Fetch Loader
With Fetch Loader
Checklist
Steps to reproduce
Examples
History
The last version where it has been working is 1.0.0 alpha1.
From then on, it became continuously worse:
Please let me know when you need more information!
The text was updated successfully, but these errors were encountered: