<div dir="ltr"><div><div>client-side :<br>gst-launch-1.0 rtspsrc latency=50 location=rtsp://<a target="_blank" href="http://10.0.0.2:8554/test">10.0.0.2:8554/<wbr>test</a> ! fakesink -v<br><br></div>the packets are getting transmitted for the above pipeline with fakesink.<br></div>unable to figure out the exact difference with the working pipeline with videotestsrc and v4l2src .<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 23, 2016 at 8:37 PM, Tejas Ravichandran <span dir="ltr"><<a href="mailto:venkatakrishnan164@gmail.com" target="_blank">venkatakrishnan164@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div>I am using the test launch sample application in gst-rtsp-server to for streaming as below:<br><br></div>server side:<br></div>./test-launch "videotestsrc ! videoscale ! "video/x-raw,width=720,height=<wbr>576,format=I420" ! rtpvrawpay name=pay0 pt=96 "<br><br></div>client-side :<br>gst-launch-1.0 rtspsrc latency=50 location=rtsp://<a href="http://10.0.0.2:8554/test" target="_blank">10.0.0.2:8554/<wbr>test</a> ! rtpvrawdepay ! videoconvert ! ximagesink -v<br><br></div> The above pipeline works absolutely fine.<br></div>However when i change the source without changing anything , i.e<br></div>for the following pipeline...<br><br>server side:<br>./test-launch "v4l2src device=/dev/video2 ! videoscale ! "video/x-raw,width=720,height=<wbr>576,format=I420" ! rtpvrawpay name=pay0 pt=96 "<br>client-side :<br>gst-launch-1.0 rtspsrc latency=50 location=rtsp://<a href="http://10.0.0.2:8554/test" target="_blank">10.0.0.2:8554/<wbr>test</a> ! rtpvrawdepay ! videoconvert ! ximagesink -v<br><br></div><div>It throws the following error:<br><br></div>ERROR: from element /GstPipeline:pipeline0/<wbr>GstRTSPSrc:rtspsrc0/GstUDPSrc:<wbr>udpsrc0: Internal data flow error.<br>Additional debug info:<br>gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/<wbr>GstRTSPSrc:rtspsrc0/GstUDPSrc:<wbr>udpsrc0:<br>streaming task paused, reason not-negotiated (-4)<br>Execution ended after 0:00:00.006836897<br>Setting pipeline to PAUSED ...<br>Setting pipeline to READY ...<br>Setting pipeline to NULL ...<br>Freeing pipeline ...<br><br></div> </div>
</blockquote></div><br></div>