Play audio while streaming
Posted: 20 Oct 2014 20:23
I've been using LibVLC on Android, since a few days. Previously, I have used Android's MediaPlayer class for streaming mp3s and it worked fine. More importantly, it used to progressively stream and play audio simultaneously. LibVLC doesn't do that.
This is very important for me as I'm developing a Music app which streams audio and there's no point in waiting for the *whole* file to download, before you actually start playing. How do I go about this?
Currently I'm streaming two formats: mp3 (HTTP), m3u8 (HLS).
This is very important for me as I'm developing a Music app which streams audio and there's no point in waiting for the *whole* file to download, before you actually start playing. How do I go about this?
Currently I'm streaming two formats: mp3 (HTTP), m3u8 (HLS).