What is the difference between Progressive Download, RTMP Streaming and Adaptive Streaming

时间:2022-12-21 08:15:14

http://www.mediaentertainmentinfo.com/2015/04/6-concept-series-what-is-the-difference-between-progressive-download-rtmp-streaming-and-adaptive-streaming.html/


Online Video Delivery Background

Rewind few years and the only mode for content playback was to download the complete file which meant waiting for several minutes based on the connection speed before viewing could be possible.  But in last 5 few years, online video has taken a major leap with service providers having a critical task to ensure seamless viewing experience for its subscribers. This mission gets more complex with network variations, shared nature of internet pipe, variations in device capability and more. Currently, three key technologies namely progressive download, RTMP/RTSP streaming and adaptive streaming fill all segments of online video delivery. The three video delivery models are technically different but are equally popular based on the nature of end use. Let us understand the difference between them.

Progressive Download or HTTP Streaming

An evolution to simple download was server based delivery over HTTP where, as the file is sufficiently downloaded (or buffered) on client machine, it can be played back. This basic version is calledProgressive Download.  Download of content happens sequentially (linear) and hence skipping ahead is not allowed. Progressive download was a significant improvement from earlier simple download where users could not play until entire file was not downloaded. Progressive download gave feeling of streaming and reduced waiting time for playback. It is easy to implement, requires no special web servers and content gets downloaded over standard HTTP over TCP. It works on universal browser port and media-players begin to video playback as soon as minimum file is downloaded. But progressive download presents concerns with security due to local caching of downloaded content, absence of monitoring and quality adjustment, restriction of linear playback (i.e. inability to jump ahead unless that portion is already download) and amount of wasted bandwidth for non-viewed content.

RTMP/RTSP chunk based delivery

A content delivery mechanism using specialized streaming servers (e.g. Flash media Server, Wowza etc.) over RTMP (Real Time Messaging Protocol) or RTSP (Real time streaming protocol) streaming protocols. It offers content security by transferring chunks of media which get instantly consumed by the media player without any local caching. It supports streaming of live content (i.e. streaming content as it is getting generated or captured) and being stateful connected protocol, server can detect environment changes and make transfer speed decisions to improve user experience.  It enables fast forward and rewind of video and saves bandwidth by downloading content just in time. The technology takes advantage of delivery over UDP protocol (with TCP rollover) and can achieve much faster transfer rates. It further uses trick modes by providing initial burst of content data to immediately start playback.

Adaptive Streaming – Best of both world’s or multi-bit rate streaming MBR

Most popular form of video streaming with benefits of quality switching and ease of delivery over HTTP. It aggregates segments of multi-bit encoded videos (typically 5 -10 sec each) which are indexed and referenced by the client using a manifest file. This manifest file contains index of chunks and their location. Client downloads the manifest file and periodically requests for highest quality of video which its environment can support using manifest lookup. The flexibility to switch video segments based on CPU availability, network conditions etc. ensures un-interrupted playback. The technology can successfully manage combination of device (low and high performance) and network (slow and fast) conditions to get best viewing experience. E.g. every few seconds client can evaluate its environment and if network connection is good, it requests/receives high bitrate stream and if connection speed drops, degrades to a lower bit-rate content while ensuring continuous playback. There are three established adaptive streaming technologies available today, these are Adobe’s HDS (HTTP Dynamic Streaming), Apple’s HLS (HTTP Live Streaming) and Microsoft’s Smooth Streaming and an emerging specification from MPEG standards body, MPEG DASH.

Difference between Progressive Download, Streaming and Adaptive Streaming

All video delivery technologies are widely used today and each has its own unique benefits and challenges. Decision to select a particular video delivery mode largely depends on the requirements, budget, nature of content, network conditions among others.