Enumeration VoiceOPCodes

Enumeration Members

CLIENTS_CONNECT: 11

Indicate that clients have connected to the voice channel

CLIENT_DISCONNECT: 13

Indicate that a client has disconnected from the voice channel

HEARTBEAT: 3

Keep the WebSocket connection alive

HEARTBEAT_ACK: 6

Acknowledge a received heartbeat

HELLO: 8

Sent immediately after connecting, contains the heartbeat_interval to use

IDENTIFY: 0

Start a new voice WebSocket connection

READY: 2

Complete the WebSocket handshake

RESUME: 7

Resume a previous session that was disconnected

RESUMED: 9

Response to acknowledging a successful resume

SELECT_PROTOCOL: 1

Select the voice protocol

SESSION_DESCRIPTION: 4

Describe the session

SPEAKING: 5

Indicate which users are speaking