Open arthurgeron-work opened 2 years ago
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 (react-native-aws-ivs-player
) that worked for you was a previous version of this repository? Or is it another package on GitHub?
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.
@arthurgeron-work to help with our investigation, do you know if the previous package (
react-native-aws-ivs-player
) that worked for you was a previous version of this repository? Or is it another package on GitHub?
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: