Member-only story
Raspberry Pi 5 Video Stream Latencies: Comparing UDP, TCP, RTSP, and WebRTC
Discover the best live-streaming options for the Raspberry Pi 5. I will test a video live-stream latency and pick the best from the list.
Many projects with a Raspberry PI require “eyes” or, in other words, a Camera to control something like a robot or a remote-controlled car.
In this article, I will test the latencies of live-streaming a video. Ultimately, we will have a solution with a ~200 ms delay.
It’s better to watch live-stream in a video version of the article:
Why is it so important to have a zero-latency video stream?
Of course, it really depends on the task. The latency doesn’t matter if it’s about recording birds outside your window. Or watching a stream of a beautiful waterfall.
However, latency is crucial when piloting an FPV drone, a racing car, or a remote-controlled boxer robot.
This article is not about how each particular protocol works and why these delays exist.