: : Hi all
: : I would like to capture the online strameing audio and do some process over it.To do that I would like to know how i could capture the online streaming audio.If there is any available example C programs to do that?
: : How can I do it?
: : Need Help.
: : t.senthil
: I think you only have to open a socket to the right place and it will stream the audio to you.
You have to send some plaintext message too. I`ve done this, but I can`t exactly remember what to send. Use Ethereal (www.ethereal.com) to capture packets and then have your favourite media player stream a station, then watch the traffic and try to imitate what the player sends. You only have to worry about sending an initial message, the server will take care of the rest. The server will send mp3 (or whatever format is chosen) data with some station information every 16000 bytes or so, until you close the connection.