Forum Discussion
EnTerr
10 years agoRoku Guru
"kmayur" wrote:if somebody from Roku replied, i think fair answer would be "nunya business" 🙂
1) How does video rendering happens in Roku? Does it use double buffering logic? Is there any difference in rendering logic for 4K OR 60fps compare to other resolutions/fps?
Video player keeps multiple decoded frames at a time but that's not related to "double buffering logic".
2) Do I need to provide any extra parameters/flags to player if the stream is 4K OR 60fps?Try first - ask if it doesn't work. (Welcome to Roku world!)
3) As I mentioned, the sample application uses "roImageCanvas" for user interface. I am not sure whether the player also uses it internally for rendering. In SDK documents, I found "roScreen" component which is used in gaming application and there is an optional flag to enable double buffering. Can I use "roScreen" with player? Will replacing "roImageCanvas" with "roScreen" help to render @ 60fps?No, roScreen will not change your streaming vs roImageCanvas. Video rendering is done on a different plane, which is underneath (z-order) these two.