Azure Communication Service Rooms无法发起呼叫:用户不在邀请列表问题
Azure Communication Service Rooms 呼叫授权问题
- 已基于Azure Communication Service Rooms搭建示例应用,创建了包含指定参与者的房间,尝试通过房间ID调用
callAgent.join发起呼叫:
const roomCallLocator = { roomId: roomId } call = callAgent.join(roomCallLocator, { videoOptions })
- 呼叫代理初始化视频流后立即断开,抛出**「用户不在邀请列表」**错误,但通过
roomsClient.listParticipants(roomId)查询确认该参与者已在房间参与者列表中。 - 尝试手动将参与者添加到呼叫对象,代码如下:
const participantsList = await roomsClient.listParticipants(roomId) console.log('\nRetrieved participants for room:') for await (const participant of participantsList) { call.addParticipant(participant.id) }
- 执行后仍出现呼叫启动即结束的情况,抛出错误
code: 403 subCode: 5828,日志中的异常详情:
5e46e33213be","callType":2,"callDirection":"Outgoing","failureReason":"CallSetupError","callEndDiagnosticsInfo":{"callControllerCode":403,"callControllerSubCode":5828,"phrase":"The join is not authorized for Acs Room System since user is not part of invitee list."
- 直接使用官方的房间呼叫快速入门示例代码,也会触发相同错误。
内容的提问来源于stack exchange,提问作者Nabeel
相关产品推荐
相关产品推荐

