android-openslmediaplayer
android-openslmediaplayer copied to clipboard
Streaming Music with HTTPS Source
HI,
I am using openslMediaplayer into my Music Application in Android. If I trying to streaming a song (from https url), is not start to play.
Please help me out
Hi. Unfortunately network source audio playback won't work on Android 5.0 or later. It may be a bug (or... I guess it's even an undocumented limitation) of the Android's OpenSL implementation.
Related issues:
- #9
URI data locator
OpenSL ES for Android can only use the URI data locator with MIME data format, and only for an audio player. You cannot use this data format for an audio recorder. It supports http: and file: schemes. It does not support other schemes, such as https:, ftp:, or content:.
We have not verified support for rtsp: with audio on the Android platform.
[https://developer.android.com/ndk/guides/audio/opensl-for-android.html]
@sujewan Hi. This library do not use audio recorder and still not able to play http protocol data source (on lollipop or later). I believe it is a bug of Android platform because Google's official ndk-audio app also cannot play any files over the internet.
I would like to ask if this library currently supports streaming music over the internet?