Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
7thsky
Level 7

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
EnTerr
Level 9

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