problem when streaming RTP to multicast address in Gstreamer 0.11.93
Vasile Popescu
vasile.popescu at ixonos.com
Wed Aug 15 04:56:37 PDT 2012
Hi,
I am trying to create a simple gstreamer pipe to send a test stream to
a multicast address using RTP protocol. The pipe that I'm using is:
gst-launch-1.0 --gst-debug=1 --verbose audiotestsrc ! mulawenc !
rtppcmupay ! udpsink host=$MULTICAST_IP_ADDR auto-multicast=true
port=$AUDIO_UDP_PORT
Apparently this doesn't work with the latest version of gstreamer
(Gstreamer 0.11.93 or Gstreamer 0.11.92). The error that I get when I
run the pipe is:
(gst-launch-1.0:29785): GLib-GIO-CRITICAL **:
g_socket_multicast_group_operation: assertion
`g_inet_address_get_family (group) == socket->priv->family' failed
Caught SIGSEGV accessing address 0x8
The client side complains as well with this error:
Setting pipeline to PAUSED ...
0:00:01.124949799 29932 0xd81830 ERROR udpsrc
gstudpsrc.c:959:gst_udpsrc_stop:<udpsrc0> Failed to leave multicast
group: Error leaving multicast group: Cannot assign requested address
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Could
not get/set settings from/on resource.
Additional debug info:
gstudpsrc.c(897): gst_udpsrc_start (): /GstPipeline:pipeline0/GstUDPSrc:udpsrc0:
could add membership: Error joining multicast group: No such device
Setting pipeline to NULL ...
Freeing pipeline ...
At the client side I use the pipe:
gst-launch-1.0 --gst-debug=1 --verbose udpsrc
multicast-group=$MULTICAST_IP_ADDR auto-multicast=true
port=$AUDIO_UDP_PORT caps="application/x-rtp, media=(string)audio,
clock-rate=(int)8000, encoding-name=(string)PCMU, payload=(int)0,
ssrc=(guint)1350777638, clock-base=(guint)2942119800,
seqnum-base=(guint)47141" ! rtppcmudepay ! mulawdec ! fakesink
If I try the same pipes with the old version of gstreamer (GStreamer
0.10.36), it works fine. Am I missing something or this is a bug?
I'm using Ubuntu 12.04 and the Gstreamer and plugins (base, good, bad)
version is 0.11.93.
Thanks,
Vasile.
More information about the gstreamer-devel
mailing list