createMeetingSession static method

Future<String?> createMeetingSession({
  1. required String meetingId,
  2. required String externalMeetingId,
  3. required String mediaRegion,
  4. required String mediaPlacementAudioHostUrl,
  5. required String mediaPlacementAudioFallbackUrl,
  6. required String mediaPlacementSignalingUrl,
  7. required String mediaPlacementTurnControlUrl,
  8. required String attendeeId,
  9. required String externalUserId,
  10. required String joinToken,
})

Creates a meeting session.

Implementation

static Future<String?> createMeetingSession({
    required String meetingId,
    required String externalMeetingId,
    required String mediaRegion,
    required String mediaPlacementAudioHostUrl,
    required String mediaPlacementAudioFallbackUrl,
    required String mediaPlacementSignalingUrl,
    required String mediaPlacementTurnControlUrl,
    required String attendeeId,
    required String externalUserId,
    required String joinToken
})
async
{
    var params =
    {
        "MeetingId": meetingId,
        "ExternalMeetingId": externalMeetingId,
        "MediaRegion": mediaRegion,
        "MediaPlacementAudioHostUrl": mediaPlacementAudioHostUrl,
        "MediaPlacementAudioFallbackUrl": mediaPlacementAudioFallbackUrl,
        "MediaPlacementSignalingUrl": mediaPlacementSignalingUrl,
        "MediaPlacementTurnControlUrl": mediaPlacementTurnControlUrl,
        "AttendeeId": attendeeId,
        "ExternalUserId": externalUserId,
        "JoinToken": joinToken
    };

    return _methodChannel.invokeMethod('CreateMeetingSession', params);
}