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: 
bbonet-entercom
Binge Watcher

Concrete Example of ID3 Data from HLS Audio in Audio Node?

I'm using this as a guide https://developer.roku.com/en-ca/docs/references/scenegraph/media-playback-nodes/audio.md

My set up code is like this:

function init()
  m.top.id = "AudioPlayer"
  m.metadataTimer = m.top.findNode("metadataTimer")
  m.player = m.top.findNode("player")
  m.player.notificationInterval = 1
  m.metadataTimer.observeField("fire", "timedMetaDataChanged")
  m.player.timedMetaDataSelectionKeys = [""]
end function

I'm playing an hls audio stream over the internet.

I've set a timer above and also tried 

m.player.observeField("timedMetaData", "timedMetaDataChanged")
 
timedMetaData is always invalid. 
 
I've found some tidbits here but these did not work. I'm posting some code this time.
 
Thanks!
Brent
0 Kudos