Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to detect if a device can play Dolby Atmos Sound with Javascript

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?

like image 639
user1503606 Avatar asked Dec 07 '21 15:12

user1503606


People also ask

How do I know if my device supports Dolby Atmos?

The one surefire way to confirm Dolby Atmos is working is to check the information panel on the front of your A/V receiver or your soundbar (if it has one, or perhaps an on-screen display). It should display the kind of audio signal it's currently working with.

Can my speakers play Dolby Atmos?

Dolby recommends at least four height speakers for the best result, and any speakers will do. Even better, you won't need a special Blu-ray player, since all current players support Dolby Atmos. Also worth noting is that all of your HDMI cables will work with Dolby Atmos as well.

What devices support Dolby Atmos sound?

Whether you are using a streaming device to browse content from Netflix or your smart TV, these devices must support Dolby Atmos sound. The same goes for your speakers or soundbar system.

How do I know if my TV has Dolby Atmos audio?

Next, tap About My System, then Scroll Down where you'll see the output format. Another way to confirm whether your TV is getting a Dolby Atmos audio signal in the first place it to try the TV remote's Info or Status buttons.

How do I enable Dolby Atmos without installing the app first?

However, if you try to enable this feature without installing the app first, Windows will prompt you to install the Dolby Access app from the Windows Store first. The Dolby Access app will allow you to test Dolby Atmos by playing a variety of videos that support Dolby Atmos audio.

What do I need to get Dolby Atmos?

You’ll need the Premium subscription plan which gives you access to Dolby Atmos and Ultra HD (4K) content. Whether you are using a streaming device to browse content from Netflix or your smart TV, these devices must support Dolby Atmos sound. The same goes for your speakers or soundbar system.


1 Answers

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!

like image 102
Brad Avatar answered Oct 25 '22 14:10

Brad