CallMedia.StopMediaStreamingAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Stops media streaming in the call.
public virtual System.Threading.Tasks.Task<Azure.Response> StopMediaStreamingAsync (Azure.Communication.CallAutomation.StopMediaStreamingOptions options = default, System.Threading.CancellationToken cancellationToken = default);
abstract member StopMediaStreamingAsync : Azure.Communication.CallAutomation.StopMediaStreamingOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.StopMediaStreamingAsync : Azure.Communication.CallAutomation.StopMediaStreamingOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function StopMediaStreamingAsync (Optional options As StopMediaStreamingOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET