scrcpy/app/src
Romain Vimont 0e473eb005 Reset TCP/IP connection with a '+' prefix
When running scrcpy with --tcpip=xx.xx.xx.xx, to make sure a new working
connection is established, it was first disconnected by a call to:

    adb disconnect <addr>

However, this caused all running instances connected to that address to
be killed. Running several instances of scrcpy on the same device is now
useful with virtual displays, so change the default behavior to NOT
disconnect.

To force a reconnection, a '+' prefix can be added:

    scrcpy --tcpip=+192.168.0.x

Fixes #5562 <https://github.com/Genymobile/scrcpy/issues/5562>
2024-12-04 13:16:51 +01:00
..
adb Reset TCP/IP connection with a '+' prefix 2024-12-04 13:16:51 +01:00
android Fix typos 2024-08-05 16:13:02 +02:00
hid Mention physical gamepad names for UHID devices 2024-09-15 11:21:56 +02:00
sys Add method to get executable path on MacOS 2024-12-02 18:23:18 +01:00
trait Handle SDL gamepad events 2024-09-15 11:21:56 +02:00
uhid Simplify UHID outputs routing 2024-09-15 11:21:56 +02:00
usb Load ADB value using sc_get_env() 2024-12-02 18:23:18 +01:00
util Expose sc_get_env() to read environment variable 2024-12-02 18:23:18 +01:00
audio_player.c Split audio player 2024-09-23 23:59:08 +02:00
audio_player.h Split audio player 2024-09-23 23:59:08 +02:00
audio_regulator.c Store compensation state as a boolean 2024-11-04 23:17:43 +01:00
audio_regulator.h Store compensation state as a boolean 2024-11-04 23:17:43 +01:00
cli.c Reset TCP/IP connection with a '+' prefix 2024-12-04 13:16:51 +01:00
cli.h Simplify shortcut modifiers 2024-06-23 19:15:45 +02:00
clock.c Improve delay buffer startup 2024-09-12 11:06:13 +02:00
clock.h Simplify clock estimation 2023-03-30 20:58:33 +02:00
common.h Fix MIN/MAX macros 2023-03-03 01:18:10 +01:00
compat.c Add compat for reallocarray() 2023-03-10 22:22:15 +01:00
compat.h Fix ifdef _WIN32 2024-09-14 14:42:00 +02:00
control_msg.c Add shortcut to reset video capture/encoding 2024-11-03 19:31:02 +01:00
control_msg.h Add shortcut to reset video capture/encoding 2024-11-03 19:31:02 +01:00
controller.c Introduce non-droppable control messages 2024-09-15 11:21:56 +02:00
controller.h Do not report error on device disconnected 2024-07-06 00:04:07 +02:00
coords.h Use sc_ prefix for size, position and point 2021-10-30 15:20:39 +02:00
decoder.c Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
decoder.h Pass AVCodecContext to packet sinks 2023-03-11 15:57:25 +01:00
delay_buffer.c Add missing flag initialization 2024-09-11 15:41:49 +02:00
delay_buffer.h Reverse NDEBUG conditions 2024-09-11 15:41:29 +02:00
demuxer.c Do not call avcodec_close() 2024-06-29 13:10:45 +02:00
demuxer.h Use packet source trait in demuxer 2023-03-10 22:22:15 +01:00
device_msg.c Handle UHID output 2024-03-01 00:52:00 +01:00
device_msg.h Handle UHID output 2024-03-01 00:52:00 +01:00
display.c Always initialize display->gl_context on macOS 2024-07-06 00:11:48 +02:00
display.h Add scrcpy window without video playback 2024-05-11 17:06:16 +02:00
events.c Add mechanism to execute code on the main thread 2024-09-15 11:21:55 +02:00
events.h Fix SDL_events.h include 2024-10-12 15:57:24 +02:00
file_pusher.c Stop and join sc_file_pusher only if initialized 2023-03-10 22:45:48 +01:00
file_pusher.h Use VecDeque in file_pusher 2023-03-10 22:22:15 +01:00
fps_counter.c Initialize interrupted field explicitly 2023-03-10 22:33:52 +01:00
fps_counter.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
frame_buffer.c Fix code style 2022-01-27 19:02:07 +01:00
frame_buffer.h Extract current video_buffer to frame_buffer 2021-07-14 14:22:32 +02:00
icon.c Expose sc_get_env() to read environment variable 2024-12-02 18:23:18 +01:00
icon.h Add missing SC_ prefix to header guards 2022-04-12 23:59:01 +02:00
input_events.h Handle SDL gamepad events 2024-09-15 11:21:56 +02:00
input_manager.c Add shortcut to reset video capture/encoding 2024-11-03 19:31:02 +01:00
input_manager.h Handle SDL gamepad events 2024-09-15 11:21:56 +02:00
keyboard_sdk.c Forward Alt and Super with SDK keyboard 2024-10-06 18:00:25 +02:00
keyboard_sdk.h Rename default keyboard implementation to "sdk" 2024-03-01 00:51:41 +01:00
main.c Expose main thread id 2024-09-14 21:24:15 +02:00
mouse_capture.c Fix build error on macOS 2024-10-07 16:54:15 +02:00
mouse_capture.h Use shortcut mods as mouse capture keys 2024-10-06 18:01:02 +02:00
mouse_sdk.c Forward mouse hover events 2024-06-29 12:42:19 +02:00
mouse_sdk.h Forward mouse hover events 2024-06-29 12:42:19 +02:00
opengl.c Fix OpenGL ES prefix skip 2022-03-30 12:01:01 +02:00
opengl.h Define feature test macros in common.h 2021-01-17 14:08:48 +01:00
options.c Add --no-vd-system-decorations 2024-11-20 07:50:45 +01:00
options.h Add --no-vd-system-decorations 2024-11-20 07:50:45 +01:00
packet_merger.c Extract packet merging 2023-02-11 09:44:33 +01:00
packet_merger.h Extract packet merging 2023-02-11 09:44:33 +01:00
receiver.c Remove fragile assert() 2024-09-15 11:21:56 +02:00
receiver.h Do not report error on device disconnected 2024-07-06 00:04:07 +02:00
recorder.c Use explicit file protocol for AVIO 2024-11-18 18:48:26 +01:00
recorder.h Add --record-orientation 2023-11-23 23:34:46 +01:00
scrcpy.c Add --no-vd-system-decorations 2024-11-20 07:50:45 +01:00
scrcpy.h Add specific exit code for device disconnection 2022-03-06 22:19:46 +01:00
screen.c Use shortcut mods as mouse capture keys 2024-10-06 18:01:02 +02:00
screen.h Extract mouse capture 2024-10-06 18:00:56 +02:00
server.c Reset TCP/IP connection with a '+' prefix 2024-12-04 13:16:51 +01:00
server.h Add --no-vd-system-decorations 2024-11-20 07:50:45 +01:00
shortcut_mod.h Move shortcut mod functions to a separate header 2024-10-06 18:00:59 +02:00
v4l2_sink.c Do not call avcodec_close() 2024-06-29 13:10:45 +02:00
v4l2_sink.h Pass video size as codec metadata 2023-03-11 15:57:25 +01:00
version.c Print libusb version on --version 2022-02-09 10:15:19 +01:00
version.h Move version handling to a separate file 2022-02-09 10:15:07 +01:00