[icecast-dev] Howto recieve a header or something for icecast stations

Michael Smith msmith at xiph.org
Wed Apr 14 19:11:58 PDT 2004



On Thursday 15 April 2004 07:20, Frank wrote:
> Hi,
>
> Sorry for my newbie question, but I can not find it documented anywhere and
> I am too lazy to browse other peoples code :-).
> I want to implement shoutcast/icecast listening support for my app. It did
> not seem to be any problem with shoutcast, but playing around with some
> icecast stations tonight I found that I am not able to receive any
> plaintext headers when first opening a stream. Some ogg stations present
> metainfo in the ogg format when connecting with which is fine for me, but
> some stations do not present any info at all. They start with the raw mp3
> or ogg data. No header nothing. So can you please advice me what I am doing
> wrong? Is there a special request I need to send to get something like a
> header from the icecast server? Is there a document that explains the
> client request handling? Thank you and regards
>

You will always receive HTTP headers when you connect, never just the raw 
bitstream. Perhaps you're doing something else wrong - icecast cannot ever do 
this.

For listening clients, icecast is pure HTTP - you don't need any special 
protocol support.

Mike

--- >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 mailing list