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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reel Rookie

How to Run CanDecodeVideo() method

Hello Sir

I Vansh Student and interested in Development. I have Roku Ultra device and already enabled Developer Settings in that device. Now I want to check the Video Codecs supported by the device. 

I runs a function CanDecodeVideo() but I am getting blank screen no output was display. Similarly this happen when I run GetSupportedGraphicsResolutions() as Object, GetDisplaySize() as Object. But when I runs GetModelDisplayName() as String, GetModelType() as String working fine gives me some output. 

Sir please tell me that how should I run CanDecodeVideo() such that I can get some relevant output. 

My Code Was this:

sub init()

di = CreateObject("roDeviceInfo")


infoPane ="infoPane")
infoPane.infoText = i
End sub

Thanks and Regards


0 Kudos