mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 17:13:31 +01:00
Fix voice 😄
This commit is contained in:
@@ -27,7 +27,7 @@ class VoiceConnectionPlayer extends EventEmitter {
|
||||
convertStream(stream, { seek = 0, volume = 1 } = {}) {
|
||||
const options = { seek: seek, volume: volume };
|
||||
const encoder = this.converterEngine.createConvertStream(options.seek);
|
||||
const pipe = stream.pipe(encoder.stdin);
|
||||
const pipe = stream.pipe(encoder.stdin, { end: false });
|
||||
pipe.on('unpipe', () => {
|
||||
this.killStream(encoder.stdout);
|
||||
pipe.destroy();
|
||||
|
||||
Reference in New Issue
Block a user