Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

attachedElements

attachedElements: HTMLMediaElement[] = []

isMuted

isMuted: boolean = false

kind

kind: Kind

Optional mediaStream

mediaStream: MediaStream

mediaStreamTrack

mediaStreamTrack: MediaStreamTrack

Optional sid

sid: string

sid is set after track is published to server, or if it's a remote track

source

source: Source

Accessors

currentBitrate

  • get currentBitrate(): number

Methods

appVisibilityChangedListener

  • appVisibilityChangedListener(): void

attach

  • attach(): HTMLMediaElement
  • attach(element: HTMLMediaElement): HTMLMediaElement
  • creates a new HTMLAudioElement or HTMLVideoElement, attaches to it, and returns it

    Returns HTMLMediaElement

  • attaches track to an existing HTMLAudioElement or HTMLVideoElement

    Parameters

    • element: HTMLMediaElement

    Returns HTMLMediaElement

detach

  • detach(): HTMLMediaElement[]
  • detach(element: HTMLMediaElement): HTMLMediaElement

stop

  • stop(): void

Generated using TypeDoc