I want to make it clear before you start reading that I want to develop an app in android to use an 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 it 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 mentioned link, it works fine on local n/w but when I try to configure it with my shoutcast server, it gives error :
![UnknownHostException]
Is there any url based system to which if i will send a stream then it will get it and broadcast to my listeners? e.g. if I want to listen stream, i can use
http://xx.xxxxxxx.com:1234;stream.mp3
How I can establish a connection to server by login/password. I want to do similar to DSP Plugin as shown in image attached.
0 comments:
Post a Comment