Skip to main content

Streaming media

Streaming allows users to instantly watch video and audio content by delivering it in real time over the internet. Whether for live streaming or video on demand (VOD), streaming relies on a series of processes that ensure the smooth delivery of media, from encoding the video to dynamically adjusting its quality based on network conditions. By leveraging Momento Media Storage as the origin, you can optimize the storage and retrieval of segments to ensure fast, reliable access for viewers.

Encoding and adaptive bitrate streaming (ABR)

The streaming process starts with encoding, where raw video is transcoded into multiple bitrates and resolutions, making it suitable for streaming over the internet. Each version of the video is divided into segments, which are small chunks of video a few seconds in length. These segments are stored in Momento Media Storage, ready to be served on demand to content delivery networks (CDNs).

To adapt to varying network conditions, video players use adaptive bitrate streaming (ABR), which allows them to dynamically switch between different quality levels. This is managed through an ABR ladder, a set of streams with different bitrates and resolutions, stored in Momento Media Storage. The player selects the appropriate quality based on the viewer’s available bandwidth to minimize buffering, maintain the best possible video quality, and maximize the zero buffer rate (ZBR).

Types of streaming

Live streaming

Live streaming enables real-time broadcasting of events such as sports, concerts, or webinars. One of the key challenges in live streaming is minimizing glass-to-glass latency - the time between capturing an event and displaying it on the viewer’s screen. Bringing this latency as close to zero as possible is key for differentiating yourself against comptetitors.

In a live streaming workflow, the video feed is encoded into segments and sent to Momento Media Storage, which acts as the origin for storing and delivering those segments. By leveraging Momento's ultra-low-latency architecture, you can ensure that segments are available for near-instant retrieval by CDNs, reducing latency and improving the overall streaming experience.

Video on demand (VOD)

In contrast to live streaming, video on demand (VOD) allows users to stream pre-recorded content whenever they choose. The challenge here is ensuring that media is stored and retrieved quickly enough to deliver an uninterrupted viewing experience, especially during peak usage periods.

Momento Media Storage provides the ideal solution for VOD workflows. As the origin, it stores both video segments and manifest files with in-memory storage, allowing video players to access content with minimal delay. This enables fast retrieval times and reduces buffering, making sure viewers can enjoy their content, regardless of network conditions.

Content delivery and storage

Efficient content delivery makes or breaks the success of both live streaming and VOD. Once video segments are stored in Momento Media Storage, they are distributed upon request to CDN points of presence (PoPs) to bring the content closer to the end users. The role of Momento Media Storage is to serve as the primary storage for all video segments and manifest files. By keeping this content in-memory, Momento Media Storage provides ultra-low latency access, ensuring that CDNs can quickly retrieve the necessary files for distribution.

This origin-to-CDN workflow is what enables smooth, fast playback across all devices and networks. Without a fast, reliable origin, video players would struggle to fetch segments quickly enough, leading to buffering and poor viewer experiences.