Bug 264142

Summary: Move duplicated methods from MediaSourcePrivate/SourceBufferPrivate to base class
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   
Bug Depends on:    
Bug Blocks: 264134    

Description Jean-Yves Avenard [:jya] 2023-11-02 23:40:24 PDT
sub-task of bug 264134

We have three MSE implementations in our tree:
- Cocoa/AVFObjC
- Mock
- GStreamer

In a lot of instances, all three duplicates the same code. It makes it harder to maintain and too easy to introduce discrepancy between the three implementations.

Let's move to their respective base classes what can be moved.
Comment 1 Radar WebKit Bug Importer 2023-11-02 23:40:58 PDT
<rdar://problem/117892834>
Comment 2 Jean-Yves Avenard [:jya] 2023-11-02 23:48:52 PDT
Pull request: https://github.com/WebKit/WebKit/pull/19937
Comment 3 EWS 2023-11-07 14:52:10 PST
Committed 270354@main (e25a76a60507): <https://commits.webkit.org/270354@main>

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