Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MediaStreamTrack

Hierarchy

Index

Properties

EventTarget

EventTarget: object

Type declaration

  • constructor: function
    • Returns EventTarget

  • prototype: EventTarget

enabled

enabled: boolean

id

id: string

isolated

isolated: boolean

kind

kind: string

label

label: string

muted

muted: boolean

onended

onended: function | null

onisolationchange

onisolationchange: function | null

onmute

onmute: function | null

onoverconstrained

onoverconstrained: function | null

onunmute

onunmute: function | null

readonly

readonly: boolean

readyState

remote

remote: boolean

Methods

addEventListener

applyConstraints

  • Parameters

    Returns Promise<void>

clone

  • Returns MediaStreamTrack

dispatchEvent

  • dispatchEvent(event: Event): boolean
  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    Parameters

    Returns boolean

getCapabilities

  • Returns MediaTrackCapabilities

getConstraints

  • Returns MediaTrackConstraints

getSettings

  • Returns MediaTrackSettings

removeEventListener

stop

  • stop(): void
  • Returns void

Generated using TypeDoc