Video real lifecam
Here’s the pipeline: refers to the executable, and the “-v” switch functions identically here.“-e” tells the remote machine to stop sending video when we stop viewing the stream.It’s remarkably easy to do, and there’s a wide variety of tools available to get the job done.However, if you need live video with as little latency as possible, things get more difficult.This meant that while initial latency was 500ms, it would blow out to several seconds in just a few minutes of running the stream. I eventually came across a utility called Gstreamer.
“rtpjpegpay”encodes the JPEG frames into RTP packets.
This time, we are using “udpsrc”, as we want to grab the RTP stream that’s coming in on port 5001.
We have to tell Gstreamer that it’s looking at an RTP stream in JPEG format, which is what the application, encoding name, and payload commands do.
Now let’s take a look at the receiving end of things.
For viewing the stream, I used a Windows 10 laptop, and initial testing was done over Wi Fi.