You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <#5562>
Copy file name to clipboardExpand all lines: app/scrcpy.1
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -518,13 +518,15 @@ Enable "show touches" on start, restore the initial value on exit.
518
518
It only shows physical touches (not clicks from scrcpy).
519
519
520
520
.TP
521
-
.BI"\-\-tcpip\fR[=\fIip\fR[:\fIport\fR]]
522
-
Configure and reconnect the device over TCP/IP.
521
+
.BI"\-\-tcpip\fR[=[+]\fIip\fR[:\fIport\fR]]
522
+
Configure and connect the device over TCP/IP.
523
523
524
524
If a destination address is provided, then scrcpy connects to this address before starting. The device must listen on the given TCP port (default is 5555).
525
525
526
526
If no destination address is provided, then scrcpy attempts to find the IP address and adb port of the current device (typically connected over USB), enables TCP/IP mode if necessary, then connects to this address before starting.
527
527
528
+
Prefix the address with a '+' to force a reconnection.
0 commit comments