bbonet-entercom
Binge Watcher
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2021
12:22 PM
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
Brent
1 REPLY 1
tsornin
Channel Surfer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024
06:54 PM
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.