VoidBot/tools/EveCefRelay/README.md
2026-05-25 20:58:43 +01:00

22 lines
716 B
Markdown

# Eve CEF Relay
Offscreen CEF renderer for using `EveCanvas` as the native iPad display/input
surface for the VoidBot swarm dashboard.
The relay owns browser pixels. `EveCanvas` owns display and touch capture.
```powershell
npm run swarm:eve-cef-relay -- --width 1620 --height 2160 --scale 2 --port 8792
```
The iPad app connects to:
```text
ws://192.168.1.66:8792/stream
```
Current transport is binary WebSocket frames containing JPEG-encoded CEF
`OnPaint` buffers, plus text JSON pointer events from the iPad back to CEF.
This is the first real frame pipeline. The encoding layer is intentionally
replaceable; H.264/VideoToolbox should be the next owner if JPEG latency or
bandwidth becomes the bottleneck.