module Discordrb::Voice

Discord voice chat support

Voice support

Constants

DATA_LENGTH

How many bytes of data to read (1920 bytes * 2 channels) from audio PCM data

ENCRYPTED_MODE

Signifies to Discord that encryption should be used @deprecated Discord now supports multiple encryption options. TODO: Resolve replacement for this constant.

ENCRYPTION_MODES

Encryption modes supported by Discord

IDEAL_LENGTH

How long one voice packet should ideally be (20ms as defined by Discord)

PLAIN_MODE

Signifies to Discord that no encryption should be used @deprecated Discord no longer supports unencrypted voice communication.