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 654736 - hlsdemux: shouldn't wait for whole chunk to be downloaded before pushing data
hlsdemux: shouldn't wait for whole chunk to be downloaded before pushing data
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-07-16 13:13 UTC by Tim-Philipp Müller
Modified: 2012-03-13 15:08 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2011-07-16 13:13:17 UTC
Currently hlsdemux downloads a whole chunk and pushes that in one go, instead of pushing data as it comes in, which would be better.
Comment 1 Youness Alaoui 2011-11-04 21:00:58 UTC
I don't think it should push data as it comes in for many reasons..
First, it already needs to cache at least 3 fragments before it starts pushing buffers, so pushing data as it receives it would change nothing since it's technically not "live", it needs to put that data into the cache.
As it downloads, many things could cause a cancellation of the download, a change state, a seek, a change of bitrate, etc.. and if it pushes data as it receives it, it makes things much more complicated if it needs to cancel a download and start another one (and redownload the same fragment with a different bitrate).
Currently it will just cancel the download, flush whatever it cached from that fragment then restart.
I'd vote for marking this bug as invalid.
Comment 2 Thibault Saunier 2012-03-13 14:38:29 UTC
Tim do you still think it would be better to push data as it comes it? what are the arguments in favour of it?
Comment 3 Tim-Philipp Müller 2012-03-13 15:08:26 UTC
I don't have any strong opinions on this, and what Youness said in comment #1 makes sense, I guess. So let's close it.