Hi, gstreamer-devel:<br><br> Correct. Both these elements use one socket inside so if every connection wanna use a separate socket pair, multiple udpsrc/udpsink cannot be avoid, or you can write a new element to achieve this.<br>
<br>Eric Zhang<br><br><div class="gmail_quote">2008/12/6 Olivier Crête <span dir="ltr"><<a href="mailto:olivier.crete@collabora.co.uk">olivier.crete@collabora.co.uk</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Fri, 2008-12-05 at 17:54 +0800, Eric Zhang wrote:<br>
> Hi, gstreamer-devel:<br>
><br>
> multiudpsink can send UDP packets to multiple clients. But I don't<br>
> find "multiudpsrc". :)<br>
<br>
</div>udpsrc can receive from multiple clients (and its save the address in<br>
the buffer's header, its a GstNetBuffer).<br>
<br>
Then you possibly need to demultiplex it yourself.<br>
<br>
That said, I think its not what spgle wants, since even multiudpsink<br>
only uses one socket.<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
> Eric Zhang<br>
><br>
> 2008/12/5 SP GLE <<a href="mailto:spglegle@yahoo.fr">spglegle@yahoo.fr</a>><br>
> Hi,<br>
> I use Gstreamer for receving/sending RTP with multiple<br>
> connections by process<br>
> (let's say one hundred), so 100 UDP sockets for RTP and 100<br>
> UDP sockets for RTCP.<br>
><br>
> These 200 sockets are in use by udpsrc and udpsink elements<br>
> (created using<br>
> the 'sockfd' properties for each one).<br>
><br>
> Is there an element able to handle many sockets (200 for ex.)<br>
> for reading and writing,<br>
> using provided sockets' fds ?<br>
><br>
> It would be more efficient than 200 udpsrc and udpsink,<br>
> avoiding many fcntl() and poll for<br>
> waiting for/reading data. fds could be added/removed to the<br>
> element using requested pads,<br>
> pad names containing fd value as %d.<br>
><br>
> Regards.<br>
><br>
><br>
><br>
><br>
><br>
> ------------------------------------------------------------------------------<br>
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las<br>
> Vegas, Nevada.<br>
> The future of the web can't happen without you. Join us at<br>
> MIX09 to help<br>
> pave the way to the Next Web now. Learn more and register at<br>
> <a href="http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/" target="_blank">http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/</a><br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
><br>
> ------------------------------------------------------------------------------<br>
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.<br>
> The future of the web can't happen without you. Join us at MIX09 to help<br>
> pave the way to the Next Web now. Learn more and register at<br>
> <a href="http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/" target="_blank">http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/</a><br>
> _______________________________________________ gstreamer-devel mailing list <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a> <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div><font color="#888888">--<br>
Olivier Crête<br>
<a href="mailto:olivier.crete@collabora.co.uk">olivier.crete@collabora.co.uk</a><br>
Collabora Ltd<br>
</font><br>------------------------------------------------------------------------------<br>
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.<br>
The future of the web can't happen without you. Join us at MIX09 to help<br>
pave the way to the Next Web now. Learn more and register at<br>
<a href="http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/" target="_blank">http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>