Clarify TCP/IP mode in README

This commit is contained in:
Romain Vimont 2021-11-29 22:03:20 +01:00
parent e2b3968c66
commit b25b674c45

View file

@ -359,7 +359,8 @@ scrcpy --v4l2-buffer=500 # add 500 ms buffering for v4l2 sink
#### TCP/IP (wireless) #### TCP/IP (wireless)
_Scrcpy_ uses `adb` to communicate with the device, and `adb` can [connect] to a _Scrcpy_ uses `adb` to communicate with the device, and `adb` can [connect] to a
device over TCP/IP. device over TCP/IP. The device must be connected on the same network as the
computer.
##### Automatic ##### Automatic
@ -374,8 +375,8 @@ scrcpy --tcpip=192.168.1.1 # default port is 5555
scrcpy --tcpip=192.168.1.1:5555 scrcpy --tcpip=192.168.1.1:5555
``` ```
If the device TCP/IP mode is disabled (or if you don't know the IP address), If adb TCP/IP mode is disabled on the device (or if you don't know the IP
connect the device over USB, then run: address), connect the device over USB, then run:
```bash ```bash
scrcpy --tcpip # without arguments scrcpy --tcpip # without arguments