Thanks to all of you in advance :)
I want to make it clear before you start reading that I want to develop an android based app to use android device as a broadcaster, which records sound using its mic and sent it to shoutcast server something like this:
Android Device with internet connection -> Shoutcast Server -> listeners.
So please do not get confused with playing shoutcast streams on android, because I do not want to develop a player to play an stream. If you are looking for developing a player then download source code from given link, it worked fine for me. Click to download Source code.
Now back to my question, I googled a lot in last two weeks and found This article, which helped me to use builtin mic of android device and stream over a local network. One can listen the stream using VLC.
But I want to send up-stream to my shoutcast server same as one can use winamp with DSP plugin and the problems are:
If I use the code from above This link, it works fine on local n/w but when I try to configure it with my shoutcast server, it gives error :
![UnknownHostException]
in log of eclipse.Is there any url based system on shoutcast server, to which if I will send a stream then it will get the stream and broadcast to my listeners? e.g. if I want to listen stream (down streaming), i can use
http://xx.example.com:1234;stream.mp3
and I am asking for up-streaming.How I can establish a connection to server by login/password. I want to do similar to DSP Plugin as shown in image attached.