- Defined in:
Defined Under Namespace
Classes:, , ,
Constant Summary collapse
- ENCRYPTED_MODE =
Discord now supports multiple encryption options.
Signifies to Discord that encryption should be used TODO: Resolve replacement for this constant.
- PLAIN_MODE =
Discord no longer supports unencrypted voice communication.
Signifies to Discord that no encryption should be used
- IDEAL_LENGTH =
How long one voice packet should ideally be (20 ms as defined by Discord)
- DATA_LENGTH =
How many bytes of data to read (1920 bytes * 2 channels) from audio PCM data
1920 * 2