Open phloxic opened 2 years ago
Hey! We've detected some video files in a comment on this issue. If you'd like to permanently archive these videos and tie them to this project, a maintainer of the project can reply to this issue with the following commands:
The problem can be narrowed down to AES-128 encrypted fmp4 (single file) with byte-range requests.
AES-128 encrypted fmp4 segmented into actual m4s files seem to work, but break easily on quick resolution changes (e.g. manually or by going fullscreen).
The issue is caused by init segments whose byte-range is not divisible by 4, e.g.
#EXT-X-MAP:URI="108p.mp4",BYTERANGE="799@0"
However, this is allowed for init and iframe segments: https://datatracker.ietf.org/doc/html/draft-pantos-hls-rfc8216bis-08#section-6.3.6 See also how this was solved in hls.js: https://github.com/video-dev/hls.js/pull/4941
facing the same issue. Can this be fixed soon?
Description
The problem can be reproduced in the netlify demo
The same stream plays fine in macOS Safari when overrideNative is turned off. – Disclaimer: Did not test on iOS. There was/is also a bug in some Safari versions (ca. 13.x, 14.x?), but it seems to be fixed.
Sources
As per description, only AES-128 encrypted fmp4.
Steps to reproduce
Explain in detail the exact steps necessary to reproduce the issue.
Results
Expected
Stream should play like in native HLS.
Error output
This is the error in Chrome:
videojs-http-streaming version
videojs-http-streaming 2.15.0 -- did it ever work?
videojs version
video.js 7.21.0 -- did it ever work?
Browsers
All browsers I could get hold of on macOS 10.15.7
Platforms
macOS 10.15.7 and Android
Other Plugins
No other plugins.
Other JavaScript
None.