Delay and batch seeks to make them smarter
Previously we would call SeekTask for every completed read. This often cause us to seek to somewhere and change our mind a very short time later. By delaying our seeks and batching them together, we can reduce the number of times this happens. I've tested this on a a bunch of badly muxed videos, and generally got improvements. For my primary test video, the number of connections went from ~110 to ~70. As far as I can tell, this has no impact on well-muxed videos. Bug: 765313 Change-Id: I1cfdd803e9cda8fd45fae30ec2c0343f08a79edd Reviewed-on: https://chromium-review.googlesource.com/690978 Commit-Queue: Fredrik Hubinette <hubbe@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Frank Liberato <liberato@chromium.org> Cr-Commit-Position: refs/heads/master@{#506667}
Showing
Please register or sign in to comment