I am accessing a RTSP video stream from a VIRB 360 camera. I am able to play the stream using the following gstreamer command:

<b>gst-launch-1.0 -v playbin uri=rtsp://192.168.0.1/livePreviewStream?maxResolutionVertical=720\&liveStreamActive=1</b>.

However, there is a 3 second delay in the streaming. The output of the above command (due to -v) has been uploaded <a href="https://technicalproductsinc-my.sharepoint.com/:t:/g/personal/syamprasad_rajagopalan_technicalproductsinc_us/Ed9JT4vTEmNAmcp7gq44lhYBzLrMG3kvUijoOwwThpQuOw?e=5dSBmL" target="_top" rel="nofollow" link="external">here</a>.

I also created a few .svg files for the pipeline following the method described in this question/ <a href="https://stackoverflow.com/questions/27496901/how-do-you-build-gstreamers-gst-launch-pipelines" target="_top" rel="nofollow" link="external">answer</a>. Those files has been uploaded <a href="https://technicalproductsinc-my.sharepoint.com/:f:/g/personal/syamprasad_rajagopalan_technicalproductsinc_us/EsRaaOuuzghAppnBLE6N-FgBzAlv8eCV4tY8e_NNx19sYQ?e=HOW8Dl" target="_top" rel="nofollow" link="external">here</a>. I believe <b>mypipeline4.svg</b> and <b>mypipeline5.svg</b> represent the complete pipeline (Multiple dot files were generated by a single pipeline and that's reason for multiple .svg file).

In the .svg files,  can see a <b>latency=2000</b> under <b>rtpjitterbuffer</b>. The plan is to build the same pipeline by adding components manually instead of using <b>playbin</b>, and then set <b>latency</b> property for <b>rtpjitterbuffer</b>. I have tried the following commands:

1)<b> gst-launch-1.0 rtspsrc location=rtsp://192.168.0.1/livePreviewStream?maxResolutionVertical=720\&liveStreamActive=1 ! udpsrc ! rtpsession ! rtpssrcdemux ! rtpjitterbuffer ! rtpptdemux ! queue ! udpsink ! queue ! rtph264depay ! h264parse ! omxh264dec ! playsink</b>


and  
2) <b>gst-launch-1.0 rtspsrc location=rtsp://192.168.0.1/livePreviewStream?maxResolutionVertical=720\&liveStreamActive=1 ! udpsrc ! rtpsession ! rtpssrcdemux ! rtpjitterbuffer ! rtpptdemux ! queue ! udpsink ! queue ! rtph264depay ! h264parse ! omxh264dec ! nvoverlaysink

</b>.

However, in both cases, I received an error: <b>WARNING: erroneous pipeline: could not link udpsink0 to queue1</b>. How can I fix this? Also, from my experiments I pretty sure that the rest of the pipeline also has errors. How can I optimize this pipeline?

        
        
        
<br/><hr align="left" width="300" />
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/">GStreamer-devel mailing list archive</a> at Nabble.com.<br/>