Giter Site home page Giter Site logo

Comments (9)

freyacodes avatar freyacodes commented on July 20, 2024

Be sure to check that your CPU, RAM and network aren't choking. Also check the log.

from lavaplayer.

Repulser avatar Repulser commented on July 20, 2024

Could also be a matter of where your server is located, from my experience Amsterdam / Paris works badly, and US servers work best.

from lavaplayer.

mist3rkk avatar mist3rkk commented on July 20, 2024

My server is in Thailand and the discord voice server I choose is Singapore which is relatively close. Memory usage is quite low so I dont know what cause the issue

from lavaplayer.

R3alCl0ud avatar R3alCl0ud commented on July 20, 2024

@krwachir This is an issue caused by latency to discord's voice servers, and is most likely cause by high latency on your client, not the bot's server. Unless every person listening to the bot hears that happen at the same time, it is probably just your client.

from lavaplayer.

freyacodes avatar freyacodes commented on July 20, 2024

This is an issue caused by latency to discord's voice servers, and is most likely cause by high latency on your client, not the bot's server.

This is difficult to know for certain if you are not monitoring the bot's audio output. Maybe it is outputting null frames (buffering issues), or just not sending enough frames (50 per second) due to slow transmission.

from lavaplayer.

mist3rkk avatar mist3rkk commented on July 20, 2024

All,
I'm certain that everyone in the voice channel hear issues. For more info, I'm writing a bot using Discord4J. Initially, I used JDA-Player the audio might had some missing but no skipping or fast/slow playbacks.

What I noticed is that the ping is not really constant (also for all users) with discord, my client is showing around 40ms - 70ms. On machine resources, there was no cpu or memory spikes, the network bandwidth on server side has more than enough.

I'm not that good with audio and resampling but if you guys need anything else please let me know

from lavaplayer.

BroManDudeGuyPhD avatar BroManDudeGuyPhD commented on July 20, 2024

@krwachir How many servers is your bot on? Mine is on about 9,100. Wonder if this is a large server bot issues or a general issue. I am on Discord4J as well

from lavaplayer.

sedmelluq avatar sedmelluq commented on July 20, 2024

If you are still having issues, you can try to count how many null frames the AudioPlayer gives after the first few seconds of playing a new track. If there are null frames, then it may be a lavaplayer issue, otherwise it definitely is not.

from lavaplayer.

sedmelluq avatar sedmelluq commented on July 20, 2024

Closing until any detailed report appears.

from lavaplayer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.