SDKsiOS商业版
查询群组通话房间
使用 iOS SDK 按群组 ID 查询进行中的通话房间。
参数是群组 ID,不是自定义 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];
}];成功 callback 返回当前房间快照。没有进行中的群通话时,应把错误或空房间视为“当前无可恢复通话”,不要继续使用旧凭据。
这个页面有帮助吗?