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: 
ionatan
Roku Guru

Check mode HD or SD

How we can check if roku is on HD mode or in SD mode, because in HD mode I want to use one screen style, and for SD version another style.
0 Kudos
2 REPLIES 2
TheEndless
Channel Surfer

Re: Check mode HD or SD

The roDeviceInfo component has this information:
String GetDisplayType(Void)
  • Returns the text corresponding to the button selection in the Player Info
    Settings/Display Type page. Either “HDTV”, “4x3 standard”, or “16x9 anamorphic”

String GetDisplayMode(Void)
  • Returns “720p” or “480i”
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
destruk
Streaming Star

Re: Check mode HD or SD

I'll need to try this on Roku2 and see if it makes any difference since some users reported their tv always says 1080p no matter what they set on the Roku2.
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.