Skip to content

Screen sharing crash #23

@nemanja-1995

Description

@nemanja-1995

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions