Skip to content

No metadata event on OGG streams #41

@westjgames

Description

@westjgames

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:

res.on("metadata", function(metadata) {
  console.log('Got Metadata')
}

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().

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions