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

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 :)
5 Replies
d.js toolkit
d.js toolkit6mo ago
- 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!
treble/luna
treble/luna6mo ago
and what is url here
Szyon
Szyon6mo ago
What do you mean?
treble/luna
treble/luna6mo ago
how is url defined
Szyon
Szyon6mo ago
It's a url to an audio stream (string) Like: https://streams.ilovemusic.de/iloveradio1.mp3 @polarwolvinny ❄ 🌈, any idea?