How To Run Scrcpy Wirelessly???

  1. Make sure your device is plugged into usb of device you are issuing commands from.
  2. Connect both devices to same Wi-Fi
  3. Get IP address of mobile device
  4. Enable adb over TCP/IP: adb tcpip 5555
  5. Enter: adb connect DEVICE_IP:5555 where DEVICE_IP is your device’s IP
  6. It is now safe to unplug your device
  7. 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

Source