LiveKit JS Client SDK - v2.10.0

    Class RemoteVideoTrack

    Hierarchy (View Summary, Expand)

    Index

    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

    • Allows to set a playout delay (in seconds) for this track. A higher value allows for more buffering of the track in the browser and will result in a delay of media being played back of delayInSeconds

      Parameters

      • delayInSeconds: number

      Returns void

    MMNEPVFCICPMFPCPTTAAATR