Reputation: 818
I am using this audio_mode in SceneGraphDeveloperExtensions. It's playing fine.
But When I first played, It was playing fine. But When I pressed back once and the second time I tried to play, it' gave the -5 error code like the one below.
Does anyone know what was the solution for this?
Upvotes: 0
Views: 36
Reputation: 172
The error message indicates that you're trying to open a new Player instance when the previous one wasn't closed, which is forbidden on Roku. Roku allows only one Player instance at a time. To resolve this issue, you need to ensure that the previous Player is closed before opening a new one.
Here are the steps to ensure proper handling of the Player instance:
Upvotes: 0