RESOLVED FIXED 245081
[MSE] Round SourceBuffer removal range
https://bugs.webkit.org/show_bug.cgi?id=245081
Summary [MSE] Round SourceBuffer removal range
Enrique Ocaña
Reported 2022-09-12 09:19:36 PDT
Representation of removal times as double in SourceBuffer::remove() can cause problems in HBOMax due to precision/rounding problems. In some problematic cases an unintended frame would be marked for removal because of the very small overlap that could come from precision lost. For instance, HBOMax uses the PTS of the next sample as removal 'end' and unexpectedly removes the next segment (as it's a sync frame) sometimes. Rounding the double removal range delimiters to nanoseconds would help to avoid those problematic cases.
Attachments
Enrique Ocaña
Comment 1 2022-09-12 10:00:14 PDT
EWS
Comment 2 2022-09-14 05:24:56 PDT
Committed 254472@main (2fc32818fdd2): <https://commits.webkit.org/254472@main> Reviewed commits have been landed. Closing PR #4266 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-09-14 05:25:20 PDT
Note You need to log in before you can comment on or make changes to this bug.