Bug 254209 - Have RemoteMediaSourceProxy keep a mirror of the MediaSource's buffered range.
Summary: Have RemoteMediaSourceProxy keep a mirror of the MediaSource's buffered range.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Jean-Yves Avenard [:jya]
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-21 05:05 PDT by Jean-Yves Avenard [:jya]
Modified: 2023-03-22 04:50 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.