Initial commit: monorepo Match Live TV.
Rails API, app Flutter, infrastruttura Docker/MediaMTX, sito marketing e documentazione di deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
34
docs/E2E.md
Normal file
34
docs/E2E.md
Normal file
@@ -0,0 +1,34 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user