<div>Hi,</div>
<div>Thanks for your suggestion, I added SO_REUSEADDR and bind.. something in function gst_multiudpsink_init_send yesterday and it works. I think it's better to add a source port property for it in future. To set the sender's source port freely in udpsink is quite useful especially in some P2P applications, for NAT stuff.
</div>
<div> </div>
<div>Regards,</div>
<div>Yang<br><br> </div>
<div><span class="gmail_quote">On 9/17/07, <b class="gmail_sendername">SP GLE</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:spglegle@yahoo.fr" target="_blank">spglegle@yahoo.fr</a>> 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 'fd' 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 <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:grantte@gmail.com" target="_blank">
grantte@gmail.com</a>> a écrit :<br><br>> Anybody can give me some suggestion? how to fill the **source** port <br>> by<br>> myself when using udpsink? Many Thanks<br>><br>> Regards,<br>> J.Yang<br>
><br>><br>> On 9/14/07, Yang Jiwen <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:grantte@gmail.com" target="_blank">grantte@gmail.com</a>> wrote:<br>> ><br>> > Hi guys,
<br>> ><br>> > I am in a project of SIP phone software that choose gstreamer to<br>> handle<br>> > media streams. I have launched a server bin to send RTP streams to<br>> the<br>> > remote party, and also a player bin to receive, decode, and display
<br>> the<br>> > streams from the remote party.<br>> ><br>> > Now I have a problem, for NAT traversal issue I have to set the <br>> source<br>> > port in udpsink by myself(set to be the port of the remote party).
<br>> > But seems that udpsink does not have a property like this to let me<br>> > do"udpsink srcport=6000" or something. <br>> ><br>> > So where can I set the source port in the source code of udpsink?
<br>> ><br>> > Any suggestion will be highly appreciated, thanks in advance.<br>> ><br>> > Regards,<br>> > -- J.Yang<br>> ><br>> ><br>><br>><br>><br>> --<br>> Regards,
<br>> Jiwen<br>> ><br>-------------------------------------------------------------------------<br>> This SF.net email is sponsored by: Microsoft <br>> Defy all challenges. Microsoft(R) Visual Studio 2005.<br>
> <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>><br>_______________________________________________
<br>> gstreamer-devel mailing list<br>> <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>>
<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>><br><br>
<br><br> ______________________________________________________________________________<br>Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail ! <br></blockquote></div><br><br clear="all">
<br>-- <br>Regards,<br>Jiwen