<div>Hi,</div>
<div>Thanks for your suggestion, I added SO_REUSEADDR and bind.. something in function gst_multiudpsink_init_send yesterday&nbsp;and it works. I think&nbsp;it&#39;s better&nbsp;to&nbsp;add a source port property for it&nbsp;in future. To set&nbsp;the sender&#39;s source port freely&nbsp;in udpsink is quite&nbsp;useful especially in some P2P applications, for NAT stuff.
</div>
<div>&nbsp;</div>
<div>Regards,</div>
<div>Yang<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 9/17/07, <b class="gmail_sendername">SP GLE</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:spglegle@yahoo.fr" target="_blank">spglegle@yahoo.fr</a>&gt; wrote:
</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">May be you can pass a file descriptor with the &#39;fd&#39; property.<br><br>To manage RTP you will probably have to manage RTCP, so two contigous 
<br>port numbers. Using external fd throught udpsink you are able to do<br>that.<br><br>Regards.<br><br>--- Yang Jiwen &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:grantte@gmail.com" target="_blank">
grantte@gmail.com</a>&gt; a écrit :<br><br>&gt; Anybody can give me some suggestion? how to fill the **source** port <br>&gt; by<br>&gt; myself&nbsp;&nbsp;when using udpsink?&nbsp;&nbsp;Many Thanks<br>&gt;<br>&gt; Regards,<br>&gt; J.Yang<br>
&gt;<br>&gt;<br>&gt; On 9/14/07, Yang Jiwen &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:grantte@gmail.com" target="_blank">grantte@gmail.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Hi guys,
<br>&gt; &gt;<br>&gt; &gt; I am in a project of SIP phone software that choose gstreamer to<br>&gt; handle<br>&gt; &gt; media streams. I have launched a server bin to send RTP streams to<br>&gt; the<br>&gt; &gt; remote party, and also a player bin to receive, decode, and display
<br>&gt; the<br>&gt; &gt; streams from the remote party.<br>&gt; &gt;<br>&gt; &gt; Now I have a problem, for&nbsp;&nbsp;NAT traversal issue I have to set the <br>&gt; source<br>&gt; &gt; port in udpsink by myself(set to be the port of the remote party).
<br>&gt; &gt; But seems that udpsink does not have a property like this to let me<br>&gt; &gt; do&quot;udpsink srcport=6000&quot; or something. <br>&gt; &gt;<br>&gt; &gt; So where can I set the source port in the source code of udpsink?
<br>&gt; &gt;<br>&gt; &gt; Any suggestion will be highly appreciated, thanks in advance.<br>&gt; &gt;<br>&gt; &gt; Regards,<br>&gt; &gt; -- J.Yang<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; --<br>&gt; Regards,
<br>&gt; Jiwen<br>&gt; &gt;<br>-------------------------------------------------------------------------<br>&gt; This SF.net email is sponsored by: Microsoft <br>&gt; Defy all challenges. Microsoft(R) Visual Studio 2005.<br>
&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/" target="_blank">http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/</a>&gt;<br>_______________________________________________ 
<br>&gt; gstreamer-devel mailing list<br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">gstreamer-devel@lists.sourceforge.net</a><br>&gt; 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>&gt;<br><br>
<br><br>&nbsp;&nbsp;&nbsp;&nbsp; ______________________________________________________________________________<br>Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd&#39;hui de mail ! <br></blockquote></div><br><br clear="all">
<br>-- <br>Regards,<br>Jiwen