diff options
author | James Taylor <user234683@users.noreply.github.com> | 2021-09-01 17:32:18 -0700 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-09-01 20:12:14 -0500 |
commit | fc0fa9aaba9caa0b849a91f1c989e52ab4a7ca15 (patch) | |
tree | 8072e39d06422a4b5975f37435690148f9e9b55b /python/werkzeug | |
parent | 06e091e020a2fecd1ef927edc4f55e999804b5f0 (diff) | |
download | yt-local-fc0fa9aaba9caa0b849a91f1c989e52ab4a7ca15.tar.lz yt-local-fc0fa9aaba9caa0b849a91f1c989e52ab4a7ca15.tar.xz yt-local-fc0fa9aaba9caa0b849a91f1c989e52ab4a7ca15.zip |
av-merge: Fix segments not properly reappended during QuotaExceeded
Two issues fixed:
1. The append was only retried if it was the result of a seek
event. But if the video is paused (such as if the video was
finished and the user seeks back to the beginning), the seek
won't happen because the MediaSource will not issue a sourceopen
until the user plays the video. A better strategy that solves
the true issue is to retry the append if it is for the segment
corresponding to the current time, since that is critical to get
immediately.
2. If the append was not retried, entry.requested was not getting
marked as false, so it would refuse to ever rerequest the segment,
so it would stall. Set it to false if we decide not to retry the
append, so it can be rerequested later.
Signed-off-by: Jesús <heckyel@hyperbola.info>
Diffstat (limited to 'python/werkzeug')
0 files changed, 0 insertions, 0 deletions