jagrosh / MusicBot

🎶 A Discord music bot that's easy to set up and run yourself!
https://jmusicbot.com
Apache License 2.0
5.38k stars 2.57k forks source link

High Ping on my home server? #814

Closed AlvaroMartinezB closed 3 years ago

AlvaroMartinezB commented 3 years ago

I know this probably isn't an issue with the bot's code per se, but I'd like to know any tips or advice you might have.

My bot is being hosted on my home server, it has an ethernet connection to my 300/100 fiber. The same network that my gaming PC is connected to. The bot seems to have a high ping, all the time, sometimes a high Websocket ping. I would not mind the high ping if it didn't cause noticeable quality loss. You can clearly hear the music, but it skips now and then, and seems to have some packet loss. Here are some images for reference, as well as the ping I have on my discord app on my computer (keep in mind they are on the same network). I will appreciate any feedback you might have!

image

image

image

YJSoft commented 3 years ago

https://github.com/JDA-Applications/JDA-Utilities/blob/master/examples/src/main/java/com/jagrosh/jdautilities/examples/command/PingCommand.java#L44-L49

It's not voice channel ping. It just checks time diff.