Optimizing Playing Audio

Hi there, I was wondering if anyone had any tips for optimizing the playing of audio so the bot doesn't stutter, buffer, and lag a lot. Currently, I just tell @discordjs/voice to play from a URL. Are there better solutions?
9 Replies
d.js docs
d.js docs3y ago
• What's your exact discord.js npm list discord.js and node node -v version? • Post the full error stack trace, not just the top part! • Show your code! • Explain what exactly your issue is. • Not a discord.js issue? Check out #useful-servers.
조아오
조아오3y ago
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
조아오
조아오3y ago
Imagine doing that on scale
dzlandis
dzlandisOP3y ago
Yeah, that's not a viable option :( What am I supposed to do if the audio I'm trying to play only comes as an mp3? Is there literally no solution?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dzlandis
dzlandisOP3y ago
I don't understand what the point of doing that would be if, from what I assume, @discordjs/voice already does that by default when playing from an mp3 file.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
dzlandis
dzlandisOP3y ago
I'm not making a music bot.
Want results from more Discord servers?
Add your server