I want to cast android mobile wirelessly to arch linux laptop, all the necessary step was done successfully, my linux laptop name is shown under the PAIRED DEVICES under the Wireless debugging and adb connecting successfully:
Code:
$ adb connect 192.168.10.8:38667
connected to 192.168.10.8:38667
adb can list the device:
Code:
$ adb devices
List of devices attached
192.168.10.8:38667 device
But scrcpy cannot connect to the device this is the output of command:
Code:
$ scrcpy -V verbose -s 192.168.10.8:38667
scrcpy 1.24 <https://github.com/Genymobile/scrcpy>
DEBUG: ADB device found:
DEBUG: --> (tcpip) 192.168.10.8:38667 device M2102J20SG
DEBUG: Device serial: 192.168.10.8:38667
DEBUG: Using server: /usr/share/scrcpy/scrcpy-server
/usr/share/scrcpy/scrcpy-server: 1 fil...ed. 169.9 MB/s (41159 bytes in 0.000s)
[server] INFO: Device: Xiaomi M2102J20SG (Android 12)
[server] DEBUG: Using encoder: 'OMX.qcom.video.encoder.avc'
[server] DEBUG: Controller stopped
[server] DEBUG: Screen streaming stopped
[server] DEBUG: Device message sender stopped
DEBUG: Interrupting socket
DEBUG: Server disconnected
DEBUG: Server terminated
ERROR: Server connection failed