[Bug 709117] New: Need ability to exclude HTTP Range header and set content size

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 30 10:01:55 PDT 2013


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

           Summary: Need ability to exclude HTTP Range header and set
                    content size
    Classification: Platform
           Product: GStreamer
           Version: 1.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: grandocap at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Need to be able to disable the inclusion of the range header by souphttpsrc.
The HTTP Range header is not allowed for dtcp encyrpted content. Also the HTTP
Range header interferes with the usage of TimeSeekRange.dlna.org and
Playspeed.dlna.org headers. The Range header should not be included when these
other headers are added or for dtcp encrypted content. The proper headers will
be added by the dlnasrc element which is a "manager" type element and will set
the "exclude-range-header" property on souphttpsrc.  The souphttpsrc will still
use the starting byte position and all the same logic should be performed by
souphttpsrc and basesrc,  

The attached patch creates a boolean property "exclude-range-header" which
specifies if the Range header should be included.  The default is false.  When
false, souphttpsrc will include the Range header as it does currently.  When
this property is set to true, souphttpsrc will formulate the HTTP request as it
does now except it will not include the Range header.  It will be the
responsibility of the dlnasrc "manager" element to do this.

If the HTTP Range header is not included, souphttpsrc will not be able to
determine the size of the content.  The ability to set the content size is
needed when the Range header is not included.  This patch adds the ability to
set the content size through the "content-size" property.  The dlnasrc
"manager" element will set the size as necessary such as for dtcp/ip encrypted
content.

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