Bug 265778 - [MSE] Remove need for SourceBufferPrivate to query MediaSource duration
Summary: [MSE] Remove need for SourceBufferPrivate to query MediaSource duration
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: 264134
  Show dependency treegraph
 
Reported: 2023-12-03 21:55 PST by Jean-Yves Avenard [:jya]
Modified: 2023-12-04 15:13 PST (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-12-03 21:55:56 PST
The SourceBufferPrivate currently queries the MediaSourcePrivate to get the media element duration. We want to avoid that as they may not be running on the same thread.
Comment 1 Radar WebKit Bug Importer 2023-12-03 21:56:26 PST
<rdar://problem/119114938>
Comment 2 Jean-Yves Avenard [:jya] 2023-12-03 22:33:23 PST
Pull request: https://github.com/WebKit/WebKit/pull/21256
Comment 3 EWS 2023-12-04 15:13:34 PST
Committed 271514@main (adb77f8a601c): <https://commits.webkit.org/271514@main>

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