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
1 REPLY 1
tsornin
Channel Surfer

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

Did you ever find a solution? I'm having the same problem - timedMedatata is always empty / the observer function is never called. And this is on a stream that I KNOW has metadata.

 

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.