layeh / barnard

barnard is a terminal-based client for the Mumble voice chat software
GNU General Public License v2.0
150 stars 46 forks source link

Delayed audio transmission #20

Open mcarvette opened 7 years ago

mcarvette commented 7 years ago

I've complied Barnard using Golang 1.6.2 on a Raspberry Pi Zero ARM6 @ 1GHz. All works well. Audio is received perfectly with minimal latency, but transmitting audio is delayed several seconds. Running Top I see CPU usage is above 90% when running Barnard in transmit mode. When not transmitting the CPU is around 4%. When receiving only, CPU is around 25%. I assume the high CPU when transmitting is due to audio compression and encryption which is therefore causing the long delay. I am willing to sacrifice compression and/or encryption to get the CPU usage down. Is this doable? And will this solve my problem?

bgunebakan commented 7 years ago

did you solve this problem ? i have same problem with raspberry pi 3. delay is increasing over time.

mcarvette commented 7 years ago

I wasn't able to get it to work and haven't been able to dig into it again. If you can fix it, I'd love to find out how you did it.