azlux / pymumble

Mumble client implementation in Python
GNU General Public License v3.0
129 stars 61 forks source link

Extreme scaling latency increase #115

Open InventorXtreme opened 3 years ago

InventorXtreme commented 3 years ago

When using the provided audio only client as found in the demo section of pymumble I have encountered a major issue in which the latency will increase over time.

I will setup two machines to run the demo client, and point them each to the same server. At the beginning, a sound on one will be heard out of the speakers of the other at the same time the sound occurs. However, as time progresses, when a sound is made into the mic of one computer, it will take seconds to output onto the other computer. I have attempted to debug this for days now, and can not figure out what is going on.

azlux commented 3 years ago

I try to understand the lab you produce here. You use https://github.com/azlux/pymumble/blob/pymumble_py3/examples/audio-only_client.py, this script put on mumble everything heard from mumble. You said you send some music on mumble, and the bot process increase with time ? You can heard the difference by listening to the bot response.

Am I right ?

InventorXtreme commented 3 years ago

The latency between the audio being put into one bot and coming out of the other increases with time.

Edit: Yes, I am using that script/

swimmingmachine commented 1 year ago

I got the same situation where the latency increases over time. Any update?

InventorXtreme commented 1 year ago

Sadly I was never able to resolve the issue. Sorry.