Skip to content
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

Local voice mute #2423

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jimsug
Copy link

@jimsug jimsug commented Feb 22, 2025

My first non-accidental PR!

This introduces the concept of local voice mute. The main use case I can think of is when multiple users are in the same location and can hear each other without the call, but want to use it to collaborate with users in other locations.

A user can mute any other user, and this is tracked separately to the other user's RTC mute status. We also still display the spectrogram when the user speaks even when they are locally muted, as a signal that they are communicating something (and as a gentle cue for the user to unmute them if needed).

For simplicity (and I think alignment with encouraging collaboration), I've implemented this as a client-side mute only. This setting does not persist at all; each time you connect to a call, you will need to re-mute anyone you've muted before.

I'm considering retaining this setting for specific users across calls (at least in the same hunt), since (I think most of the time) when you've muted a user because you're in the same space, you will probably remain in the same space, and having to re-mute someone repeatedly could be frustrating.

On one hand, having to unmute someone might be frustrating; on the other, it's only a couple of clicks away. Persisting mute might also be a smidge more complex, but I think it would be very doable if desired.

@jimsug jimsug force-pushed the feature/local-voice-mute branch from 05ade90 to 268c40e Compare February 22, 2025 07:43
@jimsug jimsug force-pushed the feature/local-voice-mute branch from 268c40e to 10fda75 Compare February 22, 2025 07:49
@jimsug jimsug closed this Feb 22, 2025
@jimsug jimsug deleted the feature/local-voice-mute branch February 22, 2025 07:50
@jimsug jimsug reopened this Feb 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant