What is manifest manipulation?
Manifest manipulation, in the context of streaming, refers to the process of modifying or manipulating the manifest file associated with a streaming protocol. The manifest file, such as the Media Presentation Description (MPD) in MPEG-DASH or the playlist file in HTTP Live Streaming (HLS), contains information about the structure, metadata, and URLs of media segments or chunks.
Manifest manipulation can involve various actions, including:
1. Dynamic Bitrate Adaptation: Manifest manipulation allows for dynamic changes in the available bitrate versions of the media content. By modifying the manifest file in real-time, the available bitrate options can be adjusted based on the viewer's network conditions, device capabilities, or specific requirements. This enables adaptive bitrate streaming protocols to adaptively switch between different quality levels during playback.
2. Content Insertion: Manifest manipulation can be used to dynamically insert additional content, such as advertisements, overlays, or interactive elements, into the streaming content. By modifying the manifest file to include references to the inserted content, streaming platforms can seamlessly integrate additional elements into the media stream.
3. Live Streaming Updates: In the case of live streaming, manifest manipulation allows for the real-time updates of the manifest file to reflect changes in the ongoing live event. This can involve adding new segments as they become available, updating segment durations, or adjusting the playlist to reflect the current state of the live stream.
4. Content Protection: Manifest manipulation can be used to incorporate Digital Rights Management (DRM) mechanisms into the streaming process. This involves modifying the manifest file to include DRM-specific metadata, encryption keys, or access control information to protect the content from unauthorized access or piracy.
5. URL Manipulation: Manifest manipulation can involve modifying the URLs or references within the manifest file to control the source or location of the media segments. This can be used for various purposes, such as content delivery optimization, CDN switching, or ensuring compatibility with specific streaming environments.
Manifest manipulation techniques are typically employed by streaming platforms, content providers, or content delivery networks (CDNs) to optimize the streaming experience, customize content delivery, or implement specific features. It allows for dynamic adjustments to the manifest file, enabling real-time adaptations, content enhancements, or the integration of additional elements into the streaming process.
Article written by
Sylvain Corvaisier

Independent streaming and iOS engineer
Last modified: January 6th, 2025