Romain Vimont

Results 2060 comments of Romain Vimont

After the device restart, tcp mode is disabled. You need to root your device to make TCP mode survive a reboot.

Thank you for your report. https://github.com/Genymobile/scrcpy/blob/1a80333747de602b03ca7ae6b8e58790eeefc3dc/server/src/main/java/com/genymobile/scrcpy/AudioCapture.java#L125 So this means that `audioRecord.read()` always returns 0, which is unexpected. According to the [documentation](https://developer.android.com/reference/android/media/AudioRecord#read(java.nio.ByteBuffer,%20int)), this happens when the buffer is not a direct...

I can reproduce on my Android 11 device by disabling some workarounds: ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/Server.java b/server/src/main/java/com/genymobile/scrcpy/Server.java index 5800487da..3e5985ac8 100644 --- a/server/src/main/java/com/genymobile/scrcpy/Server.java +++ b/server/src/main/java/com/genymobile/scrcpy/Server.java @@ -83,11 +83,6 @@ public final...

Oh, these logs show a different issue, it's not "Could not get any audio timestamp" but "Buffering threshold exceeded". See #3793. In particular, replace this binary: https://github.com/Genymobile/scrcpy/issues/3793#issuecomment-1465713098 And run `scrcpy...

Weird. It should not have any impact, but could you test with this change? ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java b/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java index 528cd3279..6e4d1b32b 100644 --- a/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java +++ b/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java @@ -225,7 +225,7 @@...

How do you observe that it is 60 or 120 in practice?

I have no idea. You should bisect both scrcpy and SDL to find out the cause on your machine I guess. I don't have this problem.

> This problem should be related to 'Add support for high-precision scrolling' added in version 1.25. Oh, 57056d078ddcac73fe10fcb41395ed21f3d486b6 introduced in v1.25 adds high-precision scrolling, and it calls a newer SDL...

Just for my own curiousity, why couldn't you use SDL > 2.0.14?