Bug Report: Physical Camera Not Turning Off When Toggled
- Dominant language
- TypeScript
- Stars
- 135
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
When a user toggles their camera off in the UI during a WebRTC session, the physical device camera remains active.
This causes the webcam indicator light to stay on, even though the app shows the camera as off.
Steps to Reproduce
Join a room and connect to a peer.
Click the camera toggle button to turn the camera off.
Observe:
The UI updates (shows camera as off).
✅ Peer sees the "camera-off icon".
❌ The physical camera light is still on, meaning the track is not stopped.
Expected Behavior
When the camera is toggled off:
The local video track should be stopped.
The physical device camera should turn off (indicator light off).
When toggled on again:
The app should re-acquire the camera track.
Contributor guide
Assessment
This issue has not been assessed yet.