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 share track still created when broadcast button is canceled #157

Open
davidliu opened this issue Jun 26, 2024 — with Slack · 0 comments
Open

Screen share track still created when broadcast button is canceled #157

davidliu opened this issue Jun 26, 2024 — with Slack · 0 comments

Comments

Copy link
Contributor

We are experiencing an issue with screen sharing on iOS using React Native.

Initially, screen sharing starts successfully after tapping "Start Broadcast." It works fine every time when we tap "Start Broadcast" and receive the tracks. However, if we tap outside the broadcast handler, the popup closes, and screen sharing does not start. Although we receive a successful track from LiveKit, it is not initiated.

The problem begins here: we use this successful track for our custom logic to start/stop tracks of other users or send some data. However, this case is a false positive—screen sharing has not started, but we still receive the track.

Additionally, when we try to reconnect to the room afterward, we are unable to connect.

Framework: React Native ("0.74.1", "0.71.8")
Platform: iOS

Dependencies:

"@livekit/react-native": "^2.1.1"
"@livekit/react-native-webrtc": "^114.1.4"
"livekit-client": "2.1.5"

Slack Message

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