[2021] — Ws-scrcpy

浏览器必须支持以下技术:

# Install npm install -g ws-scrcpy

Whether you are a developer automating 20 test devices, an IT admin providing remote support, or a hobbyist who wants to leave their phone in a drawer while using apps on a laptop, ws-scrcpy is the tool you didn't know you needed.

| Tool | Browser-based | Multi-device | Latency | Open Source | | :--- | :--- | :--- | :--- | :--- | | | ✅ Yes | ✅ Grid | Very Low | ✅ MIT | | scrcpy (native) | ❌ No | ❌ Windows | Lowest | ✅ Apache | | Vysor | ✅ Yes (Pro) | ❌ No | Medium | ❌ Freemium | | TeamViewer Host | ✅ Yes | ❌ No | High | ❌ Commercial | ws-scrcpy

scrcpy: bitRate: 1000000 # 1 Mbps maxSize: 480 # 480p resolution maxFps: 30 # Limit frame rate

Adjust video quality, bitrate, and resolution to optimize performance for different network conditions. How WS-SCRCPY Works

: Access your phone screen from Chrome, Firefox, Safari, or Edge without installing local desktop apps. server: port: 8000 secure: false server can keep

server: port: 8000 secure: false

server can keep the server-side jar running on the device even after a disconnection, allowing for easier re-connection via IP. Developer Tools Integration

: Acts as a bridge between the Android device and the web browser. Media Source Extensions with H.264 decoding

Your device should appear in the ws-scrcpy web interface.

在投屏界面右上角点击“⋯”(三点菜单),选择“Change video settings”,可以调整分辨率、比特率等视频参数,以适应不同网络条件。

设备追踪功能由 src/app/client/DeviceTracker.ts 实现,支持自动发现局域网内开启调试模式的 Android 设备,并维护设备连接状态。

“Come on,” she whispered.

Your browser must support WebSockets, Media Source Extensions with H.264 decoding, WebWorkers, and WebAssembly.