VoiceCloseCodes
constVoiceCloseCodes:object
Defined in: packages/voice/src/protocol.ts:33
Voice gateway close codes.
Type Declaration
Section titled âType DeclarationâAlreadyAuthenticated
Section titled âAlreadyAuthenticatedâ
readonlyAlreadyAuthenticated:4005=4005
AuthenticationFailed
Section titled âAuthenticationFailedâ
readonlyAuthenticationFailed:4004=4004
BadRequest
Section titled âBadRequestâ
readonlyBadRequest:4020=4020
CallTerminated
Section titled âCallTerminatedâ
readonlyCallTerminated:4022=4022
DaveProtocolRequired
Section titled âDaveProtocolRequiredâ
readonlyDaveProtocolRequired:4017=4017
Disconnected
Section titled âDisconnectedâ
readonlyDisconnected:4014=4014
FailedToDecode
Section titled âFailedToDecodeâ
readonlyFailedToDecode:4002=4002
NotAuthenticated
Section titled âNotAuthenticatedâ
readonlyNotAuthenticated:4003=4003
RateLimited
Section titled âRateLimitedâ
readonlyRateLimited:4021=4021
ServerNotFound
Section titled âServerNotFoundâ
readonlyServerNotFound:4011=4011
SessionNoLongerValid
Section titled âSessionNoLongerValidâ
readonlySessionNoLongerValid:4006=4006
SessionTimeout
Section titled âSessionTimeoutâ
readonlySessionTimeout:4009=4009
UnknownEncryptionMode
Section titled âUnknownEncryptionModeâ
readonlyUnknownEncryptionMode:4016=4016
UnknownOpcode
Section titled âUnknownOpcodeâ
readonlyUnknownOpcode:4001=4001
UnknownProtocol
Section titled âUnknownProtocolâ
readonlyUnknownProtocol:4012=4012
VoiceServerCrashed
Section titled âVoiceServerCrashedâ
readonlyVoiceServerCrashed:4015=4015