#Cannot stream an audio stream on ubuntu 22.04 but on windows.

7 messages · Page 1 of 1 (latest)

cloud forge
#

Hey everyone
I got following issue:
I want to stream an audio stream via URL to a voice channel.
Everything works perfectly fine on Windows, but once I run the code on an ubuntu 22.04 server the audiostream has a readableLength of 0.
If I only play mp3 file that are saved locally it works. The only issue are audio streams via URL.

I also use ffmpeg-static in npm.

I am using node version 16.17.1 and discordjs 14.11.0

Thank you in advance :)

dusty bridgeBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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!
indigo hawk
#

and what is url here

cloud forge
#

What do you mean?

indigo hawk
#

how is url defined

cloud forge
#

It's a url to an audio stream (string)