Table of Contents
API reference

Class VoiceEvents

Namespace
DisCatSharp.Voice.Logging
Assembly
DisCatSharp.Voice.dll

Contains well-defined event IDs used by the Voice extension.

public static class VoiceEvents
Inheritance
VoiceEvents
Inherited Members

Properties

DaveDecryptFailure

Events emitted when DAVE frame decryption fails.

DaveHandshake

Events pertaining to DAVE (Discord Audio/Video Encryption) handshake and session negotiation.

DaveKeyRotation

Events pertaining to DAVE key rotation and epoch transitions.

DavePassthrough

Events emitted when audio passes through unencrypted (DAVE inactive or DAVE disabled).

DaveReset

Events emitted when the DAVE session is reset (e.g., after reconnect).

Misc

Miscellaneous events, that do not fit in any other category.

VoiceConnectionClose

Events emitted for Voice Gateway connection closes, clean or otherwise.

VoiceDispatch

Events emitted for high-level dispatch receive events.

VoiceGatewayError

Events emitted when decoding data received via Voice Gateway fails for any reason.

VoiceHandshake

Events pertaining to Voice Gateway connection early lifespan, specifically, the establishing thereof as well as negotiating various modes.

VoiceHeartbeat

Events pertaining to Voice Gateway connection lifespan, specifically, heartbeats.

VoiceKeepalive

Events pertaining to UDP connection lifespan, specifically the keepalive (or heartbeats).

VoiceReceiveFailure

Events emitted when incoming voice data is corrupted, or packets are being dropped.

VoiceSendFailure

Events emitted when sending a voice packet fails (encryption error, UDP send error, etc.).

VoiceWsRx

Events containing raw (but decompressed) payloads, received from Discord Voice Gateway.

VoiceWsTx

Events containing raw payloads, as they're being sent to Discord Voice Gateway.