Skip to content

Enum VoiceEvent

zaun_client::VoiceEvent · Enum

pub enum VoiceEvent { … }

What happens in a voice session.

Someone joined the channel (no key package: that stays inside the session).

Someone changed mute or deafen, or a moderator did.

Someone left the channel.

The media connection to a participant is up.

An Opus frame from a participant, decrypted.

This member’s keys moved to a new epoch (someone joined or left).

The host listed another key for member than the one this client saw first, so the participant was skipped: no media and no keys go to it. Either the member replaced its key, or the host is putting itself in the member’s place; compare Member::fingerprint with the member out of band.

The session ended: left, moved or disconnected by a moderator, the host went away, or the media relay ended the allocation (never replaced by a direct path). When moved, rejoin in moved_to with Channel::join.

Something was skipped safely (a peer whose key package did not verify, a refused signal); the text names no key or address.

Clone, Debug

Full rustdoc page