mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 21:13:30 +01:00
Fix VoiceConnection.playConvertedStream not playing anything (#708)
This commit is contained in:
committed by
Schuyler Cebulskie
parent
8bcb670920
commit
f383c78414
@@ -255,7 +255,7 @@ class VoiceConnection extends EventEmitter {
|
|||||||
*/
|
*/
|
||||||
playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
playConvertedStream(stream, { seek = 0, volume = 1, passes = 1 } = {}) {
|
||||||
const options = { seek, volume, passes };
|
const options = { seek, volume, passes };
|
||||||
this._shutdown();
|
this.player._shutdown();
|
||||||
const dispatcher = this.player.playPCMStream(stream, options);
|
const dispatcher = this.player.playPCMStream(stream, options);
|
||||||
return dispatcher;
|
return dispatcher;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user