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
app
module into one device. - Install
receiver
module into another device. - Make sure to connecting to same wi-fi network.
- Launch both apps.
- Enter IP address of
receiver
device intoapp
device's text field. - Press
app
device'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