Adb
Pair & Connect
Use the following, to pair first,
adb pair ipaddr:portThen use the following command to connect:
adb connect ipaddr:portUse the following to list them out,
adb devices -lMirror
adb shell screenrecord --bit-rate 8000000 --size 1280x720 --time-limit 180 /sdcard/video.mp4