ekortright
10 years agoVisitor
Screensaver crashes app playing audio on v. 7
We have an app that plays live audio streams, among other things.
Before the upgrade to version 7, one could start the playback and then when the screensaver came on, the sound would continue to play while the screensaver displayed the moving image.
Now, when the screensaver comes on, the app crashes. I can see from the debugger that an event is fired (type roSpringboardScreenEvent; msg.isScreenClosed() returns true). The audio stops playing, there is a lot of flicker (rapid alternation between the screensaver screen and the home screen), and after the screensaver is running if you press a remote button to interrupt the screensaver you can see that we are no longer in the app, but at the home screen.
We have been forced to tell our listeners to disable their screensaver, but we would prefer not to do that to avoid burn-in issues on older screens.
I have tried side-loading the sample "audioapp" after modifying it to use our stream's URL. The screensaver works without any problems and the audio continues to play in that case. The debugger shows no events fired at all as the screensaver comes on.
Is there anything I can try or debug to see what could be causing this behavior on our app? I suspect that the screen close event is actually fired after the app has stopped, so at that point it would be too late to use the debugger to find out what has happened.
This happens on both Roku 2 XS and Roku 3.
Thanks for any help you can give us.
Before the upgrade to version 7, one could start the playback and then when the screensaver came on, the sound would continue to play while the screensaver displayed the moving image.
Now, when the screensaver comes on, the app crashes. I can see from the debugger that an event is fired (type roSpringboardScreenEvent; msg.isScreenClosed() returns true). The audio stops playing, there is a lot of flicker (rapid alternation between the screensaver screen and the home screen), and after the screensaver is running if you press a remote button to interrupt the screensaver you can see that we are no longer in the app, but at the home screen.
We have been forced to tell our listeners to disable their screensaver, but we would prefer not to do that to avoid burn-in issues on older screens.
I have tried side-loading the sample "audioapp" after modifying it to use our stream's URL. The screensaver works without any problems and the audio continues to play in that case. The debugger shows no events fired at all as the screensaver comes on.
Is there anything I can try or debug to see what could be causing this behavior on our app? I suspect that the screen close event is actually fired after the app has stopped, so at that point it would be too late to use the debugger to find out what has happened.
This happens on both Roku 2 XS and Roku 3.
Thanks for any help you can give us.