changeTrackState
To change the mute status of a single remote HMSTrack.
Parameters
the HMSTrack whose mute status needs to be changed.
true if the track needs to be muted, false otherwise.
the callback that would be called by SDK in case of a success or failure.
To change the mute status of one or many remote HMSTrack for all peers of a particular role, or all tracks of a particular source, type or source AND type.
Parameters
true if the track needs to be muted, false otherwise
optional, the HMSTrackType which should be affected. If this and source are specified, it is considered an AND operation. If not specified, all track sources are affected.
optional, the HMSTrackSource which should be affected. If this and type are specified, it is considered an AND operation. If not specified, all track types are affected.
optional, a list of roles, may have a single item in a list, whose tracks should be affected. If not specified, all roles are affected.
the callback that would be called by SDK in case of a success or failure.