C Cor Active Member Licensed User Longtime User Apr 30, 2011 #1 audioStream.Load(lickUrl) --> give setdatasource error Code: dim audioStream as mediaPlayerStream audioStream.initialize("audioStream") audioStream.Load(lickUrl) EDIT: LOG FILe: at android.media.MediaPlayer.setDataSource(Native Method) at anywheresoftware.b4a.audio.MediaPlayerStreamWrapper.Load(MediaPlayerStreamWrapper.java:102) Last edited: Apr 30, 2011
audioStream.Load(lickUrl) --> give setdatasource error Code: dim audioStream as mediaPlayerStream audioStream.initialize("audioStream") audioStream.Load(lickUrl) EDIT: LOG FILe: at android.media.MediaPlayer.setDataSource(Native Method) at anywheresoftware.b4a.audio.MediaPlayerStreamWrapper.Load(MediaPlayerStreamWrapper.java:102)
Erel B4X founder Staff member Licensed User Longtime User Apr 30, 2011 #2 What is the value of lickUrl? Upvote 0
C Cor Active Member Licensed User Longtime User Apr 30, 2011 #3 lickURL="http://www.music4android.com/glicks/blues/2/1.ogg" Upvote 0
C Cor Active Member Licensed User Longtime User Apr 30, 2011 #4 When downloading this file with http and saving it to sd card and then playing it goes well, wihtout any problems with mediaplayer. size of ogg files are about 40 kb setDataSourceFD failed.: status=0x80000000 maybe mediastream can not handle this specific file format?? Upvote 0
When downloading this file with http and saving it to sd card and then playing it goes well, wihtout any problems with mediaplayer. size of ogg files are about 40 kb setDataSourceFD failed.: status=0x80000000 maybe mediastream can not handle this specific file format??
Erel B4X founder Staff member Licensed User Longtime User Apr 30, 2011 #5 Ogg streams are not supported. Unfortunately the formal Android documentation lacks a list of the supported formats. Upvote 0
Ogg streams are not supported. Unfortunately the formal Android documentation lacks a list of the supported formats.
C Cor Active Member Licensed User Longtime User Apr 30, 2011 #6 tried with mp3, wav, no error but not playing will try to find wich formats are supported has to do with bitrate i guess Upvote 0
tried with mp3, wav, no error but not playing will try to find wich formats are supported has to do with bitrate i guess
C Cor Active Member Licensed User Longtime User Apr 30, 2011 #7 mp3 should play, but is isn't -> no fault should i use Sub audiotream_StreamReady ToastMessageShow("Stream Ready",True) audiostream.Play End Sub or can i: lickURL="http://www.music4android.com/glicks/blues/2/1.mp2" audioStream.Load(lickUrl) 'audiostream.play Android Supported Media Formats | Android Developers Upvote 0
mp3 should play, but is isn't -> no fault should i use Sub audiotream_StreamReady ToastMessageShow("Stream Ready",True) audiostream.Play End Sub or can i: lickURL="http://www.music4android.com/glicks/blues/2/1.mp2" audioStream.Load(lickUrl) 'audiostream.play Android Supported Media Formats | Android Developers
C Cor Active Member Licensed User Longtime User Apr 30, 2011 #8 Hallo Erel, can you make a working example or (code) for the mediastreaming? thanks Upvote 0
C Cor Active Member Licensed User Longtime User Apr 30, 2011 #9 I have it now working, do some testings with different kind of sound formats mp3 is now working with 96KHz Upvote 0
I have it now working, do some testings with different kind of sound formats mp3 is now working with 96KHz
N NetStorm Member Licensed User Longtime User May 1, 2011 #10 is PLS and ASX supported, I can't get either to work. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 1, 2011 #11 These formats are not supported. Upvote 0
Z ZJP Active Member Licensed User Longtime User May 2, 2011 #12 Hi, Formats supported by Archos. It can help? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User May 3, 2011 #13 The list of Android supported formats can be found here: http://developer.android.com/intl/fr/guide/appendix/media-formats.html However it is not clear which format is supported in streaming mode. Upvote 0
The list of Android supported formats can be found here: http://developer.android.com/intl/fr/guide/appendix/media-formats.html However it is not clear which format is supported in streaming mode.