Bug 259397

Summary: [MSE] Fix removal of samples being replaced
Product: WebKit Reporter: Enrique Ocaña <eocanha>
Component: MediaAssignee: Enrique Ocaña <eocanha>
Status: NEW ---    
Severity: Normal CC: calvaris, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Enrique Ocaña 2023-07-21 09:56:54 PDT
During replacement of buffered range, SourceBuffer may fail to remove some samples if its PTS falls in "contiguousFrameTolerance" gap introduced in https://bugs.webkit.org/show_bug.cgi?id=190085.

The problem can be seen with this test https://emutavchi.github.io/tests/mse/mse_sample_replacement_test.html and instrumentation on WebKit side that logs the append number for each sample: https://github.com/emutavchi/WebKitForWayland/commit/8d272af173a4ba23a0922949a02d0c7f79339158
Comment 1 Enrique Ocaña 2023-07-21 10:20:56 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15986
Comment 2 Radar WebKit Bug Importer 2023-07-28 09:57:18 PDT
<rdar://problem/113039128>
Comment 3 Xabier Rodríguez Calvar 2023-07-31 04:00:37 PDT
*** Bug 259390 has been marked as a duplicate of this bug. ***