Bug 314328

Summary: [GStreamer] Auto-detect USAC support via GStreamer registry
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: WebKitGTKAssignee: Alicia Boya García <aboya>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Alicia Boya García
Reported 2026-05-07 09:53:26 PDT
Add a check for USAC (xHE-AAC) codec support by probing the GStreamer registry for a decoder matching "audio/mpeg, mpegversion=(int)4, stream-format=(string)usac". The stream-format=usac caps field is not part of the standard GStreamer audio/mpeg caps definition, but some custom audio sinks advertise it, so it can be used as an indicator of USAC decoding capability. The WEBKIT_GST_CAN_PLAY_USAC environment variable still takes precedence as a manual override. See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1654 Original author: Andrzej Surdej (https://github.com/asurdej-comcast)
Attachments
Alicia Boya García
Comment 1 2026-05-07 09:56:54 PDT
EWS
Comment 2 2026-05-18 04:30:37 PDT
Committed 313407@main (818599ce23c9): <https://commits.webkit.org/313407@main> Reviewed commits have been landed. Closing PR #64475 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.