Represents a video track within the HMS (100ms) system.

This class extends HMSTrack to provide functionalities specific to video tracks. It includes additional property isDegraded to indicate whether the video quality has been intentionally reduced, typically for performance reasons. The constructor allows for the initialization of the video track with various parameters such as track ID, source, description, mute state, degradation state, ID, and type. These parameters provide detailed information about the video track and its characteristics.

Hierarchy

Constructors

Properties

id: string

A secondary identifier for the track.

isDegraded?: boolean

Indicates whether the video quality of the track is degraded.

mute?: boolean

Indicates whether the track is currently muted.

The source of the track, indicating whether it's from a plugin, regular input, or screen sharing.

trackDescription?: string

A brief description of the track.

trackId: string

The unique identifier for the track.

The type of the track, distinguishing between audio and video.

Methods

  • Switches local video feed on/off depending upon the value of isMute

    Parameters

    • isMute: boolean

    Returns void

    Memberof

    HMSLocalVideoTrack

Generated using TypeDoc