我可以从我的客户端应用程序加入团队会议。
现在尝试以客户端上的团队身份与另一个团队身份(在团队上)开始 1:1 通话;我尝试使用https://docs.microsoft.com/en-us/azure/communication-services/quickstarts/voice-video-calling/get-started-with-voice中的 StartCallAsync 方法(而不是 JoinAsync) -video-calling-custom-teams-client
此示例在节点中 - 我使用的是 C#,看起来 SDK 的最新 beta 版本没有threadId
暴露该属性。
这是JS代码
call_ = await call_agent.startCall([{ microsoftTeamsUserId: calleeTeamsUserId.value.trim() }], { videoOptions: videoOptions, threadId: teamsThreadId });
这个链接https://docs.microsoft.com/en-us/javascript/api/azure-communication-services/@azure/communication-calling/startcalloptions?view=azure-communication-services-js指出线程是必需的; 但是,threadId
对于 c# SDK 不存在这样的
客户端从连接状态变为断开状态 - 呼叫从不响铃
拨打电话的具体代码
StartCallOptions startCallOptions = new StartCallOptions();
ICommunicationIdentifier[] callees = new ICommunicationIdentifier[1]
{
new MicrosoftTeamsUserIdentifier(*****)
};
call_ = await call_agent.StartCallAsync(callees, startCallOptions);