Hello All , <br><br>I am prototyping client server streaming using Gstreamer. <br> Using gst-launch it works fine. <br><br>I am constructing same elements in my code as follows : <br><br>/* create elements */<br> pipeline = gst_pipeline_new ("mpeg--rtp-player");<br>
<br> source = gst_element_factory_make ("rtspsrc", "rtsp-source");<br> <br> rtpdepay = gst_element_factory_make ("rtpmp4vdepay", "rtpmp4v-depay"); <br> <br> decoder = gst_element_factory_make ("ffdec_mpeg4", "mpeg-decoder");<br>
<br> sink = gst_element_factory_make ("xvimagesink", "video-output");<br><br> if (!pipeline || !source || !rtpdepay || !decoder || !sink) {<br> g_print ("\nOne element could not be created\n");<br>
return -1;<br> }<br><br> /* put all elements in a bin */<br> gst_bin_add_many (GST_BIN (pipeline),source, rtpdepay, decoder, sink, NULL);<br><br> gst_element_link (source,rtpdepay);<br> gst_element_link_many (decoder, sink, NULL);<br>
<br>It is showing <b>Internal data flow error</b>,this error comes if we construct wrong pipeline, please help me out where I am doing mistake. <br>-- <br> Regards,<br> Deepak Chaudhari<br>