Receiving from Multiple Networks
Federico Zamperini
fzamperini at tiscali.it
Wed Apr 24 00:31:17 PDT 2013
Since udpsrc implements GstUriHandler, try this:
gst-launch-0.10 udpsrc uri=udp://192.168.2.4:5002 ! ....
to stick, for example, to the second network interface.
Federico
Il 23/04/2013 13:58, Sebastian Dröge ha scritto:
> On Di, 2013-04-23 at 04:48 -0700, Wes Miller wrote:
>> In the source stages that receive from the network, e.g. `udpsrc`, one
>> specifies the port to monitor. How would I select which network to monitor
>> if my machine has multiple assigned network on one or more NICs? Or do the
>> stages monitor all the networks.
>>
>> Example: Sya that your machine is configured with two networks, 10.253.1.2
>> and 192.168.2.4 on two Ethernet cards. Which network does `udpsrc
>> port=5002` receive from?
>
> It's receiving from all interfaces AFAIK. You can limit that by setting
> the interface's IP on udpsrc for unicast, or by setting the
> multicast-iface property for multicast.
More information about the gstreamer-devel
mailing list