After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667175 - souphttpsrc seeking live source after connection reset
souphttpsrc seeking live source after connection reset
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-03 11:44 UTC by Hans Maree
Modified: 2017-11-10 09:32 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
tcp dump file of souphttpsrc reconnecting live stream (856.11 KB, application/octet-stream)
2012-01-03 11:44 UTC, Hans Maree
Details

Description Hans Maree 2012-01-03 11:44:51 UTC
Created attachment 204492 [details]
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
Comment 1 Edward Hervey 2017-11-10 09:32:50 UTC
Closing issue. This should have been fixed since. Please re-try with current gstreamer master or 1.12 and re-open if issue still happens.