VoiceNetworkingOptions
Defined in: packages/voice/src/networking.ts:47
Options for VoiceNetworking.
Properties
Section titled “Properties”
optionaldave?:boolean
Defined in: packages/voice/src/networking.ts:49
Offer DAVE (end-to-end encryption) when @snazzah/davey is installed. Default true. Discord requires it outside stage channels.
debug?
Section titled “debug?”
optionaldebug?: (message) =>void
Defined in: packages/voice/src/networking.ts:56
Parameters
Section titled “Parameters”message
Section titled “message”string
Returns
Section titled “Returns”void
socketFactory?
Section titled “socketFactory?”
optionalsocketFactory?:VoiceSocketFactory
Defined in: packages/voice/src/networking.ts:51
Opens the voice WebSocket (tests).
udpFactory?
Section titled “udpFactory?”
optionaludpFactory?:UdpSocketFactory
Defined in: packages/voice/src/networking.ts:53
Opens the UDP socket (tests).
optionalurl?:string| ((endpoint) =>string)
Defined in: packages/voice/src/networking.ts:55
Overrides the voice gateway URL built from the endpoint (tests): a URL, or a function of the endpoint.