Share via


CallMedia.StartMediaStreamingAsync Method

Definition

Starts media streaming in the call.

public virtual System.Threading.Tasks.Task<Azure.Response> StartMediaStreamingAsync (Azure.Communication.CallAutomation.StartMediaStreamingOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StartMediaStreamingAsync : Azure.Communication.CallAutomation.StartMediaStreamingOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.StartMediaStreamingAsync : Azure.Communication.CallAutomation.StartMediaStreamingOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function StartMediaStreamingAsync (Optional options As StartMediaStreamingOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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