multicast udpsink fails
sebastian at centricular.com
Wed Feb 12 11:51:54 PST 2014
On Mi, 2014-02-12 at 20:03 +0100, JPM wrote:
> These pipelines work fine with unicast IP addresses :
> Server : gst-launch-1.0 -v audiotestsrc ! audioconvert ! audioresample !
> audio/x-raw,format=S16LE,channels=1,rate=44100 ! udpsink host=192.168.1.140
> Client : gst-launch-1.0 -v udpsrc port=5002 !
> audio/x-raw,format=S16LE,channels=1,rate=44100 ! volume volume=2 !
> autoaudiosink sync=false
> I don't know which is the protocol used over udp but it works.
No protocol other than raw audio over UDP is used here. You probably
want to use something like the RTP payloaders here for getting the data
via UDP in a more reliable way.
> Now I would like to know how the server can send the audio stream to a
> multicast group and how the clients can join this group.
> What do you mean with ip4 ?, IP version 4 ?
See the force-ipv4 property, only valid for 1.0.x and before IIRC, not
in 1.2. There it should work out of the box.
Sebastian Dröge, Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 949 bytes
Desc: This is a digitally signed message part
More information about the gstreamer-devel