[vorbis-dev] HTTP streaming / mime type

Philip Heron dragonsfire at lineone.net
Sat Jul 29 14:03:52 PDT 2000



>>
>>play to each plugin in turn, asking if they recognize it. the mpg123
>>plugin always says it can play anthing starting with "http://" and handles
>>the streaming from there.
>
>Couldn't someone just change the mpg123 plugin so that it checks the
>extension first then check for http://
>

Not all URLs contain a filename, many servers are setup to stream the mp3
data as the default file - in the same way most servers send 'index.html'.

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.

 Phil

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



More information about the Vorbis-dev mailing list