- Make sure your device is plugged into usb of device you are issuing commands from.
- Connect both devices to same Wi-Fi
- Get IP address of mobile device
- Enable adb over TCP/IP:
adb tcpip 5555
- Enter:
adb connect DEVICE_IP:5555
whereDEVICE_IP
is your device’s IP - It is now safe to unplug your device
- Run scrcpy
We can run scrcpy with bit-rate and resolution settings like this:
scrcpy --bit-rate 2M --max-size 800
or its shorter equivalent:
scrcpy -b2M -m800