hide some voice stuff in docs

This commit is contained in:
Amish Shah
2016-10-26 16:06:56 +01:00
parent cf45d1905e
commit 0f1e121b81
2 changed files with 4 additions and 0 deletions

View File

@@ -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();

View File

@@ -18,6 +18,7 @@ function parseLocalPacket(message) {
/**
* Represents a UDP Client for a Voice Connection
* @extends {EventEmitter}
* @private
*/
class VoiceConnectionUDPClient extends EventEmitter {
constructor(voiceConnection) {