Open In App
Related Articles

Streaming Stored Video

Improve
Improve
Improve
Like Article
Like
Save Article
Save
Report issue
Report

Streaming of videos involve, storing of prerecorded videos on servers.

  • Users send request to those servers.
  • Users may watch the video from the start till the end, and may pause it anytime, do a forward or reverse skip, or stop the video whenever they want to do so.

There are 3 video streaming categories:

1. UDP Streaming
2. HTTP Streaming
3. Adaptive HTTP Streaming 

Usually, today’s system employs HTTP and Adaptive HTTP Streaming. Common characteristic of these three streaming technique is that the extensive use of Client-Side Buffering. Advantages of Client Buffering:

  1. Client side buffer absorbs variations in server-client delay. Until the delayed packet is received by the client, the received-but not yet-played video will be played.
  2. Even if bandwidth drops, user can view the video until the buffer is completely drained.

1. UDP STREAMING: UDP servers send video chunks (Chunk: unit of information that contains either control information or user data) to clients, based on client’s consumption rate. It transmits chunks at a rate, that matches client’s video consumption rate by clocking out video chunks over UDP over steady state. For example,

Video consumption rate = 2Mbps
Capacity of one UDP packet = 8000 bits

Therefore, 
Transmission rate = 8000 bits/2 Mbps = 4000 msec 

Properties:

  • UDP does not use congestion-control mechanism. Video chunks are encapsulated before transmission using RTT (Real-Time Transport) Protocol.
  • Additional client-server path is maintained to inform the client state to server like pause, resume, skip and so on.

Drawbacks:

  • Bandwidth is unpredictable and varying between client and server.
  • UDP streaming requires a separate media control server like RTSP server(Real-Time Streaming Protocol) to track client state(pause, resume etc).
  • Devices are configured with firewalls to block UDP traffic which prevents the reception of UDP packets to clients.

2. HTTP STREAMING: Video is stored in an HTTP server as a simple ordinary file with a unique URL. Client establishes TCP connection with server and issues a HTTP GET request for that URL. Server sends the video file along with an HTTP RESPONSE. Now the client buffer grabs the video and then displayed on user screen. Advantages:

  • Use of HTTP over TCP allows the video to traverse firewalls and NATs easily.
  • Does not need any media control servers like RTSP servers causing reduction in cost of large-scale deployment over internet.

Disadvantages:

  • Latency or lag between a video is recorded and played. This can make the viewers more annoyed and irritated. Only a few milliseconds delay is acceptable.
  • Early pre-fetching of video, but, what if, the user stops playing the video at a early stage? Wastage of data is not appreciated.
  • All clients receive the same encoding of the video, despite the large variations in bandwidth amount available to different clients and also for same client over time.

Uses: Youtube and Netflix uses HTTP streaming mechanism. 3. ADAPTIVE HTTP STREAMING: The major drawbacks of HTTP streaming, lead to development of new type of HTTP based streaming referred to as DASH (Dynamic Adaptive Streaming over HTTP). Videos are encoded into different bit rate versions, having different quality. The host makes a dynamic video request of few seconds in length from different bit versions. When bandwidth is high, high bit rate chunks are received hence high quality similarly, low quality video during low bandwidth. Advantages:

  • DASH uses the user to switch over different qualities of video on screen.
  • Client can use HTTP byte-range request to precisely control the amount of pre-fetched video that is locally buffered.
  • DASH also stores the audio in different versions with different quality and different bit-rate with unique URL.

So the client dynamically selects the video and audio chunks and synchronizes it locally in the play-out. Uses: COMCAST uses DASH for streaming high quality video contents.

Advantages of Streaming Stored Video

  • Convenience: Streaming stored video allows users to access content at any time, without the need for a physical media or download.
  • Increased Accessibility: Streaming stored video makes it easier for users to access content, as it eliminates the need for physical storage and retrieval of media.
  • On-demand Content: Streaming stored video allows users to choose what they want to watch, and when they want to watch it, rather than having to conform to a schedule.
  • Increased User Experience: Streaming stored video provides a better viewing experience compared to traditional broadcast, as it allows for higher quality video and improved interactivity.
  • Scalability: Streaming stored video can be scaled to meet the demands of large numbers of users, making it a reliable solution for large-scale video distribution.

Applications of Streaming Stored Video

  • Online Entertainment: Streaming stored video is commonly used for online entertainment, allowing users to access movies, TV shows, and other content from the internet.
  • Video Conferencing: Streaming stored video is used for video conferencing, allowing for real-time communication between participants.
  • Education: Streaming stored video is used in education to facilitate online classes and lectures.
  • Corporate Communications: Streaming stored video is used in corporate communications to share important information with employees and stakeholders.
  • Advertising: Streaming stored video is used for advertising, allowing businesses to reach target audiences with video content.

Last Updated : 19 Feb, 2023
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads