15 second pause when initializing Decoder
i am trying to use
@discordjs/voice
's prism-media
package to convert the data into pcm and i noticed that the first time the decoder is constructed it takes around 15.5 seconds and then works just fine. Am i missing something or is it meant to be that slow?3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OPi just realised through debugging that this occurs when it goes to require
@discordjs/opus
for some reasonokay if i import
@discordjs/opus
manually before running code it just works fine i guess