Closed Ebernn closed 3 years ago
try using connection.play(ytdl(...), { type: "opus" })
Doesn't solve the issue, the same error is thrown. I just noticed that without encoderArgs
option, the stream just finishes prematurely without throwing any error (and no sound is heard).
Are you using
const dispatcher = serverQueue.connection
.play(ytdl(song.url, {
filter: 'audioonly',
opusEncoded: true,
encoderArgs: ['-af', queue.filters],
}), { type: 'opus' })
right now?
And just now tested your songs and they are doing good. Btw, what's queue.filters
? Looks like your queue.filters
is wrong?
HAHA! Thanks! š„
The culprits are my cursed eyes, I wrote
const dispatcher = serverQueue.connection
.play(ytdl(song.url, {
filter: 'audioonly',
opusEncoded: true,
encoderArgs: ['-af', queue.filters],
}, { type: 'opus' }))
instead of
const dispatcher = serverQueue.connection
.play(ytdl(song.url, {
filter: 'audioonly',
opusEncoded: true,
encoderArgs: ['-af', queue.filters],
}), { type: 'opus' })
Hi, I just want to run
but it throws
Version
Tests
tested song tested mix (same error)
Thank you in advance