apiko-dev / amazon-ivs-react-native-broadcast

A React Native wrapper for the Amazon IVS iOS and Android broadcast SDKs
MIT License
26 stars 13 forks source link

Preview not visible after navigation on Android #22

Closed fbinz closed 1 month ago

fbinz commented 1 year ago

First off: Thank you for this package! It's really cool to have such a small wrapper around the SDKs provided by AWS.

We've encountered a bug on Android, that seems to be related to mounting/unmounting and the preview video. For us, it manifests when we navigate away from and then back to a broadcast screen. After navigating back to the broadcast screen, the preview video is empty. It can be "reinitialized" by swapping the camera back and forth.

I've created a reproduction repo, so that it's easier for you to reproduce the issue: https://github.com/fbinz/react-native-ivs-broadcast-repro.

Here's a small video showing the behavior: logo-320

AndrewShapovalov commented 11 months ago

Hello @fbinz! Thank you for your effort to make the issue replication easier, however due to increased workload, I find myself with limited time to dedicate to the project at this point.

fbinz commented 11 months ago

Yeah, totally understandable! Do you maybe have some pointer, where I could begin to look? Maybe you already have a "hunch" as to where this could be coming from?

AndrewShapovalov commented 11 months ago

Hey @fbinz!