TrackAddEvent

a track was added

interface TrackAddEvent {
  track: MediaStreamTrack;
  trackName: string;
  userId: string;
  userRef: { [trackName: string]: { muted: boolean; track: MediaStreamTrack } };
}

index

Properties

track

the added track

MediaStreamTrack

trackName

track name

string

userId

userId

string

userRef

a reference to the user's active tracks

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