Home

 / Blog / 

Media Streaming - Everything You Need To Know

Media Streaming - Everything You Need To Know

December 3, 20235 min read

Share

Media Streaming | Cover Image.png

Definition

Media streaming is a technology that enables the continuous transmission and playback of audio and video files from a server to a client over the internet or a network, without the need for complete file downloads. This process involves data being sent in a compressed format and being played as it arrives at the client device. Streaming relies on protocols and standards like HTTP Live Streaming (HLS) and Dynamic Adaptive Streaming over HTTP (DASH) for efficient delivery and adaptability to different network conditions and bandwidths.

What does it really mean?

Imagine media streaming like a restaurant with a conveyor belt for dishes. Instead of waiting for a full meal to be cooked and served at once (like downloading a whole file), the dishes (audio or video data) are continuously prepared and placed on the conveyor belt. As you sit at your table (the client device), you can start eating (viewing or listening) the dishes as they arrive, without waiting for the entire meal to be served. The conveyor belt adjusts the flow of dishes based on how fast you're eating, similar to how streaming adapts to your internet speed and quality.

History of Media Streaming

The history of media streaming is a fascinating journey through technological innovation and internet evolution. It began in the early 1990s, marking the transition from traditional media consumption, like radio and television, to digital formats.

In the early 1990s, the concept of streaming media was nascent. The internet was still in its infancy, and bandwidth limitations were a significant hurdle. One of the first notable efforts in media streaming came with the advent of the RealAudio player in 1995, developed by RealNetworks. This software allowed users to listen to audio streams over the internet, even with the slow dial-up connections common at the time. Although the quality was far from perfect, RealAudio demonstrated the potential of streaming technology.

The late 1990s and early 2000s saw rapid advancements in internet technology and bandwidth. This period marked the development of more sophisticated streaming formats and players, such as Microsoft's Windows Media Player and Apple's QuickTime. Video streaming also became viable during this period, though it was still limited by bandwidth constraints and required significant buffering time.

The introduction of Adobe Flash in the early 2000s was a game-changer for video streaming. Flash provided a unified platform that worked across various browsers and operating systems, significantly enhancing the accessibility and quality of video streams. Websites like YouTube, founded in 2005, leveraged Flash to revolutionize how video content was shared and consumed on the internet.

In the 2010s, with the widespread adoption of broadband internet and the emergence of smartphones, streaming media entered a new era. Services like Netflix, Hulu, and Spotify began offering extensive libraries of video and audio content on demand, fundamentally altering how people accessed and consumed media. The introduction of adaptive bitrate streaming technology, such as HLS (HTTP Live Streaming) and MPEG-DASH (Dynamic Adaptive Streaming over HTTP), allowed for smoother streaming experiences with less buffering, adapting the quality of the stream in real-time to the user's internet speed.

The current landscape of media streaming is marked by an abundance of services and platforms, each offering vast libraries of on-demand content. Technologies like 4K video and high-fidelity audio streaming are becoming more common, pushing the boundaries of quality. The emergence of cloud-based gaming platforms also signifies the expansion of streaming technology beyond traditional media, showcasing its versatility and potential for future growth.

How does media streaming work?

Media streaming is a complex process that involves several key components working together to deliver audio and video content over the internet in real time.

Content Preparation

The first step in media streaming is content preparation. This involves digitizing the content if it isn't already in a digital format. For instance, a live broadcast needs to be captured using cameras and microphones, while pre-recorded content is stored in digital files. Once the content is in digital form, it undergoes compression using codecs (compressor-decompressor). These codecs reduce the size of the audio and video files while attempting to maintain their quality. Common video codecs include H.264 and VP9, while audio codecs include AAC and MP3. Compression is crucial as it makes the streaming of high-quality content feasible over various internet speeds.

Content Delivery

Once compressed, the content needs to be delivered to the end-user. This is typically done using a content delivery network (CDN), which is a network of servers strategically located around the globe. CDNs store and distribute content to minimize latency – the delay before the content starts playing. When a user requests a stream, the CDN directs this request to the server closest to the user’s location. This proximity reduces travel time for the data, ensuring faster delivery and less buffering.

Adaptive Streaming

One of the most significant advancements in media streaming technology is adaptive streaming. Instead of streaming content at a single quality level, adaptive streaming allows the stream quality to dynamically adjust based on the user's internet speed and device capabilities. This is achieved by creating multiple versions of the content at different quality levels and resolutions. The streaming server then selects the most appropriate version in real-time based on the user’s current internet speed. Protocols like HLS and MPEG-DASH are used for adaptive streaming.

Streaming Protocols and Transfer

The actual transfer of content from the server to the user's device is facilitated by streaming protocols. These protocols, such as Real-Time Streaming Protocol (RTSP), Real-Time Messaging Protocol (RTMP), and the aforementioned HLS and DASH, are rules that define how data is packaged and transported. They ensure that the data is sent in small chunks (packets), allowing for continuous playback as the data arrives rather than waiting for the entire file to download.

Client-Side Processing

At the receiving end, the user's device (be it a computer, smartphone, or smart TV) uses a media player to decode and play the stream. This player unpacks the received data packets, decodes the compressed audio and video, and displays it on the screen or plays it through the speakers. The media player also manages buffering – temporarily storing portions of the content on the device to ensure smooth playback without interruptions.

User Interaction and Control

Media streaming also includes user interaction features such as play, pause, rewind, or fast-forward. Unlike traditional downloads, where these actions are applied to a fully downloaded file, in streaming, these commands need to be communicated back to the server, which then adjusts the stream accordingly. For live streams, however, options like rewind and fast-forward are more complex and may be limited or unavailable.

Frequently Asked Questions

What is a media streaming platform?

A media streaming platform is a digital service that offers on-demand or live audio and video content, accessible via internet-connected devices. It utilizes streaming technology to provide seamless playback adapted to user's internet speed and device specifications.

Do I need a streamer if I have a smart TV?

If your Smart TV supports the streaming platforms you wish to use, you do not need an additional streaming device. Smart TVs typically have built-in apps and internet connectivity for direct streaming.

What is an example of a streaming media?

An example of streaming media is watching a movie on Netflix or listening to a song on Spotify, where the content is played in real-time over the internet without requiring a full download.

References

Glossary

Share

Related articles

See all articles