---
title: "Stops media streaming in the call"
method: POST
path: "/calling/callConnections/{callConnectionId}:stopMediaStreaming"
tags: ["MidConnections"]
---

# Stops media streaming in the call

`POST /calling/callConnections/{callConnectionId}:stopMediaStreaming`

Stops media streaming in the call.

## Path parameters

- `callConnectionId` string, required

## Query parameters

- `api-version` string, required

## Request body

- StopMediaStreamingRequest
  - `operationCallbackUri` string — Set a callback URI that overrides the default callback URI set by CreateCall/AnswerCall for this operation. This setup is per-action. If this is not set, the default callback URI set by CreateCall/AnswerCall will be used.
  - `operationContext` string — The value to identify context of the operation.

## Response `202`

The service has accepted the stop media streaming request and will begin processing it. You will receive either MediaStreamingStopped or MediaStreamingFailed event at your specified callback URI to update you on the status of the request.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/communication-callautomation.md) · [All operations](https://skmtc.net/azure/apis/communication-callautomation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/communication-callautomation/versions/4e8b195b121b/schema)
