Bug 310845

Summary: [MSE][GStreamer] Advertise AC4 in systems supporting it
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: WebKitGTKAssignee: Alicia Boya García <aboya>
Status: NEW    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Alicia Boya García
Reported 2026-03-26 16:09:57 PDT
This patch enables Dolby AC-4 support in systems that have a GStreamer decoder that supports it. As of writing AC4 support is still not mature in desktop but it is present in some set top boxes. The changes involve adding support for the MIME type and codec strings in MSE and whitelisting the caps in WebKitThunderDecryptorGStreamer. The codec string is also checked for format correctness and presentation version support. Unfortunately, as of writing the existing GStreamer decoders don't have a established way of querying AC-4 support levels in a fine grained manner. This patch will accept codec strings for presentation version 1. Presentation version 1 is the minimum version supported by bitstream version 2, which is the only bitstream version that is part of the current Dolby AC-4 Kit (1.5) test signals. This combination is also the only one supported in CMAF according to the current version of the AC-4 spec (ETSI TS 103 190-2 V1.3.1, 2025-07). This is understood to be a reasonable baseline for what is commonly supported for a contemporary AC-4 decoder. It is possible however that in the future we need to add support for e.g. environment variables to further customize support level, assuming that by then there is still no way of querying the support level from WebKit. Original author: Andrzej Surdej <Andrzej_Surdej@comcast.com> See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1641
Attachments
Alicia Boya García
Comment 1 2026-03-26 16:10:52 PDT
Note You need to log in before you can comment on or make changes to this bug.