Disallow Media Source abort() of range removals and truncating buffered media by reducing duration

Media Source spec has changed recently to disallow previously ambiguously defined behavior involving asynchronous range removals: * SourceBuffer.abort() no longer aborts SourceBuffer.remove() operations * Setting MediaSource.duration can no longer truncate currently buffered media Errors will occur in both of these cases.

Comments

Deprecation warnings will be added first to warn web authors when the newly disallowed behavior is encountered.

Documentation

Specification

Editor's draft

Status in Chromium

Blink


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

Owner

Last updated on 2020-03-25