async authenticate()

in src/providers/MeetingProvider/MeetingManager.ts [107:123]


  async authenticate(
    meetingId: string,
    name: string,
    region: string
  ): Promise<string> {
    this.meetingId = meetingId;
    this.attendeeName = name;
    this.region = region;
    const joinInfo = (await this.joinMeeting(meetingId, name, region)).JoinInfo;
    this.configuration = new MeetingSessionConfiguration(
      joinInfo.Meeting,
      joinInfo.Attendee
    );

    await this.initializeMeetingSession(this.configuration);
    return joinInfo.Meeting;
  }