Skip to main content
Version: 0.33.0

VoiceOpcodes

Index

Enumeration members

ClientConnect

ClientConnect: = 12

A client has connected to the voice channel

ClientDisconnect

ClientDisconnect: = 13

A client has disconnected from the voice channel

Heartbeat

Heartbeat: = 3

Keep the websocket connection alive

HeartbeatAck

HeartbeatAck: = 6

Sent to acknowledge a received client heartbeat

Hello

Hello: = 8

Time to wait between sending heartbeats in milliseconds

Identify

Identify: = 0

Begin a voice websocket connection

Ready

Ready: = 2

Complete the websocket handshake

Resume

Resume: = 7

Resume a connection

Resumed

Resumed: = 9

Acknowledge a successful session resume

SelectProtocol

SelectProtocol: = 1

Select the voice protocol

SessionDescription

SessionDescription: = 4

Describe the session

Speaking

Speaking: = 5

Indicate which users are speaking