HMSTrack

HMS Track stores details about individual tracks of the room. This object is not meant to be used normally for UI interfaces, as interactions with this object should be kept to bare minimum. enabled - tells the real track enabled status, use this to call attach/detach video displayEnabled - can be used to give immediate feedback to the user on button click deviceID - this is the ID of the source device for the track. This can be a dummy ID when track is on mute. degraded - tells whether the track has been degraded(receiving lower video quality/no video) due to bad network locally

Properties

degraded

Optional degraded: boolean


deviceID

Optional deviceID: string


displayEnabled

Optional displayEnabled: boolean


enabled

enabled: boolean


height

Optional height: number


id

id: string


layer

Optional layer: HMSSimulcastLayer


layerDefinitions

Optional layerDefinitions: SimulcastLayerDefinition[]


plugins

Optional plugins: string[]


source


type


volume

Optional volume: number


width

Optional width: number th**: number