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: 
RPW68
Visitor

Audio Issue/Bug on Firmware 7.5

The Following worked prior to upgrading to 7.5:


  m.audio = createObject("RoSGNode","Audio")
  m.audio.observeField("state","MyFunction")
  function MyFunction() as void
     print m.audio.state
  end function


When you sent a playlist to this, you would get a "buffering" and then "playing" event each time a new MP3 was played.  Since 7.5, you get the "buffering", "playing" as it initially starts but you don't get anything else.  I am pretty sure this breaks the audio example that is available although I haven't verified it.

A work around is to observe the contentIndex instead of the state and react when that changes (if you need to do something when the next item in the playlist is played).
0 Kudos