<HTML><HEAD><TITLE></TITLE>
<META content="KsDHTMLEDLib.ocx, FreeWare HTML Editor 1.164.2, ?Kurt Senfer"
name=GENERATOR>
<META http-equiv=Content-Type content="text/html; charset=GB2312"></HEAD>
<BODY style="FONT-SIZE: 8pt; FONT-FAMILY: Tahoma" leftMargin=5 topMargin=5
#ffffff>
<DIV>Yang Jiwen, Hello </DIV>
<DIV> </DIV>
<DIV>you can use dynudpsink instead of udpsink. and then you can g_object_set
socket in the element.</DIV>
<DIV> </DIV>
<DIV><!--AID_FROMNAME_BEGIN-->jp_liu<!--AID_FROMNAME_END-->, <A
href="mailto:<!--AID_FROMADDRESS_BEGIN-->jp_liu@astrocom.cn<!--AID_FROMADDRESS_END-->"><!--AID_FROMADDRESS_BEGIN-->jp_liu@astrocom.cn<!--AID_FROMADDRESS_END--></A></DIV>
<DIV>2007-09-18 </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV
style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal">-----
Receiving the following content ----- </DIV>
<DIV
style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; BACKGROUND: #e4e4e4; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal; font-color: black"><B>From:</B>
<A href="mailto:grantte@gmail.com">Yang Jiwen</A> </DIV>
<DIV
style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"><B>Receiver:</B>
<A href="mailto:spglegle@yahoo.fr">SP GLE</A> </DIV>
<DIV
style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"><B>Time:</B>
2007-09-18, 15:54:58</DIV>
<DIV
style="FONT-WEIGHT: normal; FONT-SIZE: 9pt; LINE-HEIGHT: normal; FONT-STYLE: normal; FONT-VARIANT: normal"><B>Subject:</B>
Re: [gst-devel] RE : Re: How can I get/set the source port inudpsink?</DIV>
<DIV><BR></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>
<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
</DIV></BLOCKQUOTE></BODY></HTML>