sndcpy icon indicating copy to clipboard operation
sndcpy copied to clipboard

Audio delay over 1000ms

Open kabud1321 opened this issue 4 years ago • 11 comments

I recently tried scrcpy and very satisfied but when i tried sndcpy i got audio delay over 1000ms, I've tried a few things but didn't solve the problem. My devices Redmi note 8, i've tried a few different phone but facing same problem

kabud1321 avatar Jan 10 '21 13:01 kabud1321

Over USB?

rom1v avatar Jan 10 '21 13:01 rom1v

Over USB?

Yes, im using scrcpy and sndcpy over usb, scrcpy working good and very low latency, only sndcpy i got high latency

kabud1321 avatar Jan 10 '21 18:01 kabud1321

Have the same problem here, using a Samsung A50 (A505-F).

Chrombastic avatar Jan 12 '21 11:01 Chrombastic

So did you found something that works with it?

xofficialgamer avatar May 07 '21 13:05 xofficialgamer

Try increasing the network caching option in its .bat from 50 to 100.

Zero3K avatar Aug 01 '21 15:08 Zero3K

put network-caching to -1 on both sndcpy file and sndcpy.bat . it works for me. Screenshot 2021-09-12 203825 Screenshot 2021-09-12 203756

Shigeo87 avatar Sep 12 '21 12:09 Shigeo87

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

ameaninglessname avatar Jan 09 '22 16:01 ameaninglessname

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

put network-caching to -1 on sndcpy.bat . it works for me.

ameaninglessname avatar Jan 09 '22 16:01 ameaninglessname

not sure how to suggest changes to the code but I found that adding --clock-synchro=1 to the sndcpy.bat and sndcpy fixes the issue

MauNi-M avatar Sep 04 '22 23:09 MauNi-M

@MauNi-M Thanks! This worked well!

skygate2012 avatar Jan 30 '23 14:01 skygate2012