-
Notifications
You must be signed in to change notification settings - Fork 30
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
Player does not respect Redirection from HTTP response #84
Comments
We fixed this by adjusting our transcoder in the back end, not sure if everyone agrees that the player should respect redirection or not so I'll leave this open. |
Hi @arthurgeron-work, thanks for reporting. We will discuss this behavior internally. Glad you were able to figure out a workaround in the meantime. |
@arthurgeron-work to help with our investigation, do you know if the previous package ( |
After some internal investigation, re-labelling as a feature request as we do not support this path with the current wrapper implementation. We're evaluating where to put this in our roadmap. |
No it wasn't a previous version of this repository! It was developed by a independent dev that used AWS native player with a React Native Wrapping Layer, this is the link to the repo |
Describe the bug
The stream URL responds with a different 'Location' header, it ignores that and tries to stream data from the same domain but with a mangled path.
To reproduce
Steps to reproduce the behavior.
Utilize a endpoint that returns a Location header pointing to the stream file in a Storage service (e.g. gcp, AWS S3, etc)
Expected behavior
The player should load from the proper "new" location (e.g. be redirected) using the Location header data.
Screenshots
The request:
The location header:
Expected behavior:
How it behaves:
Device (please complete the following information):
Debug logs
(Errors bellow are due to the player trying to load the stream from a mangled path):
Additional context
The expected behaviour comes from a package that I used before called
react-native-aws-ivs-player
which reacted correctly to the http redirection.HTTP Response data:
The text was updated successfully, but these errors were encountered: