Comments (9)
Be sure to check that your CPU, RAM and network aren't choking. Also check the log.
from lavaplayer.
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.
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.
@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.
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.
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.
@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.
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.
Closing until any detailed report appears.
from lavaplayer.
Related Issues (20)
- Youtube Master Token Update Failed HOT 2
- Error when Request YouTube Livestreams via YouTubes share-url
- Music Bot keeps connecting and disconnecting from the voice channel after /play command. HOT 3
- Bot has completely stopped playing music HOT 1
- Can't find YouTube playlists that are albums HOT 3
- crossfade feature
- Spotify Support HOT 4
- How to enable debug mode?
- libudpqueue.so: failed to map segment from shared object
- Unknown file format / Unsupported bits per sample HOT 1
- lavaplayer joins audio channel but errors and doesnt play only on Macos Ventura HOT 2
- Not success status code: 403 HOT 2
- How Lavaplayer seek YouTube video? HOT 4
- Bot just stopped playing tracks
- Lavaplayer stopped playing youtube links HOT 2
- playing music, but not sound
- Error HOT 3
- Lavaplayer completely stopped working without giving any errors HOT 3
- [email protected]() async def foo(ctx, arg): await ctx.send(arg)
- Something broke when playing the track happens every time i try to play a track HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lavaplayer.