← Back to release summary

MediaCapabilities: query spatial audio with decodingInfo()

Category
Miscellaneous
Type
New or changed feature
Status
In development (Chrome In development)
Intent stage
Start prototyping

WPT details: TBD

Summary

Adds APIs for detecting whether spatial audio formats, i.e., Dolby Atmos and DST:X, can be rendered. Spatial audio rendering describes the UA's ability to to render spatial audio to a given output device; it can be used in conjunction with the stream's mime type to determine support for a specific spatial audio format.

Motivation

To detect spatial audio support, online content providers need to know 1) whether the client can decode the codec to which the spatial audio format is tied, i.e., Dolby Digital Plus for Dolby Atmos, and 2) whether the client's audio device can render spatial audio.Today, online content providers can query decoding but not rendering. This API allows sites to do the latter and enables the following: - Capable clients enjoy high-end media playback experience. - Otherwise, spatial content does not get served to preserve network bandwidth and, potentially, playback quality.

Standards & signals

Ecosystem

Docs: https://github.com/w3c/media-capabilities/blob/master/explainer.md#spatial-audio

Explainers: https://github.com/w3c/media-capabilities/blob/master/explainer.md#spatial-audio

View on chromestatus.com