다음을 통해 공유


CallMedia.StopMediaStreaming Method

Definition

Stops media streaming in the call.

public virtual Azure.Response StopMediaStreaming (Azure.Communication.CallAutomation.StopMediaStreamingOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StopMediaStreaming : Azure.Communication.CallAutomation.StopMediaStreamingOptions * System.Threading.CancellationToken -> Azure.Response
override this.StopMediaStreaming : Azure.Communication.CallAutomation.StopMediaStreamingOptions * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function StopMediaStreaming (Optional options As StopMediaStreamingOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

options
StopMediaStreamingOptions

An optional object containing stop media streaming options.

cancellationToken
CancellationToken

An optional CancellationToken to cancel the request.

Returns

Returns an HTTP response with a 202 status code for success, or an HTTP failure error code in case of an error.

Applies to