Represents an audio track within the HMS (100ms) system.

This class extends HMSTrack to provide functionalities specific to audio tracks. It includes a constructor that allows for the initialization of the audio track with various parameters such as track ID, source, description, mute state, ID, and type. These parameters provide detailed information about the audio track and its characteristics.

Hierarchy

Constructors

Properties

id: string

A secondary identifier for the track.

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 Audio of current user on/off depending upon the value of isMute

    Parameters

    • isMute: boolean

    Returns void

    Memberof

    HMSLocalAudioTrack

Generated using TypeDoc