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 699926 - Improve support for applications using souphttpsrc as
Improve support for applications using souphttpsrc as
Status: RESOLVED DUPLICATE of bug 702206
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
unspecified
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-08 10:53 UTC by Andoni Morales
Modified: 2014-02-13 11:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
souphttpsrc: enable range requests in GST_STATE_NULL (3.32 KB, patch)
2013-05-08 10:53 UTC, Andoni Morales
accepted-commit_now Details | Review
souphttpsrc: add better support for range requests (3.91 KB, patch)
2013-05-08 10:53 UTC, Andoni Morales
accepted-commit_now Details | Review
souphttpsrc: add support for keep-alive sessions (7.08 KB, patch)
2013-05-08 10:53 UTC, Andoni Morales
committed Details | Review

Description Andoni Morales 2013-05-08 10:53:11 UTC
and URL downloader, like GstUriDownloader in hlsdemux.
Comment 1 Andoni Morales 2013-05-08 10:53:26 UTC
Created attachment 243575 [details] [review]
souphttpsrc: enable range requests in GST_STATE_NULL

the seekable flags is set only when we have downloaded the headers
which might be already too late. This add support for range requests
in GST_STATE_NULL, useful for http client using this element, like
in HLS.
Comment 2 Andoni Morales 2013-05-08 10:53:37 UTC
Created attachment 243576 [details] [review]
souphttpsrc: add better support for range requests
Comment 3 Andoni Morales 2013-05-08 10:53:47 UTC
Created attachment 243577 [details] [review]
souphttpsrc: add support for keep-alive sessions
Comment 4 Sebastian Dröge (slomo) 2013-05-08 11:06:48 UTC
Comment on attachment 243576 [details] [review]
souphttpsrc: add better support for range requests

Looks good but please say what exactly you do "better" there (adding support for a stop position of the range)
Comment 5 Sebastian Dröge (slomo) 2013-05-08 11:11:13 UTC
Comment on attachment 243577 [details] [review]
souphttpsrc: add support for keep-alive sessions

Not sure about this one... it will keep all connections to all servers open until the element is disposed or the server closes the connection? Shouldn't it close old connections if the new connection is for a new server?
Also it should close all connections when going from READY->NULL, in NULL it should not have any system resources allocated anymore, like sockets.
Comment 6 Tim-Philipp Müller 2013-05-08 11:26:41 UTC
Minor nitpick: please make guint32 seekable a proper enum type. And could you fix up the bug summary?
Comment 7 Andoni Morales 2013-06-20 10:41:52 UTC

*** This bug has been marked as a duplicate of bug 702206 ***
Comment 8 Sebastian Dröge (slomo) 2014-02-13 11:12:20 UTC
Comment on attachment 243577 [details] [review]
souphttpsrc: add support for keep-alive sessions

This is now committed with some changes in uridownloader, basesrc and fixes for this commit.

Should all work just fine now.