Romain Vimont

Results 1981 comments of Romain Vimont

> at android.hardware.camera2.vivo_ext.VivoCameraUtils.sendStartPreviewBroadCast(VivoCameraUtils.java:199) Again the vendor ROM of vivo devices doing its own customizations…

Please post your `framework.jar`, just in case we can workaround: ``` adb pull /system/framework/framework.jar ```

> java.lang.SecurityException: Given calling package android does not match caller's uid 2000 You should retest with the latest version (currently 3.1).

> on Windows `TerminateProcess()` is used. Note that exit handlers and finally clauses, etc., will not be executed. https://docs.python.org/3/library/multiprocessing.html#multiprocessing.Process.terminate So the recording cannot complete properly.

For Windows, you could try: ```python import signal os.kill(self.p.pid, signal.CTRL_C_EVENT) ``` https://stackoverflow.com/a/62222396/1987178 For Linux, it should probably be: ```python os.kill(pid, signal.SIGINT) ``` (not tested) Also ref #5122

When you press Ctrl+C in a terminal on macOS, it sends SIGINT, so it should work. https://stackoverflow.com/a/11570297/1987178

Doesn't sending `signal.CTRL_C_EVENT` work? https://docs.python.org/3/library/signal.html#signal.CTRL_C_EVENT If not, also try to run with `subprocess.Popen()` with `creationflags=subprocess.CREATE_NEW_PROCESS_GROUP`.

> When I send CTRL_BREAK_EVENT, the log is as follows: So `INFO: Recording complete to mkv file: 3.mkv` is missing :confused: The process is killed abruptly. Run scrcpy with `-Vverbose`...

Which scrcpy version? Move hover events were not transmitted before very recently. Does it still happen with the latest version (2.6.1)?