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 780494 - adaptivedemux: Retry downloading a fragment immediately if any in live streaming
adaptivedemux: Retry downloading a fragment immediately if any in live streaming
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: 1.11.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-03-24 06:23 UTC by Seungha Yang
Modified: 2017-04-09 07:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
adaptivedemux: Retry downloading a fragment immediately if any in live streaming (1.46 KB, patch)
2017-03-24 06:24 UTC, Seungha Yang
committed Details | Review
LOG (13.10 KB, text/x-log)
2017-03-24 06:26 UTC, Seungha Yang
  Details

Description Seungha Yang 2017-03-24 06:23:47 UTC
At the moment that demux is waiting manifest update, the target sequence
of fragment was advanced already. So, checking stream_has_next_fragment()
means looking for the next fragment of target fragment. This might cause unexpected buffering if each fragment has large duration and manifest is listing only limited number of fragments.
Comment 1 Seungha Yang 2017-03-24 06:24:24 UTC
Created attachment 348631 [details] [review]
adaptivedemux: Retry downloading a fragment immediately if any in live streaming
Comment 2 Seungha Yang 2017-03-24 06:26:17 UTC
Created attachment 348632 [details]
LOG

Please refer to this log. Note that tested stream is private, to hide them, I modified full url to just fragment file name in the log.
Comment 3 Sebastian Dröge (slomo) 2017-03-27 07:47:22 UTC
Isn't this the same as bug #776609 ?
Comment 4 Seungha Yang 2017-03-27 08:08:54 UTC
(In reply to Sebastian Dröge (slomo) from comment #3)
> Isn't this the same as bug #776609 ?

I don't thing they are same :) bug #776609 seems to be related download error, 
but my patch is to fix bug that adaptivedemux's misunderstood of fragment availability.
Comment 5 Sebastian Dröge (slomo) 2017-04-09 07:56:50 UTC
Attachment 348631 [details] pushed as ea588ae - adaptivedemux: Retry downloading a fragment immediately if any in live streaming