MediaSource

open external class MediaSource : EventTarget, MediaProvider

Constructors

Link copied to clipboard

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun addEventListener(    type: String,     callback: (Event) -> Unit?,     options: dynamic = definedExternally)
fun addEventListener(    type: String,     callback: EventListener?,     options: dynamic = definedExternally)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun dispatchEvent(event: Event): Boolean
Link copied to clipboard
fun endOfStream(error: EndOfStreamError = definedExternally)
Link copied to clipboard
fun removeEventListener(    type: String,     callback: (Event) -> Unit?,     options: dynamic = definedExternally)
fun removeEventListener(    type: String,     callback: EventListener?,     options: dynamic = definedExternally)
Link copied to clipboard
fun removeSourceBuffer(sourceBuffer: SourceBuffer)
Link copied to clipboard

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var onsourceclose: (Event) -> dynamic?
Link copied to clipboard
var onsourceended: (Event) -> dynamic?
Link copied to clipboard
var onsourceopen: (Event) -> dynamic?
Link copied to clipboard
Link copied to clipboard