makeGroupVideoCall static method

Future<void> makeGroupVideoCall({
  1. String groupJid = "",
  2. List<String> toUserJidList = const [],
  3. required dynamic flyCallBack(
    1. FlyResponse response
    ),
})

Initiates a group video call using Mirrorfly.

Calls multiple users simultaneously by creating a group call.

groupJid The unique identifier for the group where the call will be made. jidList A list of unique identifiers for individual users to be called in the group.

Before initiating the video call, this method checks for permissions to access the camera and microphone. The flyCallBack parameter is a function that will be called upon completion of the operation. It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.

Returns a Future

Implementation

static Future<void> makeGroupVideoCall(
    {String groupJid = "",
    List<String> toUserJidList = const [],
    required Function(FlyResponse response) flyCallBack}) async {
  return FlyChatFlutterPlatform.instance
      .makeGroupVideoCall(groupJid, toUserJidList, flyCallBack);
}