[gst-devel] How can I get/set the source port in udpsink?

Yang Jiwen grantte at gmail.com
Sat Sep 15 19:51:12 CEST 2007


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070916/b4190764/attachment.htm>


More information about the gstreamer-devel mailing list