次の方法で共有


Call Media - Cancel All Media Operations

通話内のすべてのメディア操作を取り消します。

POST {endpoint}/calling/callConnections/{callConnectionId}:cancelAllMediaOperations?api-version=2024-09-15

URI パラメーター

名前 / 必須 説明
callConnectionId
path True

string

呼び出し接続 ID

endpoint
path True

string

url

Azure Communication リソースのエンドポイント。

api-version
query True

string

呼び出す API のバージョン。

要求ヘッダー

名前 必須 説明
Authorization True

string

Azure Communication Services ユーザー アクセス トークン。

応答

名前 説明
202 Accepted

サービスはキャンセル要求を受け入れ、処理を開始します。 指定したコールバック URI で RecognizeCanceled イベントまたは PlayCanceled イベントを受け取り、要求によって取り消されたメディア操作に基づいて、要求の状態を更新します。

Other Status Codes

CommunicationErrorResponse

エラー

セキュリティ

Authorization

Azure Communication Services ユーザー アクセス トークン。

型: apiKey
/: header

CallMedia_CancelAllMediaOperations

要求のサンプル

POST https://contoso.communications.azure.com/calling/callConnections/18dea47f-b081-4107-9a5c-4300819d2c6c:cancelAllMediaOperations?api-version=2024-09-15

応答のサンプル