: Bidirectional WebSockets transmit touch, keyboard, and mouse events from the browser back to the device, while simultaneously receiving the video stream and clipboard data.
: Supports touch events, multi-touch emulation (using CTRL/SHIFT), mouse wheel scrolling, and keyboard event capturing.
You have a tablet mounted on the wall controlling Home Assistant. You want to debug why the screen goes black at midnight. Instead of standing in front of the wall, you run WS-SCRCPY on your server and watch the tablet’s screen from your laptop.
ws-scrcpy shines when used wirelessly. To connect a device over Wi-Fi: ws-scrcpy
Understanding the architecture demystifies the setup process.
NetrisTV/ws-scrcpy: Web client prototype for scrcpy. - GitHub
ws-scrcpy relies entirely on ADB. If ADB cannot see the phone, neither can ws-scrcpy. You want to debug why the screen goes black at midnight
: Unlike the original scrcpy, ws-scrcpy includes experimental support for iOS screen casting and basic remote control (touch/scroll) using WebDriverAgent Technical Requirements
浏览器必须支持以下技术:
: A customized version of the Genymobile/scrcpy server that includes a WebSocket server to communicate directly with the web client. To connect a device over Wi-Fi: Understanding the
: Supports bidirectional copy-pasting between your computer and the Android device. How It Works Backend : A Node.js server runs on your host computer.
Ensure that is manually toggled on inside your Android device's Developer Options menu. Run adb devices in your command line terminal to verify that the host machine securely recognizes the hardware connection. To help tailor further details, let me know:
*scrcpy can be scripted for multiple devices but requires separate windows.
Copy text on the device and paste it on your computer, and vice versa.
如遇权限问题,执行 npm install --unsafe-perm 。