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: 
7thsky
Visitor

Scene Graph Scene dimension.

Hi All,

My situation:

In manifest
ui_resolutions=fhd


When I run this app on Roku Stick (3600X, Display set to 1080p, FW 7.2.0 4100-24). The scene rendered in 1080p.
How in code I get that scene rendered in FHD?

Trying this:

di = CreateObject("roDeviceInfo")
? di.GetDisplaySize()
' <Component: roAssociativeArray> =
' {
'     h:  720
'     w:  1280
' }

? di.GetUIResolution()
' <Component: roAssociativeArray> =
' {
'     height: 720
'     name: HD
'     width: 1280
' }



Marat
0 Kudos
1 REPLY 1
EnTerr
Roku Guru

Re: Scene Graph Scene dimension.

Seems to me FHD coordinates can be done genuinely only on 4k devices, see https://forums.roku.com/viewtopic.php?f=34&t=96953&p=541730#p541777

In other words, even if your device is configured and outputs 1080p (FHD) signal to the TV, your programmatic resolution remains 720 (HD) on the #3600 stick - which gets upscaled to FHD and multiplexed with video.

And then on a 4k device you can at best address 1920x1080, even as the signal output be 3840x2160.
0 Kudos