SDKsiOSEnterprise
Retrieve a group call room
Retrieve an active call room by group ID with the OpenIM iOS SDK.
The parameter is a group ID, not a custom roomID:
[[OIMManager manager] signalingGetRoomByGroupID:groupID
onSuccess:^(OIMParticipantConnectedInfo * _Nullable room) {
if (room.roomID.length > 0) {
[self renderParticipants:room.participant roomID:room.roomID];
}
}
onFailure:^(NSInteger code, NSString * _Nullable message) {
[self handleMissingGroupCall:code message:message];
}];The success callback returns the current room snapshot. When no group call is active, treat an error or empty room as “no call is currently available to restore,” and do not continue using old credentials.
Was this page helpful?