aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmlvideoelement.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-01-11 08:00:39 -0500
committerGitHub <noreply@github.com>2019-01-11 08:00:39 -0500
commitb49e7517a37f31c6b867093bc1a20469f55da24b (patch)
treebf34ae29d558f4dde8adcde5a12a5bac218e469b /components/script/dom/htmlvideoelement.rs
parent2a7862540c03e57ff46e8b467f93003940105fb1 (diff)
parent9a18074b889b0d1b01e857bbdd2f583b1bbf6db6 (diff)
downloadservo-b49e7517a37f31c6b867093bc1a20469f55da24b.tar.gz
servo-b49e7517a37f31c6b867093bc1a20469f55da24b.zip
Auto merge of #22522 - ferjm:av.playback.improvements, r=Manishearth
HTMLMediaElement backoff protocol and other improvements to a/v playback - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors This PR implements a backoff protocol to keep us from dropping frames whenever it's possible. It also add some other improvements like: - Clean up the implementation a little bit by adding all fetch request related state to `HTMLMediaElementFetchContext`. - Make sure that we ignore responses from old requests. - Set the stream to seekable iff there's support for range requests. This will likely change when we add the media cache. - Implements part of [step 8 of the seek spec](https://html.spec.whatwg.org/multipage/media.html#dom-media-seek) where we bail out if the stream is not seekable. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22522) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlvideoelement.rs')
0 files changed, 0 insertions, 0 deletions