Type alias RoomExtendedParticipantConfig

RoomExtendedParticipantConfig: {
    audioMuted: boolean;
    screenSharingMuted: boolean;
    videoMuted: boolean;
}

What the owner has forced upon a single participant.

The entries of everybody who is already in the room arrive in one go, in the RoomEvent.ROOM_CONFIG the server sends to a joining session; note that the config of ROOM_AVAILABLE carries no participantsConfig at all, so joining is the moment this is learned. After that an entry is replaced by RoomEvent.PARTICIPANT_CONFIG, which the server sends when it changes a participant's config, to that participant and to the owner and admins.

An entry may also be created from the first RoomEvent.PARTICIPANT_AUDIO_MUTED / RoomEvent.PARTICIPANT_VIDEO_MUTED / RoomEvent.PARTICIPANT_SCREEN_SHARING_MUTED about a participant we have no entry for, and then only the flag that event carried is known: the other two read false whether they are false or merely unseen. The next PARTICIPANT_CONFIG or ROOM_CONFIG replaces the entry with what the server reports.

Type declaration

  • audioMuted: boolean
  • screenSharingMuted: boolean
  • videoMuted: boolean