CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
πŸŒ™β˜€οΈ
Log inStart free
Home/Templates/Media & Entertainment

🎬 Media & Entertainment · C4 Architecture · Pro

OTT Video Streaming Platform

An OTT streaming service like a Netflix-style app: user apps, catalog and entitlement services, DRM, and delivery through a CDN.

More Media & Entertainment templates

C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.

Drawing diagram…

What this diagram shows

  • Video segments are served from a CDN, not the app servers
  • Entitlement and DRM licence checks before playback
  • Watch history feeds recommendations

Prompt used

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.

Mermaid code
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")

Inside this diagram

A C4 architecture diagram of OTT Streaming Platform with 1 person, 8 building blocks, 2 outside systems and 10 relationships.

People

  • Viewer: Watches shows and films

Inside the system

  • Viewer Apps (TV, mobile, web): Browse and play
  • API Gateway (Envoy): Auth and routing
  • Catalog Service (Java): Titles and metadata
  • Entitlement Service (Go): Who can watch what
  • Playback Service (Go): Manifest URLs
  • DRM Licence Service (Widevine / FairPlay): Decryption keys
  • Recommendations (Python): Personal rows

Databases and queues

  • Media Storage (Object storage): HLS/DASH segments

Outside systems

  • CDN: Edge video delivery
  • Payment Gateway: Subscriptions

Boundaries

  • Streaming Platform

How they connect

  • Viewer β†’ Viewer Apps: Uses
  • Viewer Apps β†’ API Gateway: Calls
  • API Gateway β†’ Catalog Service: Routes
  • API Gateway β†’ Playback Service: Routes
  • Playback Service β†’ Entitlement Service: Checks access
  • Viewer Apps β†’ DRM Licence Service: Gets licence
  • Viewer Apps β†’ CDN: Streams video
  • CDN β†’ Media Storage: Pulls segments
  • API Gateway β†’ Recommendations: Routes
  • Entitlement Service β†’ Payment Gateway: Subscription status

Make your own diagram like this

Describe your own system in plain English and the AI C4 diagram generator draws it in seconds, in the same style as this template.

Related templates

Data FlowMedia & Entertainment

Video Transcoding Pipeline

How an uploaded master video becomes adaptive streams: ingest, quality checks, transcoding into several resolutions, packaging, DRM and publishing.

FlowchartMedia & Entertainment

Content Publishing Workflow

How an article or video moves through a newsroom or media house: drafting, editing, legal review, scheduling and publishing across channels.

SequenceMedia & Entertainment

Subscription Paywall Sequence

How a metered paywall works on a news or streaming site: free article count, the paywall, subscription purchase and entitlement.

DeploymentProMedia & Entertainment

Live Event Streaming Deployment

How a live sports or concert stream reaches millions: venue encoders, cloud ingest and transcoding, packaging, and multi-CDN delivery.

Database ERDMedia & Entertainment

Media Content Catalog Schema

A database schema for an OTT catalog: titles, seasons, episodes, people, genres, media assets and regional availability.

FlowchartMedia & Entertainment

Podcast Publishing Workflow

From recording to publishing a podcast episode: editing, show notes, review, and distribution to every podcast app.