Bug 303433

Summary: AudioVideoRendererRemote should only serialise TrackInfo if it changes
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   

Jean-Yves Avenard [:jya]
Reported 2025-12-02 16:04:46 PST
The MediaSample's is fully serialised for every call to AudioVideoRenderer::enqueueSample Whenever a MediaSample is sent over IPC, it gets converted to a MediaSamplesBlock through `MediaSamplesBlock::fromMediaSample` ; a new TrackInfo object is created for each object we could re-use the previously converted one if nothing changed.
Attachments
Radar WebKit Bug Importer
Comment 1 2025-12-02 16:04:52 PST
Jean-Yves Avenard [:jya]
Comment 2 2025-12-15 00:16:33 PST
EWS
Comment 3 2025-12-16 23:34:10 PST
Committed 304579@main (7f582bce96ed): <https://commits.webkit.org/304579@main> Reviewed commits have been landed. Closing PR #55392 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.