Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuttery/laggy audio playback #238

Open
ghost opened this issue Jan 18, 2018 · 6 comments
Open

Stuttery/laggy audio playback #238

ghost opened this issue Jan 18, 2018 · 6 comments

Comments

@ghost
Copy link

ghost commented Jan 18, 2018

Currently running the bot on a RPI 3 and the playback is rather laggy, like every 5-10 seconds there is short stutter.

Same issue on local media and radio streams.

@dafoxia
Copy link
Member

dafoxia commented Jan 20, 2018

Did you use a precompiled image?

@quintz
Copy link

quintz commented May 4, 2020

Having the same issue with the docker image.
Changed the bitrate to 48kbit/s and the error still persists

@FennyFatal
Copy link
Contributor

FennyFatal commented May 4, 2020 via email

@dafoxia
Copy link
Member

dafoxia commented May 5, 2020

The main problem is, that mumble and the bot uses no buffer for the audio. The bot need basically a real time system with a real time able (compiled and not interpreded) language.
As I used ruby for this project the main goal for anti stutter will missed by default. On some system configuration it run better than on others.
If the bot stutter from time to time a little bit there is no configuration error, it's my fault, unable to choose the right programming language for this project. ;)

@kelltob
Copy link

kelltob commented Dec 27, 2020

I got the same behavior with the pluginbot from source on an RPI 3 and raspbian.
The precompiled image seems to work as long as I don't use the update-script. After running the update script audio playback gets laggy.

It seems that only youtube-dl gets updated. Is it possible to deactivate some of the plugins? I'dont need most of them.

@dafoxia
Copy link
Member

dafoxia commented Dec 27, 2020

The Bot is set to stereo transmission after update, you may change the mpd output to stereo.
Deaktivating of plugins is easy, just move it out of the plugin folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants