[Bug 682481] New: problem when streaming RTP to multicast address in Gstreamer (0.11.93/0.11.92)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Aug 22 07:59:04 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=682481
  GStreamer | gst-plugins-good | 0.11.x

           Summary: problem when streaming RTP to multicast address in
                    Gstreamer (0.11.93/0.11.92)
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: elisescu at yahoo.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


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.

After a little bit of investigation it seems that it crashes with SIGSEGV
inside the file plugins-good/gst/udsp/gstudpmulti.c in the method
gst_multiudpsink_configure_client(..) at the line "GST_ELEMENT_ERROR (sink,
RESOURCE, SETTINGS, (NULL),("Could not join multicast group: %s",
err->message));" having the err pointer NULL. Apparently the call
"g_socket_join_multicast_group (sink->used_socket, addr, FALSE, NULL,&err)"
didn't initialize the err pointer when the multicast group joining failed.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list