Capture screen contents of Android and send it to remote by UDP.
Protocol is very simple. Single screen capture frame is compressed to WebP format and sent by single UDP packet. Each UDP packet contains WebP binary data.
Sender app is app module.
Receiver apps are receiver-electron(for PC) and receiver-view(for Android).
- Prepare 2 android devices.
- Install
appmodule into one device. - Install
receivermodule into another device. - Make sure to connecting to same wi-fi network.
- Launch both apps.
- Enter IP address of
receiverdevice intoappdevice's text field. - Press
appdevice's cast button (Floating action button) - Sender device's screen will be mirrored to another device.
If you want to mirror android screen to PC, launch receiver-electron.
cd receiver-electron
npm install
npm start