Renumber steps in wireless section

The actual numbers are ignored by markdown, but start at 1 for
consistency.

Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
Flying Press 2020-04-20 04:59:54 -05:00 committed by Romain Vimont
parent cc3b6f4d58
commit bafa535425

View file

@ -328,19 +328,19 @@ For example, you could capture the video within [OBS].
_Scrcpy_ uses `adb` to communicate with the device, and `adb` can [connect] to a
device over TCP/IP:
0. Plug the device into a USB port on your computer.
1. Connect the device to the same Wi-Fi as your computer.
2. Get your device IP address, in Settings → About phone → Status, or by
1. Plug the device into a USB port on your computer.
2. Connect the device to the same Wi-Fi as your computer.
3. Get your device IP address, in Settings → About phone → Status, or by
executing this command:
```bash
adb shell ip route | awk '{print $9}'
```
3. Enable adb over TCP/IP on your device: `adb tcpip 5555`.
4. Unplug your device.
5. Connect to your device: `adb connect DEVICE_IP:5555` _(replace `DEVICE_IP`)_.
6. Run `scrcpy` as usual.
4. Enable adb over TCP/IP on your device: `adb tcpip 5555`.
5. Unplug your device.
6. Connect to your device: `adb connect DEVICE_IP:5555` _(replace `DEVICE_IP`)_.
7. Run `scrcpy` as usual.
It may be useful to decrease the bit-rate and the definition: