Participant Class Properties - Flutter
id
-
type:
String
-
Unique id of the participant, who has joined the room.
displayName
-
type:
String
-
It will be the
displayName
of the participant, who has joined the room.
isLocal
-
type:
bool
-
It will represents whether the participant is
LocalParticipant
(You) or not. If it is true, then participant isLocalParticipant
otherwise RemoteParticipant.
streams
-
type:
Map<String, Stream>
-
It will represents the stream for that particular participant who has joined the room. Stream could be
audio
,video
orshare
.
pinState
-
type:
ParticipantPinState
-
It will represents the current pin state of the participant. It has properties
cam
andshare
of type boolean.
mode
-
type:
Mode
-
It will represents the participants current mode.
metaData
-
type:
Map<String,dynamic>
-
It will represents the additional information, that you have passed in
createRoom()
.
Got a Question? Ask us on discord