[gstreamer-bugs] [Bug 552199] New: Parsing SDP file with multicast address fails

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Sep 14 01:36:45 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=552199

  GStreamer | gst-plugins-base | Ver: HEAD CVS
           Summary: Parsing SDP file with multicast address fails
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: tero.saarni at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: 2.21/2.22
   GNOME milestone: Unspecified


Please describe the problem:
When SDP file has c= field with multicast address the parser fails to remove
TTL part and regards that as part of IP address.  See attached files
stream-with-multicast-address.sdp and debug log file
gst-sdpdemux-before-fix.txt.

According to RFC2327 the address is separated from TTL by "/" character but the
code expects whitespace.

See proposed fix in file gst-sdp-multicast-address-fix.patch and
gst-sdpdemux-after-fix.txt for a debug log when the patch is applied.



Steps to reproduce:
gst-launch --gst-debug=sdpdemux:5 filesrc
location=stream-with-multicast-address.sdp 


Actual results:


Expected results:


Does this happen every time?
yes

Other information:
Excerpt from RFC2327:

   connection-address =  multicast-address
                         | addr

   multicast-address =   3*(decimal-uchar ".") decimal-uchar "/" ttl
                         [ "/" integer ]


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=552199.




More information about the Gstreamer-bugs mailing list