refactor: Refactored mobile UI

This commit is contained in:
2026-02-26 10:30:00 +00:00
parent bcdc16576a
commit 50760ae664
8 changed files with 2068 additions and 119 deletions

View File

@@ -169,7 +169,17 @@ OpenAPI docs are generated from Zod/OpenAPI definitions:
| `GET /docs` | Swagger UI |
### Web Mobile Simulator
Use `GET /sim/mobile-sim.html` to run a browser simulator that behaves like the mobile app:
Use `GET /sim/mobile-sim.html` to run the full single-page browser simulator that behaves like the mobile app.
Split-page entrypoints are also available:
- `GET /sim/mobile-sim-auth.html`
- `GET /sim/mobile-sim-onboarding.html`
- `GET /sim/mobile-sim-camera.html`
- `GET /sim/mobile-sim-client.html`
- `GET /sim/mobile-sim-activity.html`
- `GET /sim/mobile-sim-settings.html`
All simulator pages support the same flow:
- Register as `camera` or `client`
- Connect Socket.IO with bearer device token
- Camera: process incoming `start_stream` commands, fetch publish credentials, start/end motion events