You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently finished setting this bot up in my lab. It is working correctly and playing songs from YouTube and Spotify. However the bot will disconnect about 15 seconds prematurely. Is this because I set the buffer to 15 seconds aiode.preferences.native_audio_buffer=15000 ? Or is that just coincidence? Also, is there any way to keep the bot in the chat even when there is are no songs in the queue?
Thank You!
The text was updated successfully, but these errors were encountered:
That is not a coincidence ;) It most likely also means that pressing pause is delayed by 15 seconds, since it will continue to pull from the buffer. I believe lavaplayer fires the AudioEvent for reaching the end of the track when the last packet is pulled with no way of knowing whether it is buffered or not. A 15 seconds buffer is not exactly pratical, the point of the buffer is to avoid stutters caused by garbage collection pauses, if those reach 15 seconds you have some pretty big problems ;) The default of 400 ms is already really generous for most users. When only streaming to a handful of guilds you can actually easily get away without a native buffer at all. I'd recommend just leaving the default.
The bot always leaves after playing the last track in the queue.
Hi There!
I recently finished setting this bot up in my lab. It is working correctly and playing songs from YouTube and Spotify. However the bot will disconnect about 15 seconds prematurely. Is this because I set the buffer to 15 seconds
aiode.preferences.native_audio_buffer=15000
? Or is that just coincidence? Also, is there any way to keep the bot in the chat even when there is are no songs in the queue?Thank You!
The text was updated successfully, but these errors were encountered: