mirror of https://github.com/Genymobile/scrcpy
Reorder documentation
Present the --tcpip option without arguments first.
This commit is contained in:
parent
7f23ff3f2c
commit
79968a0ae6
|
@ -67,14 +67,6 @@ computer.
|
||||||
An option `--tcpip` allows to configure the connection automatically. There are
|
An option `--tcpip` allows to configure the connection automatically. There are
|
||||||
two variants.
|
two variants.
|
||||||
|
|
||||||
If the device (accessible at 192.168.1.1 in this example) already listens on a
|
|
||||||
port (typically 5555) for incoming _adb_ connections, then run:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
scrcpy --tcpip=192.168.1.1 # default port is 5555
|
|
||||||
scrcpy --tcpip=192.168.1.1:5555
|
|
||||||
```
|
|
||||||
|
|
||||||
If _adb_ TCP/IP mode is disabled on the device (or if you don't know the IP
|
If _adb_ TCP/IP mode is disabled on the device (or if you don't know the IP
|
||||||
address), connect the device over USB, then run:
|
address), connect the device over USB, then run:
|
||||||
|
|
||||||
|
@ -85,6 +77,14 @@ scrcpy --tcpip # without arguments
|
||||||
It will automatically find the device IP address and adb port, enable TCP/IP
|
It will automatically find the device IP address and adb port, enable TCP/IP
|
||||||
mode if necessary, then connect to the device before starting.
|
mode if necessary, then connect to the device before starting.
|
||||||
|
|
||||||
|
If the device (accessible at 192.168.1.1 in this example) already listens on a
|
||||||
|
port (typically 5555) for incoming _adb_ connections, then run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
scrcpy --tcpip=192.168.1.1 # default port is 5555
|
||||||
|
scrcpy --tcpip=192.168.1.1:5555
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
### Manual
|
### Manual
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue