[Bug 758921] New: rtspsrc should use lowercase X-Sessioncookie header for compatibility with strict servers

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 1 11:02:14 PST 2015


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

            Bug ID: 758921
           Summary: rtspsrc should use lowercase X-Sessioncookie header
                    for compatibility with strict servers
    Classification: Platform
           Product: GStreamer
           Version: 1.6.1
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: evan.callaway at ipconfigure.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Consider a case where you are streaming RTSP over HTTP with a camera using the
following pipeline:

gst-launch-1.0 rtspsrc
location="rtsph://user:password@192.168.105.64:80/rtsp_tunnel"
short-header=true ! decodebin ! fakesink dump=true

I found that the some Bosch cameras are unable locate my my X-Sessioncookie and
the connection fails.  After debugging for some time, I found that the
connection completes successfully if I change the capitalization of
X-Sessioncookie to x-sessioncookie, which is a bit odd because I thought these
headers are supposed to be capitalization agnostic.  The server must be doing a
case-sensitive parse.

Quicktime and VLC both use the lowercase version "x-sessioncookie" and it is
shown as lowercase in Apple's spec on how to do RTSP over HTTP
(http://www.opensource.apple.com/source/QuickTimeStreamingServer/QuickTimeStreamingServer-412.42/Documentation/RTSP_Over_HTTP.pdf).
 For compatibility with servers that are incorrectly strict, I suggest that we
do the same...provided of course that this won't break other servers that
expect it to be capitalized as we have it now.

Please let me know your thoughts on this issue.

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