Share via


CallMedia.StartMediaStreaming Method

Definition

Starts media streaming in the call.

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

Parameters

options
StartMediaStreamingOptions

An optional object containing start 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