I created a service that uses android.media.MediaPlayer , it works fine with devices with 3.1+ and, as expected, does not fully work with older versions of Android like HTTPS and video streaming is not supported . No problem with local files.
What I want to do is use android.media.MediaPlayer for devices with 3.1 +, and I will need to create an alternative for others (the base SDK is 8, Android 2.2).
I found one useful article that I believe will not work for real-time streams (since it writes data to a file), and I'm not quite sure if this is a good approach for progressive HTTPS streaming.
I would like to use a limited size memory buffer; caching downloaded content and the ability to search for locations are not as important as being able to start playback in general. Unfortunately, there is no information that I could find regarding memory buffering for android.media.MediaPlayer or any native alternative to android.media.MediaPlayer .
So the question is, are there alternatives to android.media.MediaPlayer supporting a low-level data source (like a stream or buffer) or any other workaround for HTTPS and streams in real time? If nothing like this is part of the SDK 8+, there might be an open source fork project.
Have a slightly similar question alternative android media player? , it requests those functions that I do not need, and does not request the functions I need.
source share