Architecture
Adaptive bitrate live streaming pipeline
A live ABR pipeline assembled one layer at a time - from one RTMP ingest to ten million quality-matched viewers. Arrow keys or click to advance.
Contribution-grade ingest with a redundant path
A broadcaster sends one stream over SRT or RTMP. Premium contribution rides MediaConnect for ARQ packet recovery, with two source flows into two MediaLive input endpoints - so a primary-input drop fails over seamlessly while keeping the same output timeline.
Transcode the ABR ladder and package the origin
A MediaLive channel transcodes one source into a 6-rendition keyframe-aligned ladder (160p to 1080p60 plus source). MediaPackage packages HLS, DASH and CMAF manifests on the fly and writes immutable segments to S3-backed storage.
Deliver to viewers through the CDN
CloudFront fronts MediaPackage. Immutable segments cache for duration plus 10s; the mutable manifest gets a ~1s TTL with request collapsing so the live-edge heartbeat stays fresh without crushing the origin. Each viewer independently picks its rendition.
Redundancy - dual pipelines and Origin Shield
MediaLive Standard runs two AZ-isolated pipelines so a transcoder restart never reaches the manifest. CloudFront Origin Shield collapses ~600 POP fetches into one origin fetch per segment, making origin load independent of audience size.
Security, DRM and per-tenant isolation
AWS WAF plus CloudFront signed cookies and geo-restriction gate access; the DRM license endpoint validates a signed token before issuing keys. MediaPackage encrypts segments via a SPEKE key provider with keys in KMS. Per-tenant ABAC tags every resource; viewer sessions and PII live in DynamoDB on-demand with Global Tables and a TTL.
The full system with failure detection
The complete pipeline end to end on managed AWS. A manifest-age signal computed at the edge feeds CloudWatch; an alarm fires EventBridge to a Lambda that promotes the standby channel and repoints the origin group. A CloudFront Functions circuit breaker serves a slate when the origin is dying. Only the broadcaster's encoder lives outside AWS.