[Bug 658309] New: [souphttpsrc] how to seek? If the server uses “chunked encoding” ?

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 5 17:30:33 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=658309
  GStreamer | gst-plugins-good | 0.10.36

           Summary: [souphttpsrc] how to seek? If the server uses “chunked
                    encoding”?
    Classification: Platform
           Product: GStreamer
           Version: 0.10.36
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: realbrightster at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


souphttpsrc change the seeable status to true, if the content-length was
received.
However, some servers deploy HTTP chunked encoding type for more fast
interaction.
-    DNLA is one of good example. –

The problem is:
In case of chucked encoding transfer, there is no way to seek. do_seek function
always return false value. Even though server can process HTTP partial GET
including Range header. 

According to HTTP RFC 2616,
It should be judged after receiving server’s respond. 
If a server can handle HTTP partial GET then it will return “206 partial
content” otherwise it will return 200 OK or the other response code.

Let’s share some ideas to resolve this bug.

BR,
Davy

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