[Bug 667175] New: souphttpsrc seeking live source after connection reset

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jan 3 03:44:57 PST 2012


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

           Summary: souphttpsrc seeking live source after connection reset
    Classification: Platform
           Product: GStreamer
           Version: 0.10.x
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: hans.maree+bugzilla at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=204492)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=204492)
tcp dump file of souphttpsrc reconnecting live stream

When the connection to the streaming server is interrupted, souphttpsrc tries
to reconnect. When streaming a live source souphttpsrc should not attemt to
seek when reconnecting (i.e. don't send the Range header field and/or don't
break if the server ignores the Range header field).

Sample pipeline:
souphttpsrc location='http://172.23.42.161/videostream.cgi?rate=15'
do-timestamp=true is_live=true timeout=5 ! multipartdemux !
image/jpeg,width=640,height=480,framerate=1 ! matroskamux ! filesink
location=test.mkv

Attached is an excerpt from a tcpdump capture file that shows the connection
being lost and reopened. Souphttpsrc sees that the server ignored the Range
header field, closes the stream and fails with the following warnings:

gstsouphttpsrc.c:874:gst_soup_http_src_got_headers_cb:<source> error: Server
does not support seeking.
gstsouphttpsrc.c:874:gst_soup_http_src_got_headers_cb:<source> error: Server
does not accept Range HTTP header, URL:
http://172.23.42.161/videostream.cgi?rate=15

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