<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 1, 2017 at 12:22 AM, Francois Cartegnie <span dir="ltr"><<a href="mailto:fcvlcdev@free.fr" target="_blank">fcvlcdev@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class="gmail-">Le 31/07/2017 à 18:05, Zhao Zhili a écrit :<br>
> So when i_return is AbstractStream::buffering_<wbr>ongoing, i_deadline = mdate()<br>
> + (CLOCK_FREQ / 20) + (CLOCK_FREQ / 4). 300 milliseconds are too much while<br>
> buffering_ongoing. Actually 50 milliseconds don't work well too, but it's<br>
> another topic.<br>
<br>
</span>Okay,<br>
<br>
But ongoing means you already have min buffering, so any call can buffer<br>
a full segment. Should depends on segment length then, or the issue is<br>
the delay before triggering the min buffer +1 segment.<br>
<div class="gmail-HOEnZb"><div class="gmail-h5"><br></div></div></blockquote><br><div>For HLS streams (at least for StreamFormat::MPEG2TS), we can:<br><br></div><div>1. Set a small min buffering which is smaller than a segment, so we can get fast startup<br></div><div>and fast seek.<br><br></div><div>2. Buffering quickly until buffering_full.<br><br></div><div>Since the delay value is too large, the buffering level is around min buffering and doesn't<br></div><div>progress much. It prevent us from setting a small min buffering. One segment is a lot of data<br></div><div>when start and conservative during playback.<br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail-HOEnZb"><div class="gmail-h5">
Francois<br>
______________________________<wbr>_________________<br>
vlc-devel mailing list<br>
To unsubscribe or modify your subscription options:<br>
<a href="https://mailman.videolan.org/listinfo/vlc-devel" rel="noreferrer" target="_blank">https://mailman.videolan.org/<wbr>listinfo/vlc-devel</a></div></div></blockquote></div><br></div></div>