Chapter 6
Streaming Technology and Digital Infrastructure
Bachelors Program in Mass Media Management
OTT & New Media Management
•
Bachelor
Streaming Technology and Digital Infrastructure
Introduction
Over-the-top (OTT) media depends on an interconnected technical system that acquires, stores, processes, protects, distributes and measures digital content. Viewers experience this system as a simple interface: they select a title and press play. Behind that action are content-management systems, media encoders, adaptive delivery protocols, content-delivery networks (CDNs), cloud platforms, digital-rights-management systems, application programming interfaces (APIs), advertising technologies and connected devices.
For media managers, technical literacy does not mean becoming a network engineer. It means understanding how infrastructure affects cost, reliability, audience experience, rights compliance, monetisation and strategic flexibility. A decision to adopt a new codec, migrate to the cloud, introduce advertising, or support additional devices has operational and financial consequences.
Learning Objectives
By the end of this chapter, students should be able to:
explain the architecture of a modern OTT streaming service;
distinguish containers, codecs, encoding, compression and transcoding;
evaluate adaptive bitrate streaming, CDN delivery and quality of service;
describe CMS, DRM, cloud infrastructure and API functions;
analyse connected-device, advertising and cybersecurity requirements;
interpret common streaming performance metrics;
make informed managerial decisions about cost, scale, reliability and user experience.
1. The OTT Streaming Architecture
A streaming service generally involves six stages:
Content acquisition: programmes arrive from studios, broadcasters, sports rights holders or creators.
Preparation: files are inspected, edited, captioned, subtitled, encoded and packaged.
Storage and management: master files, mezzanine files, metadata and distribution versions are stored and governed.
Protection and publication: rights rules, business rules and DRM policies are applied.
Delivery: video segments are distributed through origin servers and CDNs.
Playback and measurement: applications on phones, televisions, browsers and set-top boxes request, decode and display content while sending operational and audience data back to the platform.
OTT streaming architecture from content acquisition to viewer device
Figure: OTT streaming architecture from content acquisition to viewer device
Figure: Simplified OTT architecture showing the media path and supporting services.
The media path is only part of the system. Authentication, catalogues, payments, recommendations, advertising decisions, customer support and analytics operate through control-plane services. A failure in the control plane can prevent playback even when the video files and network are functioning.
2. Content Management Systems and Metadata
A media content-management system (CMS) is a platform for ingesting, organising, governing and publishing audiovisual assets. It commonly stores or references:
master and mezzanine files;
encoded renditions and subtitle files;
title, genre, language, cast and synopsis metadata;
artwork, trailers and promotional material;
territory, platform and time-window rights;
age ratings, accessibility information and advertising restrictions;
workflow status, version history and audit records.
A CMS is different from a consumer-facing app. The app presents content; the CMS controls what content exists, how it is described and where it may be shown. Poor metadata creates business problems: search becomes less effective, recommendations deteriorate, rights may be breached and reporting becomes unreliable.
A professional workflow normally separates a high-quality mezzanine file from delivery files. The mezzanine is a robust source used for future encoding, editing or distribution. Delivery files are optimised for particular resolutions, codecs and devices. Managers should require naming conventions, checksum verification, version control, automated validation and documented approval responsibilities.
Metadata governance is especially important when catalogues cross territories. A title may be available in one country but blocked in another; a soundtrack or subtitle may have separate rights; and an age rating may differ across jurisdictions. Rights metadata should therefore be structured rather than embedded only in free-text notes.
3. Encoding, Compression, Containers and Codecs
Digital video consists of large sequences of images accompanied by audio and other data. Compression reduces the number of bits required for storage or transmission. Encoding is the process of converting media into a specified compressed representation. Transcoding converts an already encoded asset into another representation, such as a different resolution or codec.
A codec—coder-decoder—is an algorithm or technology for encoding and decoding media. Common video codecs include AVC/H.264, HEVC/H.265, VP9 and AV1. Common audio codecs include AAC, Opus and Dolby formats. A container such as MP4, fragmented MP4 or WebM packages one or more encoded streams with timing, indexing and metadata. A container is not the same as a codec: an MP4 file may contain video encoded with AVC or HEVC.
Compression can be:
lossless, where the original data can be reconstructed exactly; or
lossy, where some information is discarded to achieve much greater size reduction.
Video compression exploits spatial redundancy within a frame and temporal redundancy between frames. Intra-coded frames contain substantial independent image information. Predictive frames refer to earlier or later frames. Greater compression can reduce delivery cost but may introduce blocking, blurring, banding or motion artefacts.
Encoding decisions involve resolution, frame rate, bitrate, keyframe interval, profile, level, colour space, audio configuration and quality-control settings. Higher resolution does not automatically mean higher perceived quality; a poorly encoded 4K stream can look worse than a well-encoded HD stream.
Bitrate and storage estimation
A useful planning approximation for storage is:
Storage (bytes) ≈ Bitrate (bits/s) × Duration (s) ÷ 8
The factor 8 converts bits to bytes. This estimate assumes a substantially constant average bitrate and excludes container overhead, audio, subtitles, redundancy and storage-system overhead. For variable-bitrate encoding, the average bitrate over the asset should be used.
Worked example. A 90-minute programme has an average video bitrate of 5 Mb/s and audio bitrate of 128 kb/s. The combined rate is 5.128 Mb/s. Duration is 5,400 seconds.
Data = 5.128 × 10⁶ × 5,400 ÷ 8 = 3,461,400,000 bytes, or approximately 3.46 GB using decimal units. Actual billed storage will be higher if multiple renditions and replicas are retained.
4. Adaptive Bitrate Streaming
A single stream cannot serve every viewer effectively because devices, access networks and congestion vary. Adaptive bitrate (ABR) streaming creates a ladder of versions, for example low, medium, HD and ultra-HD. Each version is divided into short, independently requestable segments. A manifest identifies the available representations and their locations.
Widely used approaches include HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH). Both use ordinary HTTP infrastructure and can therefore benefit from caching and CDN distribution. The player measures throughput, buffer occupancy, device capability and sometimes display conditions, then selects a suitable representation.
ABR creates a trade-off. Aggressive switching toward high quality can cause rebuffering if bandwidth falls. Conservative selection reduces interruptions but may underuse available capacity. Segment duration also matters: shorter segments permit faster adaptation but increase request overhead and may complicate encoding and live latency. Live services must additionally manage encoder delay, packaging delay, CDN propagation and player buffering.
Important playback metrics include:
startup time: time from play request to first rendered frame;
rebuffer ratio: time spent stalled divided by total viewing time;
average delivered bitrate: average media bitrate selected by the player;
video quality or quality of experience (QoE): perceived or modelled viewing quality;
fatal error rate: sessions that cannot begin or continue;
completion rate: proportion of starts reaching a defined endpoint.
A manager should not optimise only average bitrate. Viewers often value uninterrupted playback more than marginal resolution improvements.
5. CDN Delivery and Network Performance
A CDN distributes cached content through geographically dispersed edge locations. Instead of every viewer retrieving every segment from a central origin, popular segments are served from a nearby edge. This reduces origin load and can lower latency and transit costs.
A typical request proceeds as follows: the application requests a manifest; the DNS or traffic-management layer directs the request to an appropriate CDN; the edge checks its cache; on a miss, it retrieves the object from the origin or an upstream cache; subsequent users may receive the cached object.
Key concepts include:
cache hit: requested object is available at the edge;
cache miss: edge must retrieve the object elsewhere;
origin shield: an additional caching layer protecting the origin;
egress: data leaving a cloud or network environment, often billed;
peering and transit: relationships that affect network route and cost;
multi-CDN: use of more than one CDN for resilience, reach or commercial leverage.
For a rough unicast bandwidth estimate:
Bandwidth ≈ Concurrent viewers × Average delivered bitrate
If 20,000 viewers each receive an average of 4 Mb/s, aggregate media delivery is approximately 80,000 Mb/s, or 80 Gb/s, before protocol overhead. This is a planning estimate, not a complete capacity model; traffic bursts, audio, retries, manifests, encryption, regional distribution and overhead must also be considered.
Managers should negotiate CDN contracts using measurable service levels: availability, latency, cache performance, incident response, reporting accuracy and data-transfer pricing. A low per-gigabyte price may be unattractive if the provider has poor regional reach or weak operational support.
6. Digital Rights Management and Content Security
Digital rights management (DRM) combines encryption, licence issuance, authentication and policy enforcement. Encryption protects media so that possession of a segment does not automatically provide usable content. A player obtains a licence from a licence service, subject to identity, territory, device, subscription and time rules.
Common commercial ecosystems include Widevine, PlayReady and FairPlay. Their availability and implementation differ across operating systems and devices. DRM does not eliminate piracy: authorised playback can still be captured, credentials can be abused and insecure devices can be attacked. DRM should therefore be combined with forensic watermarking where appropriate, secure application design, account controls and monitoring.
A rights architecture should answer:
Who may view the title?
In which territory and during what period?
On which device classes and subscription tiers?
Is downloading permitted?
Are screenshots, casting or external displays restricted?
How are keys rotated and revoked?
Security controls must be proportionate. Excessive restrictions can damage accessibility, legitimate offline use and customer satisfaction. Rights enforcement also requires accurate metadata and dependable clock, identity and entitlement services.
7. Cloud Infrastructure and APIs
Cloud infrastructure provides on-demand compute, storage, networking, databases and managed services. OTT platforms often use object storage for media, container or virtual-machine workloads for processing, databases for catalogues and entitlements, and serverless or managed services for selected event-driven tasks.
The cloud does not remove management responsibility. Costs can arise from storage, requests, transcoding, database operations, data transfer, logging and backup. A platform should distinguish hot storage for frequently accessed objects from lower-cost archival storage. It should also define recovery-point objectives (how much data loss is acceptable) and recovery-time objectives (how quickly service must be restored).
APIs connect the app to platform services. Examples include APIs for login, catalogue search, playback authorisation, recommendations, payment, advertising, subtitles and analytics. Good API management requires authentication, authorisation, versioning, rate limiting, documentation, observability and backward compatibility. A breaking API change can disable older television applications that users cannot update easily.
A useful architectural distinction is between synchronous and asynchronous operations. A playback-authorisation request usually needs a quick synchronous response. Large-scale transcoding may be submitted as an asynchronous job and completed later through a queue and notification mechanism. This distinction improves scalability and user experience.
8. Advertising Technology and Measurement
Ad-supported OTT services use technology to select, insert, deliver and measure advertising. In client-side ad insertion (CSAI), the player requests an advert and switches between content and advertising. In server-side ad insertion (SSAI), advertising segments are assembled into the stream or manifest, often making the experience more television-like and reducing some ad-blocking techniques.
The ad ecosystem may include an ad decision server, supply-side and demand-side platforms, a data-management or customer-data platform, measurement services and privacy-consent systems. Targeting can use contextual, demographic, behavioural or first-party signals, but data use must comply with applicable privacy laws and platform policies.
Managers must monitor fill rate, impressions, completion, viewability where technically measurable, effective revenue, latency and error rates. Advertising should not be evaluated only by gross impressions. Poorly timed advertisements can increase abandonment, while excessive frequency can reduce long-term customer value. Frequency capping, content suitability, competitive separation and clear labelling are governance requirements as well as commercial practices.
9. Connected Devices and Accessibility
OTT applications operate on smartphones, tablets, browsers, game consoles, smart televisions, streaming sticks and set-top boxes. These environments differ in processing power, operating-system version, DRM support, display capability, remote-control interaction, update policy and telemetry.
Device fragmentation makes quality assurance expensive. A release should be tested across representative device families rather than only on a developer laptop. Compatibility matrices should include codec support, maximum resolution, HDR formats, audio output, subtitle rendering, seek behaviour, sleep and resume, casting, parental controls and network transitions.
Accessibility is a technical and managerial obligation. Services should support captions, subtitles, audio description, readable interface design, keyboard or remote navigation, sufficient contrast and understandable error messages. Accessibility assets must be treated as first-class content with versioning and rights metadata.
10. Cybersecurity, Privacy and Resilience
OTT platforms face credential stuffing, account takeover, piracy, API abuse, denial-of-service attacks, malicious uploads, supply-chain vulnerabilities and exposure of personal data. A defence-in-depth approach includes:
least-privilege access and strong identity management;
encryption in transit and at rest;
secure key management and rotation;
vulnerability scanning, patching and dependency governance;
web-application firewalls and rate limits;
secure software development and code review;
centralised logging, alerting and incident response;
backups, failover tests and disaster-recovery exercises.
Privacy governance should specify what is collected, why it is collected, how long it is retained, who may access it and how users exercise their rights. Analytics identifiers should not automatically be treated as harmless. Device IDs, viewing histories and inferred interests may be personal data under relevant legal frameworks.
Resilience includes redundancy across availability zones, regions, providers and operational teams. However, redundancy increases complexity and cost. A manager should identify critical dependencies—identity, DNS, DRM licences, payment, CDN and analytics—and test failure scenarios rather than assuming that a multi-cloud diagram guarantees continuity.
11. Quality of Service and Quality of Experience
Quality of service (QoS) describes measurable technical performance, while quality of experience (QoE) concerns the user’s perceived experience. QoS indicators include throughput, latency, packet loss, error rate, availability and response time. QoE indicators include startup delay, stalling, quality switches, crashes, abandonment and satisfaction.
A service-level objective might require that 99.9% of playback-authorisation requests complete within a specified time, or that rebuffer ratio remain below a defined threshold for a target population. Metrics must have clear scopes and measurement methods. A global average can conceal serious failures in a particular country, device family or ISP.
Operational teams commonly use real-time dashboards, synthetic tests, real-user monitoring and distributed tracing. Root-cause analysis should correlate application events with CDN logs, encoder health, API latency, device models and network conditions. Business metrics should also be connected: a payment outage may appear as a fall in starts, while a manifest error may appear as unexplained churn.
A fictional media company, MetroSport, plans to stream a national basketball tournament to 150,000 peak concurrent viewers across three countries. It offers a subscription tier and a lower-priced advertising tier. Rights are limited by territory, mobile downloads are prohibited and selected matches require low-latency live delivery.
Problem
A pilot event produced long startup times, overloaded the origin, inconsistent subtitles and unauthorised viewing from outside the licensed territory. The company also discovered that several older smart televisions did not support its preferred codec.
Analysis
The technical review identified four connected causes. First, the service used a single origin without adequate shielding. Second, all devices were sent the same high-bitrate profile rather than an ABR ladder. Third, rights checks were performed only at account login, not at playback authorisation. Fourth, subtitle files were manually attached and lacked consistent metadata.
Approach and solution
MetroSport adopted a mezzanine-based workflow and produced a tested ABR ladder using a broadly supported codec, with a more efficient codec offered when device capability permitted. It used two CDN providers, origin shielding and pre-positioning of live segments where supported. Playback tokens included title, territory, expiry and device-policy information, and DRM licences enforced the entitlement decision.
The company created automated subtitle validation, a device-compatibility matrix and synthetic tests from each target country. For live latency, it reduced segment and player-buffer targets only after confirming that the CDN and encoder could sustain the increased request rate. The advertising tier used server-side insertion but preserved frequency and suitability controls.
Outcome
In the subsequent test, origin requests fell substantially because of edge caching, unsupported-device errors declined, and territorial violations were detected earlier. MetroSport did not pursue the absolute lowest latency for every viewer; instead, it defined separate targets for ordinary live viewing and premium low-latency matches. This reduced operational risk while meeting the commercial requirement.
Learning points
The case demonstrates that streaming performance is a systems problem. Codec selection, device support, rights enforcement, CDN architecture, metadata quality and business design must be evaluated together. A technically impressive component cannot compensate for weak operational governance.
Managerial Decision Framework
When evaluating a streaming infrastructure proposal, managers should ask:
Audience: Which countries, devices, networks and accessibility needs must be supported?
Content: What are the resolutions, languages, live or on-demand requirements and rights windows?
Experience: What startup, latency, availability and rebuffering targets are commercially necessary?
Economics: What are the storage, encoding, CDN, licence, support and data-transfer costs at expected scale?
Security: What assets, identities and personal data require protection?
Interoperability: Can APIs, codecs, DRM and applications work across current and future platforms?
Resilience: What happens if a CDN, cloud region, identity provider or DRM service fails?
Governance: Who owns metadata, incidents, privacy, accessibility and rights decisions?
The best architecture is rarely the one with the most features. It is the one whose capabilities, cost and operational complexity match the service’s audience and strategic objectives.
Contemporary Developments and Limitations
Efficient codecs, low-latency protocols, edge computing, cloud-based production, immersive formats and machine-learning-assisted recommendations are changing OTT infrastructure. AI can assist with speech-to-text, translation, content moderation, metadata enrichment, highlight generation and encoding optimisation. These applications require human review because transcription, classification and recommendation systems can reproduce bias or make consequential errors.
Technical standards and device support evolve unevenly. A platform may gain compression savings from a new codec but lose reach among older devices or increase encoding costs. Similarly, multi-CDN deployment may improve resilience but complicate debugging and contracts. Managers should therefore use pilots, controlled measurements, total-cost analysis and lifecycle planning rather than adopting technologies solely because they are newer.
Chapter Summary
OTT streaming is an integrated infrastructure business rather than a single application. Content is ingested into a CMS, described with governed metadata, encoded into multiple representations, packaged and protected, cached by CDNs, and delivered to diverse connected devices. ABR allows playback to adapt to changing bandwidth and device conditions, while QoS and QoE metrics reveal whether the service is reliable and usable.
Codecs compress media; containers package streams; DRM manages protected playback; APIs connect applications and platform services; cloud infrastructure supplies scalable but metered resources; and ad technology links viewing experiences to monetisation. Cybersecurity, privacy, accessibility, resilience and rights compliance must be designed into the system. Managerial decisions should balance quality, reach, cost, security, operational complexity and strategic flexibility.
Key Terms
Adaptive bitrate streaming: Delivery of multiple media representations so the player can adapt quality to conditions.
API: A defined interface through which software systems exchange requests and data.
ABR ladder: The set of encoded representations available for adaptive selection.
Cache hit: A request served from a CDN cache without retrieving the object from origin.
CDN: A distributed network of edge servers that delivers content near users.
Codec: Technology used to encode and decode compressed media.
Compression: Reduction of data required to represent media.
Container: File format that packages encoded audio, video and related metadata.
DRM: Systems that encrypt content and enforce playback licences and policies.
Encoding: Conversion of media into a specified digital representation.
Mezzanine file: High-quality source file used to create delivery versions.
Metadata: Structured information describing content, rights and technical characteristics.
Origin server: Authoritative source from which CDN edges retrieve content.
QoE: User-perceived quality of a media service.
QoS: Measurable technical performance of a service or network.
SSAI: Server-side ad insertion in which advertising is assembled into the stream or manifest.
Transcoding: Conversion from one encoded media representation to another.
Unicast: Individual delivery of a stream or segment to each viewer.
Review Questions
Short Answer Questions
What is the difference between a codec and a container?
Why is metadata governance important in an OTT CMS?
What is the function of a CDN edge cache?
Distinguish DRM from encryption.
Name three metrics used to evaluate streaming QoE.
Long Answer Questions
Explain the end-to-end architecture of an OTT streaming service and identify the role of the control plane.
Discuss the principal managerial trade-offs involved in codec and encoding selection.
Explain how ABR streaming works and analyse the consequences of segment duration and buffer policy.
Compare client-side and server-side ad insertion, including technical and governance considerations.
Develop a cybersecurity and resilience plan for a regional streaming platform.
Analytical / Application Questions
A service expects 30,000 concurrent viewers receiving an average of 3.5 Mb/s. Estimate aggregate media bandwidth and explain why the estimate should not be treated as final capacity.
A new codec reduces storage and delivery cost but is unsupported by 25% of the installed television base. Recommend a decision process for the platform manager.
During a live event, startup time rises and rebuffering increases while origin CPU remains normal. Identify likely causes across CDN, encoding, application and device layers, and propose diagnostic steps.
Multiple Choice Questions with Answers
Question 1
Which statement correctly distinguishes a codec from a container?
A. A codec packages files, while a container encrypts them.
B. A codec encodes and decodes media, while a container packages encoded streams and metadata.
C. A codec is a CDN, while a container is an API.
D. A codec describes rights, while a container selects advertisements.
Correct Answer: B. A codec encodes and decodes media, while a container packages encoded streams and metadata.
Question 2
A 90-minute programme has a combined average bitrate of 5.128 Mb/s. Approximately how much data does one encoded version require, excluding overhead?
A. 0.346 GB
B. 3.46 GB
C. 34.6 GB
D. 346 GB
Correct Answer: B. 3.46 GB
Question 3
What is the principal purpose of adaptive bitrate streaming?
A. To eliminate the need for content metadata
B. To guarantee identical quality on every device
C. To allow playback quality to respond to changing network and device conditions
D. To replace DRM with compression
Correct Answer: C. To allow playback quality to respond to changing network and device conditions
Question 4
What happens during a CDN cache miss?
A. The player permanently stops playback
B. The edge retrieves the requested object from an origin or upstream cache
C. The content is automatically deleted from the origin
D. The device changes its operating system
Correct Answer: B. The edge retrieves the requested object from an origin or upstream cache
Question 5
Which item is most directly associated with DRM?
A. Licence issuance and encrypted playback
B. Colour grading of a master file
C. Creation of a programme synopsis
D. Measurement of social-media shares
Correct Answer: A. Licence issuance and encrypted playback
Question 6
If 20,000 viewers each receive an average of 4 Mb/s, the approximate aggregate media bandwidth is:
A. 5 Gb/s
B. 20 Gb/s
C. 80 Gb/s
D. 800 Gb/s
Correct Answer: C. 80 Gb/s
Question 7
Which practice best supports API reliability across older connected televisions?
A. Frequent undocumented breaking changes
B. Versioning and backward compatibility
C. Removing authentication from playback requests
D. Storing all API responses only on users’ devices
Correct Answer: B. Versioning and backward compatibility
Question 8
Which statement best describes quality of experience?
A. It concerns only cloud-storage capacity
B. It is the user’s perceived experience, informed by measures such as startup delay and stalling
C. It is identical to video resolution
D. It is a synonym for encryption strength
Correct Answer: B. It is the user’s perceived experience, informed by measures such as startup delay and stalling
Question 9
Which is an important privacy governance question for an OTT service?
A. How can all viewing data be retained indefinitely?
B. What data is collected, why it is collected and how long it is retained?
C. How can accessibility features be removed?
D. How can device testing be avoided?
Correct Answer: B. What data is collected, why it is collected and how long it is retained?
Question 10
Why might a platform use a mezzanine file?
A. As a low-quality thumbnail only
B. As a high-quality source for creating future delivery versions
C. As a replacement for a CDN
D. As a user password database
Correct Answer: B. As a high-quality source for creating future delivery versions