[gst-devel] udpsrc: Help Needed

Manish Rana rana.manishrana at gmail.com
Fri Nov 21 11:22:17 CET 2008


Hi Wim ,

Thanks a lot for qucik reply..
My point is, can i change the udpsrc port dynamically i.e.

1. using the same UDPSRC first i receive data form 'x' port
2. Now i change the property 'port' of udpsrc to 'y' ( to receive data from
port 'y', using the same UDPSRC element)
The reason is, i want to save time in creating and linking the udpsrc to the
pipeline.

 If in current implementation this is not possible, please guide me i would
love to contribute the same.....

Thanks a lot again

~Rana

>From the previous reply it seems this is not possible.....But can we support
this....
On Fri, Nov 21, 2008 at 3:35 PM, Wim Taymans <wim.taymans at gmail.com> wrote:

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


More information about the gstreamer-devel mailing list