[icecast-dev] Writing a client
Michael Smith
msmith at xiph.org
Sun Feb 9 14:12:31 PST 2003
On Monday 10 February 2003 06:11, Martin C. Martin wrote:
> Hi,
>
> I need to write an Icecast client, it seems pretty straight forward: open
> up an HTTP connection, send the request, strip off the header and send the
> rest to the ogg vorbis decoder. My only question is: how does the server
> know or not know when a client is behind? Should my client only read from
> the socket when its buffer isn't full? Or is there some other mechanism?
> What would happen if I read continuously, dropping data that doesn't fit
> in my buffer?
>
Icecast will only send data at an appropriate rate - one second of audio data
per second. So you can just rea all the time.
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