never fires, unless the stream is MP3, and then we get all the nice happy console.logs!
I'm considering attaching a method to get metadata events externally (they're needed to build a FFMPEG Chapter file for the recorded data), but we liked the way that we got the metadata when we used MP3. Unfortunately, being able to write the file directly to OGG, without transcoding, is more important in our use case.
If you can figure out an alternative way to get the stream metadata, it'd be greatly appreciated. Otherwise, we'll likely be polling the Icecast with setTimeout().
Some Icecast OGG streams do not create icy metadata events.
Stream: https://next.fillyradio.com:8000/vbr_ogg
Whilst audio streaming works great, this particular block:
never fires, unless the stream is MP3, and then we get all the nice happy console.logs!
I'm considering attaching a method to get metadata events externally (they're needed to build a FFMPEG Chapter file for the recorded data), but we liked the way that we got the metadata when we used MP3. Unfortunately, being able to write the file directly to OGG, without transcoding, is more important in our use case.
If you can figure out an alternative way to get the stream metadata, it'd be greatly appreciated. Otherwise, we'll likely be polling the Icecast with
setTimeout()
.