Closed CatsMiaow closed 5 years ago
Are you certain this is an opusscript issue? Have you verified with discord.js/prism-media that this is not their bug? Does this error with node-opus?
I will check more and open up issue
I'm having same issue here
@ktjd123 can you please check with discord.js/prism-media if they are passing invalid data?
@abalabahaha this is opusscript's problem since when use node-opus instead of opusscript, this problem doesn't happens.
@ktjd123 can you or someone reproduce the error with only opusscript and node-opus, no prism-media or other wrappers?
I’ll reproduce it when I get my computer back from AS. Sorry for just error info without reproduce
Closing due to inactivity
@ktjd123 can you or someone reproduce the error with only opusscript and node-opus, no prism-media or other wrappers?
I also had this issue in the past days. no prism-media or anything else sound related added to discord.js v 12 after reinstalling discordjs/opus it worked again, but I think that's mostly because it stopped using opusscript ( it should generally prefer discordjs/opus, but for some reason it didn't until I reinstalled everything )
cant really spend the time to create a minimum reproducable snippet tbh, just wanted to let you know this issue definitely exists with opusscript 0.0.8
I can reproduce this issue. Please fix it! @abalabahaha
Without sharing details for me to reproduce it (see above) or submitting a PR that fixes it, I cannot determine how to fix it.
I got the error by spamming the "play" function on my discord bot. I also get "RangeError: Input Stream is Out of Bounds" randomly sometimes as well.
I am using it with discord.js v12
https://github.com/abalabahaha/opusscript/blob/01fee75902bf50439ac36ee3c4027ba5021f51f7/index.js#L51