How do you manually end an AudioReceiveStream?
It's very unclear from the documentation how you actually end it the same way you would with EndBehaviorType.AfterSilence or EndBehaviorType.AfterInactivity. How do I end it the same way it would end via EndBehaviorType.AfterSilence?
7 Replies
• 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.Irrelevant.
can't you just call stream.destroy
Well I suppose but is ending the stream different then destroying it? Or is EndBehaviorType.AfterSilence also just destroying the stream? It's very confusing.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
No unfortunately, I never figured out how to end it when it has manual end behavior. I ended up just using one of the automatic end behaviors.
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View