Enum VoiceEvent
zaun_client::VoiceEvent · Enum
pub enum VoiceEvent { … }What happens in a voice session.
Variants
Section titled “Variants”Joined(VoiceParticipant)
Section titled “Joined(VoiceParticipant)”Someone joined the channel (no key package: that stays inside the session).
Updated(VoiceParticipant)
Section titled “Updated(VoiceParticipant)”Someone changed mute or deafen, or a moderator did.
Left { member, reason }
Section titled “Left { member, reason }”Someone left the channel.
Connected(MemberId)
Section titled “Connected(MemberId)”The media connection to a participant is up.
Audio { member, frame }
Section titled “Audio { member, frame }”An Opus frame from a participant, decrypted.
Rekeyed(u32)
Section titled “Rekeyed(u32)”This member’s keys moved to a new epoch (someone joined or left).
KeyChanged { member }
Section titled “KeyChanged { member }”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.
Ended { reason, moved_to }
Section titled “Ended { reason, moved_to }”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.
Warning(String)
Section titled “Warning(String)”Something was skipped safely (a peer whose key package did not verify, a refused signal); the text names no key or address.
Trait implementations
Section titled “Trait implementations”Clone, Debug