Answer the question
In order to leave comments, you need to log in
Android audio stream download?
There is a task to play a stream on an Android device that is broadcast from an ip address.
I used standard tools and player:
mediaPlayer.setDataSource(url);
mediaPlayer.prepare()
mediaPlayer.start();
Answer the question
In order to leave comments, you need to log in
I think for these purposes it is better to use a specialized library BASS Audio Library . MediaPlayer thing is almost unmanageable. The BASS version for Android is downloaded here . Inside the archive there is an example called NetRadio. There is also GStreamer , but it is very large and harder to use.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question