GNOME Bugzilla – Bug 667175
souphttpsrc seeking live source after connection reset
Last modified: 2017-11-10 09:32:50 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
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.