Bug 254209

Summary: Have RemoteMediaSourceProxy keep a mirror of the MediaSource's buffered range.
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=253560

Description Jean-Yves Avenard [:jya] 2023-03-21 05:05:49 PDT
Currently the method remotemediasourceproxy::buffered() isn't implemented (it was removed in bug 253560 as its implementation was completely broken).

It is necessary for the MockMediaPlayerMediaSource to have access to the MediaSource buffered range so that it can control how time advances during playback.

We need to add methods that will allow to keep the MediaSource and RemoteMediaSourceProxy buffered range in sync.
Comment 1 Radar WebKit Bug Importer 2023-03-21 05:06:10 PDT
<rdar://problem/106990497>
Comment 2 Jean-Yves Avenard [:jya] 2023-03-21 05:24:29 PDT
Pull request: https://github.com/WebKit/WebKit/pull/11755
Comment 3 EWS 2023-03-22 04:50:00 PDT
Committed 261957@main (6daa61939b71): <https://commits.webkit.org/261957@main>

Reviewed commits have been landed. Closing PR #11755 and removing active labels.