After seeing the deprecation notice for the roVideo* components, and having playback issues with HLS and DASH streams, I've been trying to slowly migrate my channel to use the Scene Graph Video element for playing videos rather than the roVideoScreen.
So, this means that I'm trying to integrate my existing channel's workflow with the Scene Graph API.
So, where I had previously called my function to create an roVideoScreen, I just replaced the function call with one that calls into my function to show the Scene Graph video. The problem is this:
I can only show the Scene Graph Video one time, and any attempts to show it again cause my channel to hang up.
I've checked the Scene Graph debugging information, and all nodes get cleaned up except for one, which leads me to think something in the Scene Graph application is not cleaning up completely.
I'm exiting the Scene Graph scene via the back button, and I'm getting the "scene closed" event from the MessagePort, so I'm assuming I'm "cleaning up" properly. Workflow:
BrightScript: User chooses video from roPosterScreen (works)
BrightScript: Create scene for Video and play video (works)
Scene Graph: Play video (works)
Scene Graph: Exit Scene back to BrightScript-land (works?)
BrightScript: User chooses another video from roPosterScreen (works)
BrightScript: Create scene for Video and play video (Locks up on calls into Scene Graph application
- Is the Scene Graph application intended to only be displayed once, and once the scene is exited, should not be shown again?
- Am I trying to use this improperly?
I'm trying to slowly migrate to all Scene Graph components since so much code has to be migrated over, and I thought it would be simpler to just "call-into" Scene Graph versus trying to migrate my entire channel at once.