[icecast-dev] Ogg response headers
Dave St John
dstjohn at mediacast1.com
Wed Dec 3 23:17:56 PST 2003
Ok i got a few questions
when a client connects (winamp) what are the incoming headers icecast looks for to signify what type(ogg or mp3) of stream the client is requesting?
(for shoutcast winamp sends icy-metadata:1)
shoutcast server then recognizes its a player capable of streaming media so it sends the icy-metaint:8192 to winamp, along with a slew of other icy headers.
o here is my dilema
example php code
fwrite($sp,"GET /my_mp3 HTTP/1.0\nUser-Agent:Secret stuff alpha\nicy-metadata:1\n\n");//works with winamp when requested via php script
fwrite($sp,"GET /example.ogg HTTP/1.0\nUser-Agent:Secret stuff alpha\n\n"); //will not work in winamp when requested via php script
diff highlighted in blue.
any ideas./help would be appreaciated.
<p><p>Dave St John
<p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the Icecast-dev