Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
RPW68
Level 7

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