I have tried various streaming audio URL's but continue to get the following error for all of them. Has anyone had any previous success with this?
from the following code
Thanks.
-1638400000
100
starts playing
frameworks/base/media/libstagefright/AwesomePlayer.cpp:1023 success
Error: MEDIA_ERROR_SERVER_DIED, 0
from the following code
B4X:
Sub Process_Globals
Dim mp As MediaPlayerStream
End Sub
Sub Globals
End Sub
Sub Activity_Create(FirstTime As Boolean)
If FirstTime Then
mp.Initialize("mp")
End If
mp.Load("http://108.61.35.91:10030")
End Sub
Sub mp_StreamReady
Log("starts playing")
mp.Play
End Sub
Sub mp_StreamError (ErrorCode As String, ExtraData As Int)
Log("Error: " & ErrorCode & ", " & ExtraData)
ToastMessageShow("Error: " & ErrorCode & ", " & ExtraData, True)
End Sub
Sub mp_StreamBuffer(Percentage As Int)
Log(Percentage)
End Sub
Thanks.