export declare class VoiceUDPSocket extends EventEmitterManages the UDP networking for a voice connection.
deprecatedoptionalping? : number
This field is no longer updated as keep alive messages are no longer tracked.
Deprecated
The time taken to receive a response to keep alive messages.
destroy() : void
Closes the socket, the instance will not be able to be reused.
performIPDiscovery(ssrc: number) : Promise<SocketConfig>
ssrc: number
Performs IP discovery to discover the local address and port to be used for the voice connection.