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: 
adamkaz
Channel Surfer

BUG: getDisplayProperties returning incorrect HDR value

I've noticed on my Roku Ultra (4640X, 8.0.1 build 4042-29), when set to "4K HDR 30Hz TV" the suggested hdr10 property returns false. When set to 60Hz, it returns true. 



Function canPlayHDR() as Boolean
  dev_info = createObject("roDeviceInfo")
  return dev_info.getDisplayProperties().hdr10
End Function



I believe both these modes should return true. Am I missing something here?
0 Kudos
1 REPLY 1
coopdaddyswag
Binge Watcher

Re: BUG: getDisplayProperties returning incorrect HDR value

I am getting something similar. Trying to detect SD vs HD and I keep receiving HD. Did you figure out a solution?
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.