Share via


CallRecording.DownloadStreaming(Uri, HttpRange, CancellationToken) Method

Definition

The DownloadStreaming(Uri, HttpRange, CancellationToken) operation downloads the recording's content.

public virtual Azure.Response<System.IO.Stream> DownloadStreaming (Uri sourceLocation, Azure.HttpRange range = default, System.Threading.CancellationToken cancellationToken = default);
abstract member DownloadStreaming : Uri * Azure.HttpRange * System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
override this.DownloadStreaming : Uri * Azure.HttpRange * System.Threading.CancellationToken -> Azure.Response<System.IO.Stream>
Public Overridable Function DownloadStreaming (sourceLocation As Uri, Optional range As HttpRange = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Response(Of Stream)

Parameters

sourceLocation
Uri

Recording's content's url location.

range
HttpRange

If provided, only download the bytes of the content in the specified range. If not provided, download the entire content.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be canceled.

Returns

A Response<T> containing the downloaded content.

Remarks

A RequestFailedException will be thrown if a failure occurs.

Applies to