Hi,<div><br></div><div>Changing udpsrc plugin code may not be a good idea because its a standard plugin and in future if you want to use this plugin for other media formats then again you need to change it, but in your own custom plugin you can add a property and with this you can set whatever media type you would like to go through. </div>
<div><br></div><div><br></div><div>The summary is that if you change udpsrc then it won't be generic anymore. </div><div><br></div><div><div><br></div></div><div><div class="gmail_quote">On Sat, Jul 16, 2011 at 6:37 PM, Umakant Goyal <span dir="ltr"><<a href="mailto:umakantgoyal1@gmail.com">umakantgoyal1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Sudarshan thanks for your response.<br><br>Can not i make changes in udpsrc plugin so that it only passes that is needed by downstream plugin?<br>
What would be better to make a new plugin that will decide what type of type of data is needed by downstream plugin or i add the same intelligency in udpsrc plugin? <br><div><div></div><div class="h5">
<br><br><div class="gmail_quote">On Sat, Jul 16, 2011 at 3:22 AM, sudarshan bisht <span dir="ltr"><<a href="mailto:bisht.sudarshan@gmail.com" target="_blank">bisht.sudarshan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<div>Hi,</div><div><br></div>I guess this is quite expected behavior but to overcome from this, you can write a simple plugin, this would check the data, if it does not find something specific to G711 or H263 then return (check GstFlowReturn for appropriate type) from the chain function without pushing any data to next element.
<div> <div>In receiver pipeline you can place this plugin right after udpsrc. </div><div><br></div><div><br></div><div><br><br><div class="gmail_quote"><div><div></div><div>On Fri, Jul 15, 2011 at 9:27 PM, Umakant Goyal <span dir="ltr"><<a href="mailto:umakantgoyal1@gmail.com" target="_blank">umakantgoyal1@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div>
Please Any help regarding my query??<div><div></div><div><br><br><div class="gmail_quote">On Tue, Jul 12, 2011 at 6:34 PM, Umakant Goyal <span dir="ltr"><<a href="mailto:umakantgoyal1@gmail.com" target="_blank">umakantgoyal1@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">Hi All,<br><br>I am creating a pipeline that is receiving the audio/video RTP data from network and saving it into file. My pipeline is receiving only G711 and H263 RTP data. Most of the time my pipeline is working fine except one case. Whenever there is RTP data other than G711 and H263 my pipeline throws error (Internal data Flow Error).<br>
<br>Can some one explain how can i ignore the RTP data in pipeline other than what i wanted?<br><br>Below is the image of my pipeline.<br>filesink <--> muxer <--> rtp depayload <--> gstrtpbin <--> udpsrc<br>
<br>Thanks,<br>UK<br>
</blockquote></div><br>
</div></div><br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div></div>
<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br><br>Sudarshan Bisht<br>
</div>