mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 13:02:38 +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
|
||||
* @type {object}
|
||||
* @private
|
||||
*/
|
||||
this.authentication = pendingConnection.data;
|
||||
|
||||
|
|
@ -72,12 +73,14 @@ class VoiceConnection extends EventEmitter {
|
|||
/**
|
||||
* Map SSRC to speaking values
|
||||
* @type {Map<number, boolean>}
|
||||
* @private
|
||||
*/
|
||||
this.ssrcMap = new Map();
|
||||
|
||||
/**
|
||||
* Object that wraps contains the `ws` and `udp` sockets of this voice connection
|
||||
* @type {object}
|
||||
* @private
|
||||
*/
|
||||
this.sockets = {};
|
||||
this.connect();
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ function parseLocalPacket(message) {
|
|||
/**
|
||||
* Represents a UDP Client for a Voice Connection
|
||||
* @extends {EventEmitter}
|
||||
* @private
|
||||
*/
|
||||
class VoiceConnectionUDPClient extends EventEmitter {
|
||||
constructor(voiceConnection) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue