Term · Intermediate
TCP vs UDP
The choice between a protocol that guarantees delivery (TCP) and one that prioritizes speed (UDP).
TCP resends any lost packet and keeps everything in order, which is safe but adds delay when the network hiccups; UDP just fires packets and moves on, trading perfect delivery for low latency. RTMP rides on TCP, while SRT and WebRTC ride on UDP with their own smarts layered on top. Knowing which your protocol uses explains why one stream stalls under packet loss while another glitches but stays live.
Also called tcp udp, transmission control protocol, user datagram protocol
Related
- RTMPThe long-standing protocol that carries your encoded stream from your software to a platform's ingest server.
- SRT ProtocolA modern transport protocol that delivers low-latency, error-corrected streams even over unstable connections.
- WebRTCA browser-native protocol delivering sub-second, real-time video for truly interactive streams.
- Packet LossWhen data packets fail to reach their destination, causing dropped frames, stutter, and audio glitches.
- JitterThe variation in packet arrival timing, which makes streams stutter even when average latency looks fine.
- Stream LatencyThe delay between something happening on camera and your viewers actually seeing it.