MDN self-hosted library · e01.org

BufferedChangeEvent: addedRanges property

Media Source Extensionswindowanddedicated

no runnable cells web-api-instance-property upstream source

Media Source Extensionswindow_and_dedicated

The addedRanges read-only property of the BufferedChangeEvent interface returns a TimeRanges object representing the time ranges that were added to the associated ManagedSourceBuffer. These are the ranges added between the last updatestart and updateend events, during the most recent run of the coded frame processing algorithm.

Value

A TimeRanges object.

Examples

See the main BufferedChangeEvent page for an example showing the use of addedRanges.

Specifications

Browser compatibility

See also

  • BufferedChangeEvent.removedRanges
  • bufferedchange event
  • ManagedSourceBuffer
  • TimeRanges