Skip to content
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

Screen sharing crash #23

Open
nemanja-1995 opened this issue Jan 15, 2024 · 0 comments
Open

Screen sharing crash #23

nemanja-1995 opened this issue Jan 15, 2024 · 0 comments

Comments

@nemanja-1995
Copy link

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, then on (A) the app crashes.

*Logs info
In Logcat I see NullPointerException during video conference session regarding these lines:
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4300)
at com.opentokreactnative.OTScreenCapturer$1.run(OTScreenCapturer.java:52)

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

(Paste any relevant logs - please use code blocks (```) to format console output,
logs, and code as it's very hard to read otherwise.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant