Bot does not play audio when audio source is changed from stream to string URL

For some strange reason, when I have my bot change from playing a ReadableStream to playing from a URL in a string, the bot does not play anything. I will note, that when I start the bot playing from a URL string, it works just fine, and when I change the source to a ReadableStream, it works just fine. This issue only occurs when switching from a ReadableStream into a URL string. I've analyzed my code to make sure that there is actual playable audio and I've also checked that the audio resources are identical. I can't find the issue. What am I doing wrong, or is this some strange bug?
2 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
dzlandis
dzlandisOP2y ago
Welp, figured it out. For anyone else wondering, this is the problem: https://github.com/discordjs/discord.js/issues/7232
GitHub
AudioPlayer does not play local files if a stream was played before...
Which package is this bug report for? voice Issue description Playing local files is working but there is a corner-case where it isn't. Play a file or something else via a stream Play a fil...
Want results from more Discord servers?
Add your server