NEW 230443
[MSE] SourceBufferWebMParser should ignore segment length
https://bugs.webkit.org/show_bug.cgi?id=230443
Summary [MSE] SourceBufferWebMParser should ignore segment length
Jean-Yves Avenard [:jya]
Reported 2021-09-18 07:58:30 PDT
STR: - Load https://jyavenard.github.io/htmltests/tests/mse_webm/big.html - this pages loads 5MB of webm at a time, until an exception occurs due to the source buffer throwing a QuotaExceededError Results: 10801: SourceBuffer buffered ranges grew from TimeRanges: [0.007, 545.109) to TimeRanges: [0.007, 550.11) 10801: Loading buffer: [0, 888286) 10999: got error event 10999: ok(false) should not fire 'error' event 10999: SimpleTest.finish Expected: QuotaExceededError should be caught and it should display the maximum size of a source buffer. When this happens, the video element throws a fatal error. SourceBuffer QuotaExceededError shouldn't be a fatal error.
Attachments
Radar WebKit Bug Importer
Comment 1 2021-09-18 07:58:50 PDT
Jean-Yves Avenard [:jya]
Comment 2 2021-09-20 06:31:19 PDT
This issue occurs because the page keeps loading the content in a loop. The initial WebM Segment contains a set length. libwebm errors when it sees content further than the initial segment length. We should ignore that length as both Firefox and Chrome are doing.
Ahmad Saleem
Comment 3 2023-09-20 03:08:44 PDT
@jya - Seems to load fine in STP178, is it fixed?
Note You need to log in before you can comment on or make changes to this bug.