Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bug: No Port Notification on roAudioPlayer Resume

Wanted to check and see if any other developers are seeing this issue with roAudioPlayer.

Firmware Version: 4.1 build 1275

I can create the roAudioPlayer and start play, I get the expected startup status messages as such:

roAudioPlayerEvent: startup progress
roAudioPlayerEvent: startup progress
roAudioPlayerEvent: startup progress
roAudioPlayerEvent: startup progress
roAudioPlayerEvent: startup progress
roAudioPlayerEvent: start of play

However, if I Pause() the roAudioPlayer and then Resume() I'm not getting any more messages from the roAudioPlayer. Below is the code block I'm using to print the messages to the debug console.

			
if type(msg)="roAudioPlayerEvent" then
if msg.isStatusMessage() then
print "roAudioPlayerEvent: "; msg.GetMessage()
End if
End if


I don't have a unit with older firmware on it at the moment to test with, but I know that the status messages worked correctly in 3.0.
0 Kudos
1 REPLY 1
renojim
Community Streaming Expert

Re: Bug: No Port Notification on roAudioPlayer Resume

I reported that here: viewtopic.php?f=34&t=42106&start=0

Contrary to what Chris said, as of beta build 2655 the "start of play" status message still doesn't occur. You have to use isResumed().

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.