Androz2091 / discord-player

🎧 Complete framework to simplify the implementation of music commands using discord.js v14
https://discord-player.js.org/
MIT License
594 stars 190 forks source link

Lag #886

Closed V3dantSh4rma closed 2 years ago

V3dantSh4rma commented 2 years ago

Describe the bug Hey, Whenever I Play a song, the Bot has a laggy Voice when it plays the music. Is there anything I can do?

Expected behavior Whenever I play the songs using the bot, it lags.

Screenshots I have none.

Please complete the following information:

twlite commented 2 years ago

what do you mean by image

V3dantSh4rma commented 2 years ago

Nothing, It was automatically there.

V3dantSh4rma commented 2 years ago

also uhh ignore the repoduce the behaviour section.

MattFor commented 2 years ago

I have the same issue actually, the bot's music is choppy for some goddamn reason. I have noticed it has to do something with multiple big intervals running at once for some reason.

Describe the bug Hey, Whenever I Play a song, the Bot has a laggy Voice when it plays the music. Is there anything I can do?

Expected behavior Whenever I play the songs using the bot, it lags.

Screenshots I have none.

Please complete the following information:

  • Node Version: 16
  • Discord Player Version: Its the latest one since i installed it yesterday
  • Discord.js Version: v13
pauldb09 commented 2 years ago

Try to change the voice channel region and what are your vps performances ?

V3dantSh4rma commented 2 years ago

I dont have a vps and i use pc for hosting it

Cengiouwe commented 2 years ago

I dont have a vps and i use pc for hosting it

what are the specs for your pc?

V3dantSh4rma commented 2 years ago

nvidia 940m, 16 gigs of ram, i5?

ShashankAlt commented 2 years ago

nvidia 940m, 16 gigs of ram, i5?

And internet speed ??

V3dantSh4rma commented 2 years ago

300mbps

V3dantSh4rma commented 2 years ago

on my other pc, i have rtx3060 and i7

rdaphq commented 2 years ago

pc graphic card has nothing to be here, the important things are the processor, ram and internet speed

MattFor commented 2 years ago

pc graphic card has nothing to be here, the important things are the processor, ram and internet speed

I have a ryzen 3 3700x 8 cores 4005 mhz, 32gb ram ddr4 3600mhz (? i don't remember exactly) and 400 Mbps.

The issue seems to be happening for some reason consistently on every single play of anything that's not a file, also it throws the "resource has already ended" error way too much for some reason.

V3dantSh4rma commented 2 years ago

pc graphic card has nothing to be here, the important things are the processor, ram and internet speed

I have a ryzen 3 3700x 8 cores 4005 mhz, 32gb ram ddr4 3600mhz (? i don't remember exactly) and 400 Mbps.

The issue seems to be happening for some reason consistently on every single play of anything that's not a file, also it throws the "resource has already ended" error way too much for some reason.

Then all i would suggest is moving from this package to distube(search on npmjs.), And you can maybe wait(?) for them to clear the voice lag. Cause that is what im doing at the minute.

V3dantSh4rma commented 2 years ago

And also, yeah i get the same resource error

MattFor commented 2 years ago

And also, yeah i get the same resource error

The current version of this package is kind of really broken. I use a modified version of it and managed to temporarily solve the resource ended but for only like a week or so before it somehow came back.

V3dantSh4rma commented 2 years ago

And also, yeah i get the same resource error

The current version of this package is kind of really broken. I use a modified version of it and managed to temporarily solve the resource ended but for only like a week or so before it somehow came back.

Aah i see,

Majoramari commented 2 years ago

I think a video would be helpful