6

I am looking for a way to detect if the device I am using can support Dolby Atmos sounds.

After searching around I found this call.

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

navigator.mediaCapabilities.decodingInfo({
    type: 'file';
    audio: {
        // Determine support for Dolby Atmos by checking Dolby Digital Plus and spatial rendering.
        contentType: "audio/mp4; codecs=ec-3",
        spatialRendering: true,
    }
}).then(result => {
    // Do things based on results.
    console.log(result.supported);
    console.log(result.smooth);
    console.log(result.powerEfficient);
});

I guess this detects the codec the media was encoded with and if it support spatial audio.

Detecting the codec doesn't necessarily detect whether the system can support Dolby Atmos from what I understand the system needs to be connect to a receiver via a HDMI cable with arch support.

https://www.samsung.com/my/support/tv-audio-video/how-to-use-hdmi-arc-on-samsung-smart-tv/

The receiver needs to support multiple outputs to take the meta data sent from the codec parse through the HDMI arch and then the receiver knows which speaks to send the specific sounds too.

Something like this. https://www.richersounds.com/catalog/product/view/id/16007/s/denon-avcx8500h-black/

What reliable way is there to detect if your system will truly support Dolby Atmos whether its with a receiver or a Dolby Atmos compliant sound bar.

Any suggestions?

user1503606
  • 3,872
  • 13
  • 44
  • 78

1 Answers1

2

Detecting the codec doesn't necessarily detect whether the system can support Dolby Atmos

Correct.

What reliable way is there to detect if your system will truly support Dolby Atmos whether its with a receiver or a Dolby Atmos compliant sound bar.

Unfortunately, this undetectable from the browser.

The browser itself and even the OS doesn't always know what is downstream. Sorry for the bad news!

Brad
  • 159,648
  • 54
  • 349
  • 530
  • Thanks for the response. I guess the only way to do this then is to know that the media has been encoded with Atmos and inform the user or check for the number of audio tracks. Regarding the playback you will only get Atmos with a supported device soundbar or receiver that I guess can detect the number of audio channels and let you know if you are truly getting Atmos? The player I guess just passes to audio through to the Atmos device if accessible or plays back stereo if not? So only the soundbar or receiver can only really give a true response based on the number of channels and meta data? – user1503606 Dec 24 '21 at 09:24