Question

In: Computer Science

Users prefer to stream high quality videos (e.g., watch YouTube) without lagging (i.e., slow loading). In...


Users prefer to stream high quality videos (e.g., watch YouTube) without lagging (i.e., slow loading). In this context, explain how UDP is better than TCP when streaming videos?
* please Use your own words , no copy and paste AND No handwriting.

Solutions

Expert Solution

For high-quality video streaming UDP is better than TCP in the following ways:

  • UDP is a connectionless protocol (convention), where bundles can be conveyed of request and can be recreated at the recipient end.
  • UDP is appropriate for YouTube-like video gushing applications since they can give quick reaction time which is accomplished as a result of no request for conveyance.
  • UDP needn't bother with a start to finish association and it’s a non-dependable protocol (convention).
  • No Acknowledgment Required (Packets can be lost in travel). So any packet (bundle) that is required to send wouldn't like to sit tight for affirmation of the past packet (bundle). Thus, UDP can send packets immediately.
  • UDP has Essential blunder checking as a contrast with extensive-error checking and stream control in TCP.
  • UDP provides decreased flexibility over TCP dependability.
  • UDP gives you much more control for this application since UDP doesn't care about declines in the network transmission layer.
  • In the event of time-delicate applications, UDP is a quicker protocol (convention) as it doesn't wait for affirmation from the customer side and re-transmission of the lost packet (bundle).
  • TCP is connection-oriented which requires bundles should be sent all together with start and end arrangement which will incite delay in gushing.

Since we are moving (transferring) the video documents on UDP, so we can stand to lose a few edges (frames) of the video. There will be a few glitches while viewing the video yet satisfactory when contrasted with video transfer on TCP where we have to wait for the video to buffer, as TCP will not play the stream until it compensates for the packets lost.

In this way, losing bundles (packet) worth 150mB of information won't influence 1080p, in light of the fact that it will be still nearer to 720p it would just miss on certain details though losing 150mB worth of information while playing 480p will imply that we may lose on something significant perhaps a whole clip of a couple of moments.


Related Solutions

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT