
🎬 Media & Entertainment · C4 Architecture · Pro
An OTT streaming service like a Netflix-style app: user apps, catalog and entitlement services, DRM, and delivery through a CDN.
C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.
Drawing diagram…
An OTT video streaming platform: viewers use smart TV, mobile and web apps that call an API gateway. Services: user and subscription service, catalog service, entitlement service, DRM licence service, playback service that returns the manifest URL, watch history and recommendation service. Video files are transcoded into HLS/DASH segments in object storage and delivered through a CDN. Payments via an external payment gateway.
C4Container
title OTT Streaming Platform
Person(viewer, "Viewer", "Watches shows and films")
System_Boundary(ott, "Streaming Platform") {
Container(apps, "Viewer Apps", "TV, mobile, web", "Browse and play")
Container(api, "API Gateway", "Envoy", "Auth and routing")
Container(catalog, "Catalog Service", "Java", "Titles and metadata")
Container(ent, "Entitlement Service", "Go", "Who can watch what")
Container(play, "Playback Service", "Go", "Manifest URLs")
Container(drm, "DRM Licence Service", "Widevine / FairPlay", "Decryption keys")
Container(reco, "Recommendations", "Python", "Personal rows")
ContainerDb(media, "Media Storage", "Object storage", "HLS/DASH segments")
}
System_Ext(cdn, "CDN", "Edge video delivery")
System_Ext(pay, "Payment Gateway", "Subscriptions")
Rel(viewer, apps, "Uses")
Rel(apps, api, "Calls")
Rel(api, catalog, "Routes")
Rel(api, play, "Routes")
Rel(play, ent, "Checks access")
Rel(apps, drm, "Gets licence")
Rel(apps, cdn, "Streams video")
Rel(cdn, media, "Pulls segments")
Rel(api, reco, "Routes")
Rel(ent, pay, "Subscription status")How an uploaded master video becomes adaptive streams: ingest, quality checks, transcoding into several resolutions, packaging, DRM and publishing.
How an article or video moves through a newsroom or media house: drafting, editing, legal review, scheduling and publishing across channels.
How a metered paywall works on a news or streaming site: free article count, the paywall, subscription purchase and entitlement.
How a live sports or concert stream reaches millions: venue encoders, cloud ingest and transcoding, packaging, and multi-CDN delivery.
A database schema for an OTT catalog: titles, seasons, episodes, people, genres, media assets and regional availability.
From recording to publishing a podcast episode: editing, show notes, review, and distribution to every podcast app.