[icecast] intended login protocol for icecast2

Michael Smith msmith at labyrinth.net.au
Wed Aug 21 10:16:44 UTC 2002

At 10:23 PM 8/18/02 -0500, you wrote:
>well, don't get me wrong, I am not generally opposed to progress, but 
>speaking as a coder of source clients, providing yet another authentication 
>mechanism is a bit frustrating....
>I guess it wasn't too bad having to deal with Shoutcast/Icecast/Icecast2 
>specific connection protocols (yes they are ALL different!) but I am NOT 
>going to support Shoutcast/ICecast/Icecast2 (ICE Login)/Icecast2 (HTTP 
>Basic Auth)/Icecast2 (HTTP Digest)...
>now probably the correct answer to this is to get libshout to do all this 
>connection song-and-dance....but in order for *me* to use it, it must at 
>least support :
>- Connection protocols for Shoutcast/Icecast/Icecast2 (all variants)
>- Metadata updates for all server types (this *includes* inserting the 
>metadata into the vorbis stream for icecast2 *and* Shoutcast style metadata 

Sorry, I forgot to reply to this the other day...

You're right that it doesn't provide all the metadata stuff that you
might want - but don't let that by itself be a reason to stop you from
using libshout. libshout can be used in two ways - as a complete solution
for the entire protocol (for which it is somewhat limited, as you note),
or _just_ for login. 

After login, you can just use shout_send_raw() (I think that's what 
the function is called - something like that, anyway) to send a buffer
directly to the socket. This is what ices2 does, for example. 

This lets the login protocols (which are, I agree, quite excessively
varied) be abstracted out behind a single interface, but still give
you all the control you want for the actual stream (for which you
obviously already have code).


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