Browse SDKs · React Native
Platform
SDKsReact NativeEnterprise

Start a group call

Initiate a multi-party group audio or video call using the OpenIM React Native SDK.

Copy

Initiate a multi-party group audio or video call with selected group members. Supply the target groupID and specify inviteeUserIDList with the user IDs of the invited members; it does not automatically ring all members of the group.

const roomCredentials = await OpenIMSDK.signalingInviteInGroup({
  invitation: {
    inviterUserID: currentUserID,
    inviteeUserIDList: memberUserIDs,
    groupID,
    roomID,
    timeout: 30,
    mediaType: 'video',
    sessionType: SessionType.Group,
    platformID: currentPlatform,
  },
});

Parameters

ParameterTypeRequiredDescription
invitationRtcInviteYesCall invitation payload.
invitation.inviterUserIDstringYesUser ID of the caller initiating the call.
invitation.inviteeUserIDListstring[]YesList of user IDs of group members to invite.
invitation.groupIDstringYesTarget group ID.
invitation.roomIDstringYesUnique room identifier for this group call session.
invitation.timeoutnumberYesInvitation timeout duration in seconds.
invitation.mediaTypestringYesCall media type, typically 'audio' or 'video'.
invitation.sessionTypeSessionTypeYesPass SessionType.Group for group calls.
invitation.platformIDPlatformYesPlatform enum value representing the caller's operating platform.
invitation.customDatastringNoOptional business extension string attached to the invitation.
invitation.initiateTimenumberNoInitiation timestamp in Unix milliseconds. Automatically populated by the SDK if omitted.
invitation.busyLineUserIDListstring[]NoList of users currently on a busy line. Leave empty when initiating.
offlinePushInfoOfflinePushNoOffline APNs/FCM push configuration for invitees.
offlinePushInfo.titlestringConditionalNotification title when offlinePushInfo is provided.
offlinePushInfo.descstringConditionalNotification body text when offlinePushInfo is provided.
offlinePushInfo.exstringConditionalCustom extra payload string. Pass empty string "" if not needed.
offlinePushInfo.iOSPushSoundstringConditionaliOS push sound file identifier.
offlinePushInfo.iOSBadgeCountbooleanConditionalWhether to increment the iOS application badge count.

Return value

Resolves to an RtcInviteResults object containing roomID, token, liveURL, and an optional busyLineUserIDList. See Start a one-to-one call for complete field descriptions.

Invited group members receive the invitation via the OnReceiveNewInvitation event. Identify the call session using roomID and combine roomID:userID to manage member calling and connected states. For complete event listeners, see Handle call events.