amishshah / ytdl-core-discord

A ytdl-core wrapper focused on efficiency for use in Discord music bots
Apache License 2.0
64 stars 26 forks source link

Music stopping in the middle of the song #384

Open Sam-Golpasand opened 3 years ago

Sam-Golpasand commented 3 years ago

I've been trying to fix this issue for a while now and nothing I do seems to work. When I start a song it just stops with no error in the console.

C0ffeeCode commented 3 years ago

Try setting quality lower. To get the error, listen to "unpipe".

Edit: I found a better solution: Set highWaterMark to 1 << 25 (highWaterMark: 1 << 25). Source: https://github.com/amishshah/ytdl-core-discord/issues/364#issuecomment-866059204