Android Question Exoplayer 302 error

Sasuke Sama

Active Member
Licensed User
Hi
Im trying to play m3u8 link
it run fine on mx and the default android player but in exo im getting this

B4X:
com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 302
and the video dosent load

any ideas?

i found this by searching


"Ideally I think you should fix your serving infrastructure to not perform cross-protocol redirects. However if you can't do this, you can enable following of cross-protocol redirects in ExoPlayer by passing allowCrossProtocolRedirects=true to the DefaultUriDataSource constructor."

so maybe someone can translate this to b4a?
 
Top