I'm interested in building my own source for a SHOUTcast server. I'm hoping to find detailed information how you use the SHOUTcast protocol to establish a stream from a source to the SHOUTcast server.
I found this article:
After reading it I understand how to prepare a server for an mp3 stream and how to update basic things like song titles. I may have missed something, but it doesn't seem to explain how you actually stream MP3 data to the SHOUTcast server.
The article says you send information ABOUT the stream by doign this:
icy-name:Unnamed Server\r\nicy-genre:Unknown Genre\r\nicy-pub:1\r\nicy-br:56\r\nicy-url:http://www.shoutcast.com\r\nicy-irc:...:N%2FA\r\n\r\n
I imagine that is some sort of header? Do you tack on the MP3 data to the end of the header?
Does anyone out there have this isnformation? I'd love to see an example of how you build your own source..regardless of the language. Psuedocode would be good enough.
Thanks for reading.