audiostreamer beta

Cor

Active Member
Licensed User
Longtime User
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:
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
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
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
I have it now working, :)

do some testings with different kind of sound formats

mp3 is now working with 96KHz
 
Upvote 0
Hi,

Formats supported by Archos. It can help?
A70IT_Audio.jpg
 
Upvote 0
Back
Top