mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
hide some voice stuff in docs
This commit is contained in:
@@ -41,6 +41,7 @@ class VoiceConnection extends EventEmitter {
|
|||||||
/**
|
/**
|
||||||
* The authentication data needed to connect to the voice server
|
* The authentication data needed to connect to the voice server
|
||||||
* @type {object}
|
* @type {object}
|
||||||
|
* @private
|
||||||
*/
|
*/
|
||||||
this.authentication = pendingConnection.data;
|
this.authentication = pendingConnection.data;
|
||||||
|
|
||||||
@@ -72,12 +73,14 @@ class VoiceConnection extends EventEmitter {
|
|||||||
/**
|
/**
|
||||||
* Map SSRC to speaking values
|
* Map SSRC to speaking values
|
||||||
* @type {Map<number, boolean>}
|
* @type {Map<number, boolean>}
|
||||||
|
* @private
|
||||||
*/
|
*/
|
||||||
this.ssrcMap = new Map();
|
this.ssrcMap = new Map();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Object that wraps contains the `ws` and `udp` sockets of this voice connection
|
* Object that wraps contains the `ws` and `udp` sockets of this voice connection
|
||||||
* @type {object}
|
* @type {object}
|
||||||
|
* @private
|
||||||
*/
|
*/
|
||||||
this.sockets = {};
|
this.sockets = {};
|
||||||
this.connect();
|
this.connect();
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ function parseLocalPacket(message) {
|
|||||||
/**
|
/**
|
||||||
* Represents a UDP Client for a Voice Connection
|
* Represents a UDP Client for a Voice Connection
|
||||||
* @extends {EventEmitter}
|
* @extends {EventEmitter}
|
||||||
|
* @private
|
||||||
*/
|
*/
|
||||||
class VoiceConnectionUDPClient extends EventEmitter {
|
class VoiceConnectionUDPClient extends EventEmitter {
|
||||||
constructor(voiceConnection) {
|
constructor(voiceConnection) {
|
||||||
|
|||||||
Reference in New Issue
Block a user