HXQLabs / HXQLabs/Helixque

Bug Report: Physical Camera Not Turning Off When Toggled

Open
#8 12 comments 0 reactions 0 assignees View on GitHub
bug hacktoberfest hacktoberfest-accepted hacktoberfest2025 hacktoberfest2025-accepted
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.