Hierarchy (view full)

Constructors

Properties

attachedElements: HTMLMediaElement[] = []
isMuted: boolean = false
kind: Video
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

Accessors

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

    Returns number

  • get mediaStreamTrack(): MediaStreamTrack
  • Note: When using adaptiveStream, you need to use remoteVideoTrack.attach() to add the track to a HTMLVideoElement, otherwise your video tracks might never start

    Returns MediaStreamTrack

Methods

Generated using TypeDoc