[gst-devel] udpsrc: Help Needed

Manish Rana rana.manishrana at gmail.com
Mon Nov 24 07:20:19 CET 2008


Dear Eric,

Thanks a lot
But i think this is as good as creating udpsrc. I will better create one
more UDPSRC and try.

Regards
Manish

On Mon, Nov 24, 2008 at 7:41 AM, Eric Zhang <nicolas.m.zhang at gmail.com>wrote:

> Hi, gstreamer-devel:
>
>     You can try to set `sockfd' property of udpsrc then set the state to
> READY then PLAYING. But in this way, you should prepare the socket yourself.
>
> 2008/11/21 Manish Rana <rana.manishrana at gmail.com>
>
>  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
>>>
>>
>>
>> -------------------------------------------------------------------------
>> 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/20081124/913e580e/attachment.htm>


More information about the gstreamer-devel mailing list