which protocol to use, to achieve minimum latency streaming a video over Wi-Fi. I tried RTSP as:
$ ./test-launch ‘v4l2src device=/dev/video0 ! video/x-raw,format=UYVY,width=1280,height=720 ! nvvidconv ! nvv4l2h264enc ! h264parse ! rtph264pay name=pay0 pt=96’
We have tried the RTSP with default camera source:
We set latency=500 to rtspsrc and the result looks fine. So RTSP should be OK, although is is done on r28 release. For r32, we have deprecated nvcamerasrc and omx plugins, but the result should be the same.
Suggest you check source latency. To clarify how much in 2-3 second is from the source. If you have the default camera board, you may also try it as a reference.
The camera board is with TX1/TX2 developer kit. Not included with Xavier devkit. Are you able to try glass-to-glass latency with your camera? To know what the delay time is without setting latency. And set latency=500 for a try.