Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Ajith1
Channel Surfer

Changing Roku Audio HDMI value affects the CanDecodeAudio() function.

Hi All,

I have connected my Roku Stick to a normal LG Monitor with no inbulit or external speakers attached.
When i checked the Audio HDMI settings it shows Auto detect, Detected:Stereo . And when i run the code

CanDecodeAudio({"codec":"eac3"}).result

returns me false .
Now when i change the Audio HDMI settings to Dolby Digital Plus, and run the same code it returns me true . This is very confusing. Wasn't it that only some model of Roku Ultra and Roku TV support native decoding of DD+ ?. Why does my Roku Stick says it can decode DD+ ? Is it not a passthrough device?
Am i misunderstanding the api meaning CanDecodeAudio() . Please let me know

Thanks

0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.