-
Notifications
You must be signed in to change notification settings - Fork 379
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation: Accept redirects 301/302 and "Cleartext HTTP traffic to xxx not permitted" #719
Comments
Sorry i'm an idiot, the code for accepting redirects is correct, however it has to be coupled with |
lmao! You still use this library? 😂 |
What? Deprecated? |
Of course silly! Most of the underlying implementations of this library are SUPER deprecated now and even some of them are NOT RECOMMENDED BY GOOGLE anymore. Use ExoPlayer itself! Read the documentation and learn it (if you think it is hard, it is not). Don't rely on dead libraries mate or you'll end up with a hell of bugs! |
Thanks @smarek I'll look at adding documentation that indicate the use of both to prevent confusion in the future. @NotNotMarshall I agree that it has been a while since the last deployment, and ExoMedia is using an older ExoPlayer version, the methods being used were the most recent available in the ExoPlayer version used and the underlying OS implementation didn't change so is still stable. |
Include the following:
4.3.0
10.0
Motorola
Motorola One
Reproduction Steps
http://i.imgur.com/SxwNI7f.mp4
Expected Result
Actual Result
I've seen the #691 which touches the same subject, however the solution should be different, than setting
usesCleartextTraffic
in app manifestAccording to docs https://exoplayer.dev/troubleshooting.html#why-do-some-streams-fail-with-http-response-code-301-or-302
Probably something along the lines of solution in #581, specifically #581 (comment)
I've personally tested this as valid solution
So I'd suggest putting up some documentation, and maybe update comment in the #691 so devs do not get advised to allow all cleartext traffic if it's not absolutely necessary
The text was updated successfully, but these errors were encountered: