D
D
Dmitry2020-08-04 23:11:18
fmpeg
Dmitry, 2020-08-04 23:11:18

Why does Discord.js stop broadcasting a track to a voice channel until it ends?

In the Discord bot, I'm making a feature with broadcasting music to a voice channel. I load a voice track from YouTube using the ytdl-core library, after which I broadcast it through VoiceConnection.play (). However, just a few seconds before the end of the track, playback ends and no events or logs appear.

The most interesting thing is that when I run the bot on my computer, everything works, but when I run it on my Linux Ubuntu server, this error occurs.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question