<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=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">10.0.0.2:8554/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=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">10.0.0.2:8554/test</a> !  rtpvrawdepay ! videoconvert ! ximagesink -v<br><br></div><div>It throws the following error:<br><br></div>ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc0: Internal data flow error.<br>Additional debug info:<br>gstbasesrc.c(2948): gst_base_src_loop (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc: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>