Bug 264799

Summary: [MSE] SourceBufferPrivate::didUpdateFormatDescriptionForTrackId can run out of order.
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: 253789    
Bug Blocks:    

Jean-Yves Avenard [:jya]
Reported 2023-11-14 00:38:22 PST
In bug 253789, didUpdateFormatDescriptionForTrackId was added as a callback to the SourceBufferParser . However, processing the TrackInfo, which should always be after we've parsed the initialisation segment can actually before as it's not added to the SourceBufferPrivate::operationQueue but instead is run immediately. If it happens that the initialisation segment hasn't been parsed yet, we end up disabling the track instead.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-11-14 00:39:03 PST
Jean-Yves Avenard [:jya]
Comment 2 2023-11-14 00:49:26 PST
Jean-Yves Avenard [:jya]
Comment 3 2023-11-14 03:15:33 PST
EWS
Comment 4 2023-11-14 03:52:15 PST
Committed 270703@main (49ba5f074748): <https://commits.webkit.org/270703@main> Reviewed commits have been landed. Closing PR #20469 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.