From f383c78414d6152a197f4c1d407b46dee61f8516 Mon Sep 17 00:00:00 2001 From: Matteo Rizzo Date: Wed, 21 Sep 2016 05:01:02 +0200 Subject: [PATCH] Fix VoiceConnection.playConvertedStream not playing anything (#708) --- src/client/voice/VoiceConnection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/voice/VoiceConnection.js b/src/client/voice/VoiceConnection.js index bec666a1f..de8904463 100644 --- a/src/client/voice/VoiceConnection.js +++ b/src/client/voice/VoiceConnection.js @@ -255,7 +255,7 @@ class VoiceConnection extends EventEmitter { */ playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) { const options = { seek, volume, passes }; - this._shutdown(); + this.player._shutdown(); const dispatcher = this.player.playPCMStream(stream, options); return dispatcher; }