infra/stacks/f1-stream/files
Viktor Barzin 9bf0523ea9
[ci skip] f1-stream: add stream health checker and HLS proxy (Phases 4-5)
Phase 4 - Stream Health and Fallback:
- StreamHealthChecker with partial GET validation of m3u8 content
- Bitrate extraction from BANDWIDTH tags
- Response time measurement for quality ranking
- Fallback ordering: live first, fastest response time first
- GET /streams now only returns health-verified streams

Phase 5 - HLS Proxy Core:
- GET /proxy?url= - m3u8 playlist fetch with full URI rewriting
- GET /relay?url= - chunked segment relay (never buffers full segment)
- m3u8 rewriter handles master, variant, and segment URIs
- Base64url encoding for URL parameters
- CORS middleware for browser playback
- Range header forwarding for seeking support
2026-02-23 23:41:16 +00:00
..
.claude [ci skip] Flatten module wrappers into stack roots 2026-02-22 15:13:55 +00:00
backend [ci skip] f1-stream: add stream health checker and HLS proxy (Phases 4-5) 2026-02-23 23:41:16 +00:00
.config [ci skip] Flatten module wrappers into stack roots 2026-02-22 15:13:55 +00:00
.dockerignore [ci skip] f1-stream: add gitignore for __pycache__, remove committed .pyc 2026-02-23 22:55:38 +00:00
.gitignore [ci skip] f1-stream: add gitignore for __pycache__, remove committed .pyc 2026-02-23 22:55:38 +00:00
Dockerfile [ci skip] f1-stream: replace Go service with Python/FastAPI skeleton 2026-02-23 22:47:06 +00:00
redeploy.sh [ci skip] f1-stream: replace Go service with Python/FastAPI skeleton 2026-02-23 22:47:06 +00:00