[gst-devel] RE : Re: How can I get/set the source port in udpsink?
SP GLE
spglegle at yahoo.fr
Mon Sep 17 15:55:13 CEST 2007
May be you can pass a file descriptor with the 'fd' property.
To manage RTP you will probably have to manage RTCP, so two contigous
port numbers. Using external fd throught udpsink you are able to do
that.
Regards.
--- Yang Jiwen <grantte at gmail.com> a écrit :
> Anybody can give me some suggestion? how to fill the **source** port
> by
> myself when using udpsink? Many Thanks
>
> Regards,
> J.Yang
>
>
> On 9/14/07, Yang Jiwen <grantte at gmail.com> wrote:
> >
> > Hi guys,
> >
> > I am in a project of SIP phone software that choose gstreamer to
> handle
> > media streams. I have launched a server bin to send RTP streams to
> the
> > remote party, and also a player bin to receive, decode, and display
> the
> > streams from the remote party.
> >
> > Now I have a problem, for NAT traversal issue I have to set the
> source
> > port in udpsink by myself(set to be the port of the remote party).
> > But seems that udpsink does not have a property like this to let me
> > do"udpsink srcport=6000" or something.
> >
> > So where can I set the source port in the source code of udpsink?
> >
> > Any suggestion will be highly appreciated, thanks in advance.
> >
> > Regards,
> > --J.Yang
> >
> >
>
>
>
> --
> Regards,
> Jiwen
> >
-------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/>
_______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
______________________________________________________________________________
Stockage illimité de vos mails avec Yahoo! Mail. Changez aujourd'hui de mail !
More information about the gstreamer-devel
mailing list