Romain Vimont

Results 2060 comments of Romain Vimont

> I plan to integrate [scrcpy-deps](https://github.com/rom1v/scrcpy-deps/) directly in the scrcpy repo Done by #4713 (and also builds the other dependencies).

Hi, Thank you for proposing these improvements. This script worked fine for my limited usage, but I don't use it anymore. I will realistically not have time to invest time...

Dis you follow the instructions specific to Android 11? https://github.com/Genymobile/scrcpy/blob/master/doc/audio.md

For testing, could you please replace the server in the scrcpy 2.0 release folder: - [`scrcpy-server`](https://tmp.rom1v.com/scrcpy/3796/1/scrcpy-server) `SHA-256: 68f9c478177e543a180ee9460eb63b6969c0501ef22280fe00fe51d4310fe80f` It disables the workaround for Android 11: diff ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/AudioCapture.java...

OK, so the culprit is probably the delay here: https://github.com/Genymobile/scrcpy/blob/cbca79b95baa2b2cf39b72d0a0b2b3de0725959a/server/src/main/java/com/genymobile/scrcpy/AudioCapture.java#L76 Are you comfortable to [build the app from sources](https://github.com/Genymobile/scrcpy/blob/master/doc/build.md)? You could try to adjust the delay until you get a...

It seems the delay is insufficient in your case, so you must use an higher delay.

Thank you. Does it 100% work with 300ms? I will probably increase the current value to 300 then.

> I haven't tried changing that delay yet Could you please try? :heart:

I implemented 3 attempts with 100ms before each, so that on most devices, it will work within 100ms (so the popup is not visible for too long), but on others...

Yes, I noticed that yesterday :+1: It will be fixed by https://github.com/Genymobile/scrcpy/commit/aa6846c989377cf6c77c57291f71b5cdda2e3026 (not merged yet).