Not documented.

Inheritance
Annotations
  • DocsEditable()
  • DomName('MediaSource')
  • SupportedBrowser(SupportedBrowser.CHROME)
  • SupportedBrowser(SupportedBrowser.IE, '11')
  • Experimental()

Static Properties

supported bool
read-only

Checks if this type is supported on the current platform.

Static Methods

isTypeSupported(String type) → bool

Properties

activeSourceBuffers SourceBufferList
read-only

duration num
read / write

on Events
read-only, inherited

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

readyState String
read-only

sourceBuffers SourceBufferList
read-only

Constructors

MediaSource()

Methods

addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

addSourceBuffer(String type) → SourceBuffer

dispatchEvent(Event event) → bool
inherited

endOfStream([String error]) → void

removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void
inherited

removeSourceBuffer(SourceBuffer buffer) → void