Discussion in 'Android Questions' started by Victor Donato, Jun 26, 2015.

  1. Victor Donato

    Victor Donato New Member Licensed User

    We are trying, using MediaPlayerStrem, to listen an audio webradio URL like
    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.
    Code being used:

    Sub Process_Globals
    Dim mp As MediaPlayerStream
    End Sub

    Sub Activity_Create(FirstTime As Boolean)

    If FirstTime Then
    End If

    End Sub

    Sub mp_StreamReady
    Log("starts playing")
    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)
    End Sub
  2. Erel

    Erel Administrator Staff Member Licensed User

    Please use [code]code here...[/code] tags when posting code.

    This means that media player doesn't support the file encoding. Android VLC probably uses a custom decoder.
  3. stanks

    stanks Active Member Licensed User

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice