[Bug 758428] New: rtsp-server: Transport header can have spaces between comas

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Nov 20 14:57:07 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=758428

            Bug ID: 758428
           Summary: rtsp-server: Transport header can have spaces between
                    comas
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: nicolas.dufresne at collabora.co.uk
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

I just got a 461 error sent by GStreamer RTSP Server to a client. That means no
suitable transport. My server instance is UDP only, and the Transport header
is:

RTP/AVP/TCP;unicast;interleaved=0-1, RTP/AVP;unicast;client_port=54060-54061

The BNF indicate that this is a comma separated list, with an old nation, 1\#,
which would be 1# today, and means 1 or more. The # in BNF is taken from HTTP.
What's wrong with the server, is that you can add LWS (space, tab or CRLF)
between commas. We don't strip the splitted result in the server.

We should review the one we parse in the following list:
  transport-spec
  cache-directive
  ranges-specifier
  option-tag
  stream-url
  transport-spec
  mode

References:
RTSP see Transport BNF  https://tools.ietf.org/html/rfc2326#page-60
HTTP see #rule https://tools.ietf.org/html/rfc2068#page-13

-- 
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