[vorbis-dev] HTTP streaming / mime type

Anthony Arcieri bascule at holly.ColoState.EDU
Sun Jul 30 16:43:07 PDT 2000



> The only way to check would be with the MIME type or give each plugin
> the first few kbytes of the stream and see which one can decode the
> audio.

The media architecture I'm developing tests for which codec to use using
leading context, either by magic numbers or by an identification function.
This leading context is buffered until a positive match has been made, at
which point the buffered data is passed on to the proper module.

On a similar note, I was wondering if anyone could think of a case where a
fixed amount of leading context would be unworkable for identifying a
stream.

Tony Arcieri

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/



More information about the Vorbis-dev mailing list