IT Questions and Answers :)

Friday, August 30, 2019

What internet protocol is used to stream videos and audio on the internet?

What internet protocol is used to stream videos and audio on the internet?

  • UDP
  • IPX
  • IP
  • TCP

EXPLANATION

Drawbacks of using TCP for live video:
  1. Typically live video-streaming appliances are not designed with TCP streaming in mind. If you use TCP, the OS must buffer the unacknowledged segments for every client. This is undesirable, particularly in the case of live events; presumably your list of simultaneous clients is long due to the singularity of the event. Pre-recorded video-casts typically don't have as much of a problem with this because viewers stagger their replay activity; therefore TCP is more appropriate for replaying a video-on-demand.
  2. IP multicast significantly reduces video bandwidth requirements for large audiences; TCP prevents the use of IP multicast, but UDP is well-suited for IP multicast.
  3. Live video is normally a constant-bandwidth stream recorded off a camera; pre-recorded video streams come off a disk. The loss-backoff dynamics of TCP make it harder to serve live video when the source streams are at a constant bandwidth (as would happen for a live-event). If you buffer to disk off a camera, be sure you have enough buffer for unpredictable network events and variable TCP send/backoff rates. UDP gives you much more control for this application since UDP doesn't care about network transport layer drops.
FYI, please don't use the word "packages" when describing networks. Networks send "packets". 

Share:

0 comments:

Post a Comment

Popular Posts