Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
35 lines
769 B
Markdown
35 lines
769 B
Markdown
# Test end-to-end Match Live TV
|
|
|
|
## Prerequisiti
|
|
|
|
```bash
|
|
cd infra && docker compose up -d
|
|
```
|
|
|
|
## 1. API smoke test
|
|
|
|
```bash
|
|
./scripts/e2e_api.sh
|
|
```
|
|
|
|
## 2. Flusso sessione
|
|
|
|
1. Login → crea sessione su partita seed
|
|
2. MediaMTX path `match_{uuid}` con alwaysAvailable
|
|
3. Simula webhook disconnect → status `reconnecting`
|
|
4. Simula webhook connect → status `live`
|
|
|
|
## 3. Stream RTMP (device)
|
|
|
|
1. Avvia app Flutter in Camera Mode
|
|
2. `startStream` con `rtmp_ingest_url` dalla API
|
|
3. Verifica path online: `curl http://localhost:9997/v3/paths/list`
|
|
4. Airplane mode 30s → slate su YouTube
|
|
5. Ripristina rete → reconnect automatico
|
|
|
|
## 4. Regia
|
|
|
|
1. Secondo device in Controller Mode
|
|
2. Scan QR pairing
|
|
3. +1 punto → overlay aggiornato su camera via Action Cable
|