[gst-devel] udpsrc: Help Needed

Wim Taymans wim.taymans at gmail.com
Fri Nov 21 11:05:50 CET 2008


On Fri, Nov 21, 2008 at 9:46 AM, Manish Rana <rana.manishrana at gmail.com> wrote:
> Hi All,
>
> I am using udpsrc to receive the data from the server.
> I keep on receiving the data from the server at port:5000
> Now i dont want to receive the data on port 5000 but i want to receive the
> same data on port 6000
>
> How can i achieve this without intrupting the receiver pipeline:
> I tried setting the port on udpsrc ( while it was running and receiving data
> from 5000 ), but this did't help. The udpsrc keeps on receiving data from
> 5000
>
> If i set the state to ready and then set the port and after that i set the
> state to playing it stops receiving data from 5000 but do not start
> receiving data at 6000

1 udpsrc element can only receive data from 1 port, if you want to
receice data from 2 ports, you must use 2 udpsrc elements.

Wim

>
> Please provide some pointers
>
> Thanks a lot in adwance
>
> ~cheers
> Rana
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>




More information about the gstreamer-devel mailing list