Closed JMTK closed 4 years ago
Try to remove all ffmpeg modules/packages, and use command npm i ffmpeg
ALL FFMPEG MODULES/PACKAGES!!!
Its work for me
This seems mostly resolved by upping the highWaterMark value. I don't know if that's considered an acceptable solution though.
I checked this before opening this. It seems to be the similar, but the dispatcher doesn't seem to fire any more events.
Please describe the problem you are having in as much detail as possible: This code has remained largely unchanged, but I used to be on https://github.com/discordjs/discord.js/commit/132788937a61490b5003117006f9e28164c14608 when it was first checked in and did not get latest src for a while. Once I got the current build(hash below), I had a couple of code updates to do with changing
voiceConnection
->voice.connection
etc. However some songs abruptly stop without error/debug log. A video it happened to was https://www.youtube.com/watch?v=penvn9VL32Y. However I restarted the bot and queued it again and it finished without stopping so it isn't consistent from my testing.If I call my skip command to go to the next song in queue, it begins playing the next song as if nothing was wrong.
Include a reproducible code sample here, if possible:
Log output
Further details:
The only optional package I have is
zlib-sync
.I'm happy to provide more code/versions if needed.
Priority this issue should have – please be realistic and elaborate if possible:
[ ] I have also tested the issue on latest master, commit hash: I can get latest but it didn't look like any major voice changes happened.