initializeMeeting method

void initializeMeeting({
  1. required JoinInfo joinInfo,
  2. required Map<String, String> roster,
})

Implementation

void initializeMeeting({
  required JoinInfo joinInfo,
  required Map<String, String> roster,
}) {
  _attendees.roster = roster;
  _meeting.isActive = true;
  _attendees.localId = joinInfo.attendeeId;

  _attendees.attendees[joinInfo.attendeeId] = Attendee(
    attendeeId: joinInfo.attendeeId,
    externalUserId: joinInfo.externalUserId,
  );

  listAudioDevices();
  initialAudioSelection();
  notifyListeners();
}