当前 ACS 调用会话列表并通过 REST 强制结束它

Current ACS call session list and force to end it by REST

我正在将 ACS 视频通话集成到我的服务中(NodeJs 后端,React 前端)。

我只想在预定的时间段内允许 ACS 视频通话会话,然后在结束时强制结束。

但是我找不到实现以下方法的方法(或 REST API)

你能给我一些提示或建议吗?

非常感谢。 晋

您可以使用 Call Automation to join or create a new call. Your app can join either as a participant of the call or act out of the call. Each option offers different capabilities described here.

好消息是,这两个选项都提供了添加和删除参与者的功能 to/from 调用:

如果您决定使用 In-Call (App-Participant) API,您能否在 CreateCallOptionsJoinCallOptions 中指定 callbackUri。在这个 URI 上,您可以在 public-preview 分支中监听 Participants updated and deserialize the information about them. There is a comprehensive quickstart app available on GitHub showcasing the concept of callback URIs on the call recording capabilities (see the CallRecordingController.cs and Utils.ts 等事件(webhooks)。

如果您决定使用 Out-of-Call API,那么您需要自己跟踪参与者 ID。

目前,CallingServer SDK 目前仅适用于 .NET and Java so you'll have to use the REST API