Android Question MEDIA_ERROR_UNKNOWN

Victor Donato

New Member
Licensed User
We are trying, using MediaPlayerStrem, to listen an audio webradio URL like http://200.150.xxx.xxx:xxxx.
Using Anroid VLC we can liste this URL audio webradio without any issues.
Using MediaPlayerStream we getting the MEDIA_ERROR_UNKNOWN IN BOTH bridged device and emulator.
Any hint about this isuue is welcome.
Regards.
Code being used:



Sub Process_Globals
Dim mp As MediaPlayerStream
End Sub

Sub Activity_Create(FirstTime As Boolean)

If FirstTime Then
mp.Initialize("mp")
End If
mp.Load(http://200.150.171.34:3690)

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
 
Top