Meeting Class
Using Meeting Class
The Meeting Class
includes methods and events for managing meetings, participants, video & audio streams, data channels and UI customization.
Properties
__properties
id
String
meeting IdlocalParticipant
Participant
local participant of the meetingparticipants
Map<String, Participant>
all remote participants of the meetingpubSub
PubSub
Publisher-Subscriber featureselectedWebcamId
String?
Id of the webcam device selected as input video sourceselectedMicId
String?
Id of the microphone device selected as input audio source
Properties
Events
__events
Events.meetingJoined
void
emitted when local participant joined the meeting successfulyEvents.meetingLeft
void
emitted when local participant left the meetingEvents.participantJoined
participant
emitted when new participant joined the meetingEvents.participantLeft
participantId
emitted when any participant from the meeting leftEvents.recordingStarted
void
emitted when recording of the meeting is started successfullyEvents.recordingStopped
void
emitted when recording of the meeting is stoppedEvents.liveStreamStarted
void
emitted when live streaming of the meeting in social media is started successfullyEvents.liveStreamStopped
void
emitted when live streaming of the meeting is stoppedEvents.speakerChanged
void
emitted when active speaker is changedEvents.presenterChanged
void
emitted when any participant started presenting
Events
Methods
__methods
join()
void
join the meetingleave()
void
leave the meetingenableWebcam()
void
enable self webcamdisableWebcam()
void
disable self webcamunmuteMic()
void
unmute self micmuteMic()
void
mute self micenableScreenShare()
void
start sharing phone screendisableScreenShare()
void
stop sharing phone screengetWebcams()
void
get all webcam devicesgetMics()
void
get all mic deviceschangeWebcam()<deviceId>
void
change self webcamenableScreenShare()
void
start screen sharingdisableScreenShare()
void
stop screen sharingstartRecording()
void
start meeting recordingstopRecording()
void
stop meeting recordingstartLivestream()
void
start meeting live streamingstopLivestream()
void
stop meeting live streamingon(Events event, Function handler)
void
event handler of the meeting
Methods
Example
Play with meeting instance
// Join the meeting
meeting?.join();
// Get local participants
meeting?.localParticipant;
// Get remote participants
meeting?.participants;
// Adding event listner
meeting.on(Events.participantJoined, (Participant participant) {
print("new participant => $participant");
},
);
Got a Question? Ask us on discord