Class RemoteTrack<TrackKind>Abstract

Type Parameters

Hierarchy (view full)



attachedElements: HTMLMediaElement[] = []
isMuted: boolean = false
kind: TrackKind
sid?: string

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

source: Source
streamState: StreamState = Track.StreamState.Active

indicates current state of stream, it'll indicate paused if the track has been paused by congestion controller


  • get currentBitrate(): number
  • current receive bits per second

    Returns number

  • get mediaStreamTrack(): MediaStreamTrack
  • Returns MediaStreamTrack


  • creates a new HTMLAudioElement or HTMLVideoElement, attaches to it, and returns it

    Returns HTMLMediaElement

  • attaches track to an existing HTMLAudioElement or HTMLVideoElement


    • element: HTMLMediaElement

    Returns HTMLMediaElement

Generated using TypeDoc