The use of UDP is controversial for streaming multimedia application, because UDP lacks any form of congestion control. While congestion control is needed to prevent the network from entering a congested state in which very little useful work is done. If everyone were to start streaming high bit-rate video without using any congestion control, there would be so much packet overflow at routers that no one would see anything. So the lack of congestion control in UDP is a potentially serious problem. In short its faster but has no error detection.
The most popular example of UDP protocol usage is video streaming such as Youtube, Twitch, etc.
Data travels in packets. In a TCP connection, every packet must reach the destination before the transmission will be complete. This means that it goes back to resend packets should any be dropped. UDP does not do this. This makes it ideal for real time applications that cannot viably stop. These include VoIP and video streaming. [Above answer is right, UDP is used in the situations where partial or little data loss is bearable such as VoIP, Video Streaming, you might have experienced it many times when browsing youtube videos. Many of peer to peer applications use this service. It doesn't guarantee the loss-free transmission of data, as TCP does. It does use to provide the current user facility to push as much data as he can on the link, without caring about others. Most of today's applications which used to use UDP has now been transferring to TCP. A good example of it is bit-torrent ]
UDP can be used in many applications for transport, not just a single application. UDP is commonly used when speed is more important than reliability in the transfer.
UDP
TCPv No lossv Retransmits all lost messagesv Potentially large latencyUDPv Potentially unbounded lossv Does no retransmissionv Minimal latencyà Neither of them is what you want for streaming applicationsSolutionv UDP witho Congestion controlo Reliability control (error protection)v How?o Keep UDP throughput ~ to TCPo By using FEP (forward error protection) and ARQ (automatic repeat request)v Advantageo Can recover from loss in time independent of link RTTo Unequal protection: more important data is better protectedo Pre-roll buffers to cope with increased delay for streaming applicationsv Disadvantageo Pay overheado Increased delayo Poor quality for real-time applications
UDP
Answer B UDP (UDP is preferred over TCP foe real time applications such as videoconferences. UDP and TCP operate at the transport layer). Page 554
UDP
UDP
UDP does not have the overhead of providing a reliable connection. That makes it more appropriate for applications where quick responses are more important than a guaranteed delivery of every packet.
UDP is used for those applications that require speed, not quality of transmission. This would include streaming audio and video, and Voip. If you lose a packet or two it doesn't make a great deal of difference compared to file transfer protocol, where everything must arrive correctly.
UDP