mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
hide some voice stuff in docs
This commit is contained in:
parent
cf45d1905e
commit
0f1e121b81
2 changed files with 4 additions and 0 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue