Android Question ExoPlayer Error 403

drgottjr

Expert
Licensed User
Longtime User
403 means forbidden. same error using a standard browser. you may have to start over to track down the playlist. many possible explanations. go back to the beginning. obviously, the station doesn't want people using the stream without going through the station's webpage. they found somebody to take care of that (wowza - wowza is a streaming service. your station is now paying wowza to stream stuff for it.) good luck!
 
Upvote 0

jcesar

Active Member
Licensed User
Longtime User
Thanks for your reply.

But I still think it's a ExePlayer problem because the media player reproduces this stream.
 
Upvote 0

musaso

Active Member
Licensed User
It works for me like this:

B4X:
    'ListaSources is the list with URL's
    'mp1 is SimpleExoPlayer
   
    Dim url As String = "https://evpp.mm.uol.com.br/band/radiobandeirantes_sp/playlist.m3u8"
    If url.Contains("m3u8") Then
        ListaSources.Add(mp1.CreateHLSSource(url))
    Else  
        ListaSources.Add(mp1.CreateUriSource(url))
    End If
    mp1.Prepare(mp1.CreateListSource(ListaSources))
    mp1.Play
 
Last edited:
Upvote 0
Top