sndcpy icon indicating copy to clipboard operation
sndcpy copied to clipboard

High latency

Open GodDagon opened this issue 4 years ago • 8 comments
trafficstars

I am getting very high delay in audio. I tried 4-6 times but same issue happened.

GodDagon avatar Jul 31 '21 03:07 GodDagon

Are you using it via WiFi or USB?

Zero3K avatar Aug 01 '21 15:08 Zero3K

Via usb.

On Sun, 1 Aug, 2021, 8:56 pm Bryan Kirk, @.***> wrote:

Are you using it via WiFi or USB?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rom1v/sndcpy/issues/149#issuecomment-890539474, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3QE2EIG5Y3YLAHJH7THKLT2VRQXANCNFSM5BJS4EHA .

GodDagon avatar Aug 01 '21 15:08 GodDagon

Try removing the network caching option in its .bat if changing it to 0 or 100 doesn't fix it.

Zero3K avatar Aug 01 '21 15:08 Zero3K

Thanks, I'll check it out.

On Sun, 1 Aug, 2021, 9:26 pm Bryan Kirk, @.***> wrote:

Try removing the network caching option if changing it to 0 or 100 doesn't fix it.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/rom1v/sndcpy/issues/149#issuecomment-890543815, or unsubscribe https://github.com/notifications/unsubscribe-auth/AU3QE2A4IB2YNQLY3VWHCJTT2VVENANCNFSM5BJS4EHA .

GodDagon avatar Aug 01 '21 15:08 GodDagon

I tried today but audio is not playing.😔

GodDagon avatar Aug 03 '21 03:08 GodDagon

don't actually remove network-caching, instead try changing it to -1 on sndcpy file and sndcpy.bat. as shown. Screenshot 2021-09-12 203825 Screenshot 2021-09-12 203756

Shigeo87 avatar Sep 12 '21 12:09 Shigeo87

I had to set network-caching to -1 also to get latency disapearing

cazzoo avatar Jan 03 '22 16:01 cazzoo

I encounter this issue while connecting wireless, and it is intended. see: https://github.com/rom1v/sndcpy/issues/150#issuecomment-890358852

I increase the display buffer of scrcpy with "--display-buffer=800", and now they are in sync. Going to try something you're talking about.

ameaninglessname avatar Jan 09 '22 16:01 ameaninglessname