|
Hi,
I have a 2 nodes network with each node having 2 network interfaces eth0 and eth1.
I have following interfaces coonection: eth0 of node1 connected to eth0 of node2 and eth1 of node1 connected to eth1 of node2.
If I am sending a udp stream from Node1 and I want to set Node2 to listen on all its interfaces (eth0 and eth1) at the same time.
On Node 2(Client (receiver)) i run following command and I am not getting any audio. I know node1 is sending data on defalut interface which in this case is eth0.
gst-launch-1.0 udpsrc multicast-iface="eth0" multicast-iface="eth1" port=3535 ! rtppcmadepay ! alawdec ! audioconvert ! audioresample ! alsasink
Looks like the udp client cannot take multiple time property setting of multicast-iface. if I define only one interface in this command (such as eht0 only), then i have audio.
Question1:
Is there a way to define a "wild card" interface on the receiver to allow him to listen on all its available interfaces?
Question2:
I am also looking to know how to send a single udp stream on both interface (eth0 and eth1) at the time, from Node 1 for example:
is following command also allowed?
gst-launch-1.0 filesrc location=test.wav ! wavparse ! audioconvert ! audioresample ! alawenc ! rtppcmapay ! udpsink multicast-iface="eth0" multicast-iface="eth1" host=124.1.0.0 port=3535
Or Is gstreamer sockets implementation is limited to support such use cases? in that sense, am I force to run two different gst-launch commands on the receiver node, one for each multicast-iface?
|