DEV Community

Discussion on: Why your website should be under 14kb in size

Collapse
 
ricky11 profile image
Rishi U

Streaming data like videos are sent not over TCP but UDP, UDP is fast because it does not require a three way handshake ACK/SYN/ACK/ACK/FIN.... you dont mind dropped frames in your videos which is why videos over UDP dont need ACK .

Collapse
 
basel_arafat_e7bf68b223ee profile image
Basel Arafat

what about dropped frames !

Collapse
 
tuxio profile image
Tuxio

That's not correct. When you buffer your videos, they are also sent via TCP and not UDP.
For livestreams that would be correct. But implementations are different on any website..

Collapse
 
nicolus profile image
Nicolus

you dont mind dropped frames in your videos.

Seriously ? We went to the trouble of making TVs that display 23.976 fps (not 25, not 24, 23.976) so that there wouldn't be any judder when playing a 24p videos, so yeah, I would mind a lot if Netflix started dropping frames when there's some packet loss on the connection.