From 0f1e121b816eff2913c4a3d2168c77117e0aea08 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Wed, 26 Oct 2016 16:06:56 +0100 Subject: [PATCH] hide some voice stuff in docs --- src/client/voice/VoiceConnection.js | 3 +++ src/client/voice/VoiceUDPClient.js | 1 + 2 files changed, 4 insertions(+) diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index c6188ffc7..a03466267 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -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} + * @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(); diff --git a/src/client/voice/VoiceUDPClient.js b/src/client/voice/VoiceUDPClient.js index d0e7e7bec..8246478c3 100644 --- a/src/client/voice/VoiceUDPClient.js +++ b/src/client/voice/VoiceUDPClient.js @@ -18,6 +18,7 @@ function parseLocalPacket(message) { /** * Represents a UDP Client for a Voice Connection * @extends {EventEmitter} + * @private */ class VoiceConnectionUDPClient extends EventEmitter { constructor(voiceConnection) {