Pergunta de entrevista da empresa Google

While explaining differences between TCP and UDP, when I mentioned that UDP is more convenient for video streaming websites as video will keep streaming even if packages get dropped. Interviewer asked me isn't that the opposite of what we want as this could hamper the video quality.

Respostas da entrevista

Sigiloso

21 de fev. de 2015

Yes every dropped packet in UDP means deterioration of video quality.

Sigiloso

27 de jun. de 2022

UDP is preferred over TCP for video streaming because a few dropped packets, while temporarily reducing video quality, is still acceptable to the end user. However, the benefit of using UDP over TCP is a much more lightweight packet, and faster transmission since there are no retries. Therefore, the answer to the interviewer's question is, yes there can be degraded video quality, but the advantage of lower bandwidth and faster transmission outweighs the negative.

Sigiloso

14 de set. de 2012

I replied that once dropped packages will just be resent and this won't reflect on video quality.