Muting your mic and then changing audio/video source might unmute your audio #27

Closed
opened 2023-07-23 05:07:07 +00:00 by kirsle · 0 comments
Owner

Repro steps:

  1. Go on video as normal
  2. Mute your mic
  3. Go in the chat settings and toggle your video/audio devices to use different devices.
  4. Your mic appears to be muted and shows as muted to your watchers, but they might hear your audio regardless

Root cause seems to be: changing an audio/video source re-sets up the video while requesting specific device IDs to use, and replaces the streams of your WebRTC watchers, and this always defaults to a non-muted microphone.

The fix should be: after all that happens, to check the front-end mic mute setting and reapply the mute on the new stream.

Repro steps: 1. Go on video as normal 2. Mute your mic 3. Go in the chat settings and toggle your video/audio devices to use different devices. 4. Your mic appears to be muted and shows as muted to your watchers, but they might hear your audio regardless Root cause seems to be: changing an audio/video source re-sets up the video while requesting specific device IDs to use, and replaces the streams of your WebRTC watchers, and this always defaults to a non-muted microphone. The fix should be: _after_ all that happens, to check the front-end mic mute setting and reapply the mute on the new stream.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: apps/BareRTC#27
No description provided.