TrackMuteEvent

track muted

interface TrackMuteEvent {
  muteReason?: string;
  mutedBy?: string;
  trackName: string;
  userId: string;
  userRef: { [trackName: string]: { muted: boolean; track: MediaStreamTrack } };
  value: boolean;
}

index

Properties

muteReason ?

optional reason for muting

string

mutedBy ?

if muted remotely, the userId who muted the user

string

trackName

track name

string

userId

userId

string

userRef

a reference to the user's active tracks

{ [trackName : string] : { muted: boolean; track: MediaStreamTrack;  } }

value

mute value

boolean