MediaStreamTrack

JS
1.1
abstract class MediaStreamTrack : EventTarget

Exposes the JavaScript MediaStreamTrack to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript MediaStreamTrack to Kotlin

MediaStreamTrack()

Properties

JS
1.1

enabled

open var enabled: Boolean
JS
1.1

id

open val id: String
JS
1.1

kind

open val kind: String
JS
1.1

label

open val label: String
JS
1.1

muted

open val muted: Boolean
JS
1.1

onended

open var onended: ((Event) -> dynamic)?
JS
1.1

onmute

open var onmute: ((Event) -> dynamic)?
JS
1.1

onoverconstrained

open var onoverconstrained: ((Event) -> dynamic)?
JS
1.1

onunmute

open var onunmute: ((Event) -> dynamic)?
JS
1.1

readyState

open val readyState: MediaStreamTrackState

Functions

JS
1.1

applyConstraints

fun applyConstraints(
    constraints: MediaTrackConstraints = definedExternally
): Promise<Unit>
JS
1.1

clone

fun clone(): MediaStreamTrack
JS
1.1

getCapabilities

fun getCapabilities(): MediaTrackCapabilities
JS
1.1

getConstraints

fun getConstraints(): MediaTrackConstraints
JS
1.1

getSettings

fun getSettings(): MediaTrackSettings
JS
1.1

stop

fun stop()