opentok / opentok-react-native

OpenTok React Native - a library for OpenTok iOS and Android SDKs
https://tokbox.com/
MIT License
210 stars 155 forks source link

Screen sharing crash #710

Closed nemanja-1995 closed 5 months ago

nemanja-1995 commented 7 months ago

Current behavior When switching from CAMERA to SCREEN on android, the app crashes

Steps to reproduce I'm running fine the conference call between two parties (let's say A and B). I've added a button on my react-native app so that A switches the source from CAMERA to SCREEN. The other side (B) starts receiving the new feed just fine but as soon as (A) does any action (like minimize the app) then (B) sees a frozen video: that would be fine if upon taking back to frontend the app on (A) I was getting again the screen share. Another problem I'm encountering is that if (A) without leaving the app does something such as clicking on another tab(changing tabs), then on (A) the app crashes.

Example Project --not available

What is the current bug behavior? App crashes

What is the expected correct behavior? Screen sharing should remain alive

Relevant logs and/or screenshots

beHaze commented 5 months ago

This issue was fixed in the most recent release. Please let us know if you are able to reproduce on our most recent version and/or with one of our sample apps.