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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET