Skip to content

Conversation

roxanneskelly
Copy link
Contributor

@roxanneskelly roxanneskelly commented Sep 13, 2025

This resulted in the wrong device being selected.

Also, fix a shutdown crash where recording was not being stopped, hence the recording thread was still running on shutdown and crashed because it lost access to resources.

Fix an issue with p2p calls where they're coming up muted even though the button indicates they are unmuted.

Issues:
#4669
#4670
#4684

Description

Test guidance

  • repro the issues in the above tickets.

Also

  • Bring up a viewer on windows, in a webrtc region.
  • Click on the speak button
  • shut down the viewer
  • validate there is no crash.

This resulted in the wrong device being selected.

Also, fix a shutdown crash where recording was not being stopped, hence the recording
thread was still running on shutdown and crashed because it lost access to resources.

Fix an issue with p2p calls where they're coming up muted even though the button indicates
they are unmuted.
@roxanneskelly roxanneskelly added the bug Something isn't working label Sep 13, 2025
@github-actions github-actions bot added the c/cpp label Sep 13, 2025
@roxanneskelly roxanneskelly added this to the 2025.07 milestone Sep 13, 2025
Even when the selected device doesn't change, we need to
re-deploy it as it might have had characteristics (sampling rate, etc.) changed.

Also, we need to redeploy when the Default device has changed
Copy link
Contributor

@callumlinden callumlinden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Feels petty amongst all this great code but I wondered why some of the local variables are a mix of lowercase (e.g. playout_device_start) camelcase (recordingDevice, playoutDevice) - I found that confusing with their 'm' counterparts.

@roxanneskelly
Copy link
Contributor Author

Yeah, it's kind of a mix between webrtc.lib's coding style and ours. I'll make a note to clean that up.

@Geenz Geenz merged commit c743ea2 into release/2025.07 Sep 16, 2025
20 of 21 checks passed
@Geenz Geenz deleted the roxie/2025.07-webrtc-fixes branch September 16, 2025 17:36
@github-actions github-actions bot locked and limited conversation to collaborators Sep 16, 2025
@Dan-Linden Dan-Linden removed this from the 2025.07 milestone Sep 29, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working c/cpp
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Apple Silicon: changing the active input or output device for voice chat has no effect
4 participants