I have been trying to debug an roAudioPlayer issue and I have finally been able to replicate it. It's due to setting the URL to a NON audio file. The AudioPlayer will realize this and print the error:
* This output is from the "audioapp" supplied by the SDK. I also tested with the example from
http://sdkdocs.roku.com/display/sdkdoc/roAudioPlayer and experienced the same crash/reboot.
AudioPlayer Status Event - startup progress
AudioPlayer Status Event - startup progress
AudioPlayer Status Event - startup progress
starting song: 0
AudioPlayer Status Event - startup progress
AudioPlayer Status Event - startup progress
AudioPlayer Status Event - startup progress
ignored event type: 20
ignored event type: 33
AudioPlayer Status Event - startup progress
AudioPlayer Status Event - Error parsing stream data.
failed to play song: 1
FullResult: End of Playlist
AudioPlayer Status Event - end of playlist
end of playlist (obsolete status msg event)
After it fails, the ROKU locks up and reboots.
Is this a bug or are we supposed to verify the AudioFile before we set the URL? If the later, how does one verify the URL is a valid audio file.
audioapp if needed:
http://rarflix.com/test/audioapp.zip- Once you load the app, go to MP3's and you will see a link for "Bad", "Good", "Empty". The bad/empty will reboot the roku