Skip to content

iOS crash on camera switch #211

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

Open
nucleartux opened this issue Mar 5, 2025 · 10 comments
Open

iOS crash on camera switch #211

nucleartux opened this issue Mar 5, 2025 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@nucleartux
Copy link

nucleartux commented Mar 5, 2025

Describe the bug

iOS app completly crashes on camera switch (room.switchActiveDevice("videoinput", newDevice.deviceId))

To Reproduce

Steps to reproduce the behavior:

  1. Clone https://github.com/livekit/client-sdk-react-native
  2. Install example app
  3. Click camera switch button
  4. See crash

Device Info:

  • Device: iPhone 14 Pro
  • OS: iOS 18.3.1

Dependencies Info (please reference your package-lock.json or yarn.lock file, not just your package.json):

  • @livekit/react-native: latest
  • livekit-client: latest
  • react-native-webrtc: latest

Additional context

LivekitReactNativeExample-2025-03-05-180207.ips.zip

Probably related issue livekit/react-native-webrtc#22

@nucleartux nucleartux added the bug Something isn't working label Mar 5, 2025
@mosamlife
Copy link

+1

2 similar comments
@jayk1106
Copy link

+1

@ritik-cohort
Copy link

+1

@mosamlife
Copy link

Hello @nucleartux did you resolve the issue or is it still happening?

@nucleartux
Copy link
Author

@mosamlife I haven't found any solution

@Mihai-github
Copy link

+1

@davidliu
Copy link
Contributor

Can you provide the specific versions and logs?

@nucleartux
Copy link
Author

Logs are provided in the issue, the version is equal to the version in the repository, and I haven't touched anything.

@davidliu
Copy link
Contributor

It's for verification purposes, sanity check, and note keeping if a related issue comes up in the future. Please provide the specific versions from your lock file.

@nucleartux
Copy link
Author

In my app I use following versions:
@livekit/react-native: 2.6.2
livekit-client: 2.9.5
@livekit/react-native-webrtc: 125.0.9

In example app I see different versions:
@livekit/react-native: 🤷
livekit-client: 2.9.8
@livekit/react-native-webrtc: 125.0.8

Bug occurs in both of these apps

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants