How are we able to further reduce the latency of live streaming to 100ms or less(<0.1sec)?Currently, we are getting about 160-200ms latency(0.16~0.2s). These are the streaming codes we use:
./test-launch "nvarguscamerasrc ! video/x-raw(memory:NVMM),width=640,height=480 ! tee name=t t. ! queue ! nvoverlaysink overlay-x=50 overlay-y=50 overlay-w=640 overlay-h=480 t. ! queue ! omxh264enc ! video/x-h264,profile=baseline ! rtph264pay name=pay0 pt=96"
gst-launch-1.0 rtspsrc location="rtsp://10.50.14.2:8554/test" latency=0 ! rtph264depay ! h264parse ! avdec_h264 ! autovideosink overlay-x=800 overlay-y=50 overlay-w=640 overlay-h=480 overlay=2
Also, I understand that lowering the resolution helps with the latency but I need a decent sized window for my project. Thank you!