Before installing ws-scrcpy, you need to prepare both the server and the Android device. On the side, the requirements are:
: The client receives the stream, decodes it using hardware-accelerated VideoDecoder API (or software fallback), and renders it on an HTML5 canvas.
server listen 443 ssl; server_name myphone.example.com; ws-scrcpy
Android SDK Platform-Tools must be installed and added to your system's PATH.
: Open your browser and navigate to the local address (typically Before installing ws-scrcpy, you need to prepare both
(for enterprise deployments):
If your device does not appear in the ws-scrcpy web interface, there are a few common reasons. First, run adb devices from the command line on the server to verify that ADB can see the device. If it shows as "unauthorized," check your Android device for a USB debugging authorization popup and accept it. If it doesn't show at all, try a different USB cable or port, restart the ADB server using adb kill-server and adb start-server , or ensure that USB debugging is enabled in the Android Developer Options. : Open your browser and navigate to the
: Open a live xterm.js terminal emulator right inside the browser window to run adb shell commands instantly.