Skip to content

voice_mute

Tell other participants that you are muted. This only changes the mute flag the server shows. Your client must also stop sending audio.

{
"cmd": "voice_mute"
}

No fields besides cmd. It applies to the voice channel this connection is in.

{
"cmd": "voice_mute",
"channel": "hangout",
"muted": true
}

The server sends this to every connection whose user can view the channel, including your own:

{
"cmd": "voice_user_updated",
"channel": "hangout",
"user": {
"id": "usr_8f2k1",
"username": "carol",
"muted": true,
"peer_id": "3f9c2a71-5d0e-4b8f-9a61-7c2e4d1b8e05"
}
}

It has the same shape as voice_user_joined. peer_id goes only to users in the channel, and severed users don’t get the event. It arrives before the voice_mute response.

Muting when you are already muted still sends the event.

Any joined member in a voice channel can call it, including users in timeout.

val When
You are not in a voice channel This connection isn’t in voice.
Voice channel no longer exists The channel you were in has no participants on record, for example because it was deleted.
You are not in this voice channel The server has no record of your account in the channel.
This voice connection is no longer active Your account’s voice session in this channel belongs to a different peer ID.