Exoplayer gives errorcode 401

Viewed 813

I am using exoplayer 2.7.3 and when i am trying to play some url i get below error:

E/ExoPlayerImplInternal: Source error.
com.google.android.exoplayer2.upstream.HttpDataSource$InvalidResponseCodeException: Response code: 401

I can able to play same url in some other place in app. But at this place this issue happens.

Can anyone help me what might be wrong?

1 Answers

First, try to play the streaming on some web browser, if it fails, the problem is with this link.

The error 401 means that you not have permission to access this content.

Related