Romain Vimont

Results 2060 comments of Romain Vimont

> however computer to device clipboard sync errors and causes the controller to crash leading to the controller crashing and input no longer working. Oops, stupid mistake in my code....

Hmm, `SurfaceControl.getPhysicalDisplayIds()` does not exist anymore, and I don't know how it was replaced. What if you just bypass the multi-display code: ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/Device.java b/server/src/main/java/com/genymobile/scrcpy/Device.java index 3d83f73eb..0f181d8f6 100644...

Hmm… ok, so I don't know :confused: As a side note, there is a new class `android.view.ScreenCapture` that may be relevant in Android 14, but I don't know how to...

I merged 57f879d68a72c0d84f17d71ddf49c3b564bc614c (clipboard) and 2fff9b9edf749dd7a8ccf36fe2df3c3587f535ab (context/audio) to make scrcpy work on Android 14 preview 2. It remains the "turn screen off" feature, but I don't know how to fix...

_(now that the source code of Android 14 is released)_ > java.lang.NoSuchMethodException: android.view.SurfaceControl.getPhysicalDisplayIds [] It seems that the methods `getPhysicalDisplayIds()` and `getPhysicalDisplayToken()` have just been moved from `SurfaceControl` to `DisplayControl`...

Oh, I hadn't noticed, this class is in `services/` (so it is not accessible from the running process, it is used by a server server in another process), so we...

I opened an issue: https://issuetracker.google.com/issues/303565669 _Please do not comment on that issue just to say that you are impacted, this would just add noise._

It remains 3 scrcpy features broken in Android 14: - **turn screen off** is tracked by #3927 - **crop** and **lock video orientation** are tracked by #4011

> WARN: Device disconnected https://github.com/Genymobile/scrcpy/blob/master/FAQ.md#device-disconnected

You could try the [manual steps](https://blog.rom1v.com/2019/06/introducing-usbaudio/#manually).