Bug 260520

Summary: [GStreamer] Set audio track ID to stream value in regular playback
Product: WebKit Reporter: Enrique Ocaña <eocanha>
Component: MediaAssignee: Enrique Ocaña <eocanha>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Enrique Ocaña 2023-08-22 08:18:28 PDT
Some web application code needed for HbbTV certification of a commercial device needs that the actual track IDs provided to JavaScript when playing regular video match those muxed into the media container. Currently, those track IDs are synthesized as A1, A2, A3... and V1, V2, V3...

Note that the implementation of this feature for MSE is out of the scope of this bug.
Comment 1 Enrique Ocaña 2023-08-22 08:24:12 PDT
See:
https://github.com/WebPlatformForEmbedded/WPEWebKit/issues/1088 (issue description)
https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1109 (initial implementation using non-main thread)
https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1138 (alternate implementation using main thread)
https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1104 (proposed implementation for MSE, not upstreamable in its current state)
Comment 2 Enrique Ocaña 2023-08-22 08:41:58 PDT
Pull request: https://github.com/WebKit/WebKit/pull/16930
Comment 3 EWS 2023-09-20 05:00:58 PDT
Committed 268194@main (b75003098300): <https://commits.webkit.org/268194@main>

Reviewed commits have been landed. Closing PR #16930 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2023-09-20 05:01:15 PDT
<rdar://problem/115778669>