belltown
15 years agoRoku Guru
roAudioPlayerEvent undocumented event type 10
I'm using roAudioPlayer to play an MP3 stream. If the audio stream is interrupted, an event of type 10 is raised. There is no documentation under roAudioPlayer in the 2.9 or 3.0 SDKs for this event type. There is, however, an event type of isRequestInterrupted (type 10), but that is only documented for the roSlideShowObject.
Is it safe to assume that this is a valid event for roAudioPlayer, just an omission from the documentation? I plan to use this event to detected an interrupted audio stream and restart the stream automatically. My code for this seems to work okay. I just want to make sure I'm not using an undocumented feature that may be removed in a future release.
Is it safe to assume that this is a valid event for roAudioPlayer, just an omission from the documentation? I plan to use this event to detected an interrupted audio stream and restart the stream automatically. My code for this seems to work okay. I just want to make sure I'm not using an undocumented feature that may be removed in a future release.