Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MediaStreamTrack

A single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well.

Hierarchy

Index

Properties

enabled: boolean
id: string
isolated: boolean
kind: string
label: string
muted: boolean
onended: null | ((this: MediaStreamTrack, ev: Event) => any)
onisolationchange: null | ((this: MediaStreamTrack, ev: Event) => any)
onmute: null | ((this: MediaStreamTrack, ev: Event) => any)
onunmute: null | ((this: MediaStreamTrack, ev: Event) => any)

Methods

  • Parameters

    Returns Promise<void>

  • Returns MediaStreamTrack

  • 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

  • stop(): void
  • Returns void

Generated using TypeDoc