scrcpy/app
Romain Vimont 798727aa58 Use a different server path for each session
When scrcpy is run, a server is pushed to
/data/local/tmp/scrcpy-server.jar.

Running simultaneous scrcpy instances on the same device was not a
problem, because the file was unlinked (removed) almost immediately once
it started, avoiding any conflicts.

In order to support executing new process using the scrcpy-server.jar at
any time (to change the display power mode from a separate process), the
server file must not be unlinked, so using different names are necessary
to avoid conflicts.

Reuse the scid mechanism already used for generating device socket
names.

Refs 4315be1648
Refs 439a1fd4ed
2023-11-21 17:01:06 +01:00
..
data Add --orientation 2023-11-21 00:01:28 +01:00
prebuilt-deps Upgrade FFmpeg build to 6.1-scrcpy-2 2023-11-15 12:02:57 +01:00
src Use a different server path for each session 2023-11-21 17:01:06 +01:00
tests Add --display-orientation 2023-11-21 00:01:13 +01:00
meson.build Add --display-orientation 2023-11-21 00:01:13 +01:00
scrcpy-windows.manifest Set DPI awareness for Windows 2021-12-20 19:13:02 +01:00
scrcpy-windows.rc Bump version to v2.2 2023-11-01 18:36:33 +01:00
scrcpy.1 Add --orientation 2023-11-21 00:01:28 +01:00