fix: Set quality and highWaterMark in ytdlOptions

This commit is contained in:
Marius Begby committed 2023-07-15 15:36:40 +02:00
1 parent 457dfa1ad7
commit 7bc50d6a84
1 file changed
+2
+2
View File
@@ -37,6 +37,8 @@ for (const file of systemCommandFiles) {
const player = new Player(client, { const player = new Player(client, {
useLegacyFFmpeg: false, useLegacyFFmpeg: false,
ytdlOptions: { ytdlOptions: {
quality: 'highestaudio',
highWaterMark: 1 << 25,
requestOptions: { requestOptions: {
headers: { headers: {
cookie: process.env.YOUTUBE_COOKIE || '' cookie: process.env.YOUTUBE_COOKIE || ''