Package-level declarations

Types

Link copied to clipboard
sealed external interface AppendMode
Link copied to clipboard
sealed external interface EndOfStreamError
Link copied to clipboard
open external class MediaSource : EventTarget

This Media Source Extensions API interface represents a source of media data for an HTMLMediaElement object. A MediaSource object can be attached to a HTMLMediaElement to be played in the user agent.

Link copied to clipboard
Link copied to clipboard
sealed external interface ReadyState
Link copied to clipboard
external class SourceBuffer : EventTarget

A chunk of media to be passed into an HTMLMediaElement and played, via a MediaSource object. This can be made up of one or several media segments.

Link copied to clipboard

A simple container list for multiple SourceBuffer objects.

Link copied to clipboard
external class TimeRanges

Used to represent a set of time ranges, primarily for the purpose of tracking which portions of media have been buffered when loading it for use by the