AndroidMic icon indicating copy to clipboard operation
AndroidMic copied to clipboard

Choppy Audio Until set target latency to max (300)

Open drajabr opened this issue 10 months ago • 9 comments

Using USB ADB Connection. Tried AB-Cable, VAC same.

Until setting the target latency to max (300) the voice coming from the mic is very choppy.

Using scrcpy to stream video/audio from android to laptop, or even using Apollo/Sunshine to stream video (full HD) from laptop to Android tablet we get around ~15~20ms max latency when using USB (either over ADB, USB-Tethering, or even Reverse Tethering)

I didn't notice this issue until I had a meeting today with the rest of the team on the other side of the planet, we already have ~350ms latency for the connection delay, and today noticed the 300 extra latency from my mic so bad :)

drajabr avatar Mar 11 '25 16:03 drajabr

Can confirm on bluetooth connection too

MilesVII avatar Mar 15 '25 20:03 MilesVII

Is this using the app from the release page or the rust app built from current code? The app in the release page is outdated and it has some choppy audio issues. I'm working on packaging the current rust app to make a new release

teamclouday avatar Mar 15 '25 22:03 teamclouday

That would be pretty much helpful. I tried building the app without success "I think coz I'm using VS Code not the other one" and didn't have time to experiment with it more.

drajabr avatar Mar 16 '25 05:03 drajabr

Using USB ADB Connection. Tried AB-Cable, VAC same.

Until setting the target latency to max (300) the voice coming from the mic is very choppy.

Where are you setting this? I don't see it anywhere in the application itself. Is it a system setting?

AuTune avatar Jul 23 '25 02:07 AuTune

Where are you setting this? I don't see it anywhere in the application itself. Is it a system setting?

Hey, It was a setting from the client app.

I switched for using scrcpy to capture mic and never looked back.

drajabr avatar Jul 23 '25 03:07 drajabr

Meh, we have new release here? I will check that, may repurpose the old android devices I have around 🤞

drajabr avatar Jul 23 '25 03:07 drajabr

Nevermind, @AuTune I can't find the latencey setting in the new app, I'm not sure tbh, just couldn't get it to work via USB/ADB so I'm staying on scrcpy for a while..

Btw @teamclouday You may take a look at https://github.com/VirtualDrivers/Virtual-Audio-Driver Seems so promising, open-source and recently got signed, tho virtual mic is not yet implemented, but its on the roadmap, and the developer is nice guy to collab with in regards

drajabr avatar Jul 23 '25 04:07 drajabr

@drajabr Thanks for sharing the alternatives! Although were you able to install that driver? In the issues page there are many similar reports about installation failtures. I personally can't install it on my win11 machine.

teamclouday avatar Jul 23 '25 07:07 teamclouday

No, the driver got signed recently, and the dev said it needs some time to propagate, its still in beta, loopback mic is not implement as I said earlier.

Currently I use AB-Cable, until that open-source driver matures up and I can built on it

drajabr avatar Jul 23 '25 07:07 drajabr