How does streaming work (simplified)?
- A web browser connects to a service (YouTube, Twitch, etc.)
- The service (a server) sends data to the client continuously
- The client displays the data as it comes
- If the bandwidth is bad, the client adapts the quality of the stream
To optimize the bandwidth, the server certainly uses UDP instead of TCP as it is
more efficient.
UDP is a protocol used in streaming, gaming, VoIP, etc. It is more efficient
than TCP but less reliable as you will see in this part.