Skip to content
Advertisement

Tag: mediametadataretriever

MediaMetaDataRetriever.setDataSource return null

I’m trying to develop an application (Radio Stream) app, I want to get the details of the song that is playing on the radio for that MediaMetadataRetriever API but when i set my URL i get this error : java.lang.IllegalArgumentException at android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:71) at maa.myapp.MainActivity$PlayerTask.onPostExecute(MainActivity.java:447) at maa.myapp.MainActivity$PlayerTask.onPostExecute(MainActivity.java:419) this my code : Answer finally it work with ‘com.vodyasov:amr:0.5’ library

Advertisement