mumble-ruby-pluginbot icon indicating copy to clipboard operation
mumble-ruby-pluginbot copied to clipboard

Stuttery/laggy audio playback

Open ghost opened this issue 8 years ago • 6 comments

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.

ghost avatar Jan 18 '18 13:01 ghost

Did you use a precompiled image?

dafoxia avatar Jan 20 '18 23:01 dafoxia

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

quintz avatar May 04 '20 14:05 quintz

I was having a similar issue running on metal for several weeks, about a year ago, but it eventually started working again almost in spite of my efforts to resolve it. As far as I could tell my issue had something to do with performance when reading from the mpd fs inode. Might just be anecdotal, and unrelated though.

I have a heavily modified instance running from source, so take it with a grain of salt.

On Mon, May 4, 2020, 8:08 AM Quirin Lippl [email protected] wrote:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MusicGenerator/mumble-ruby-pluginbot/issues/238#issuecomment-623486101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL7L2FLWNVMJF4OTVUCSBLRP3D53ANCNFSM4EMLRUAA .

FennyFatal avatar May 04 '20 14:05 FennyFatal

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. ;)

dafoxia avatar May 05 '20 15:05 dafoxia

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.

kelltob avatar Dec 27 '20 18:12 kelltob

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.

dafoxia avatar Dec 27 '20 20:12 dafoxia