MediaTranscoder.PrepareMediaStreamSourceTranscodeAsync Method

Definition

Asynchronously initializes the trancode operation on the specified media source and returns a PrepareTranscodeResult object which can be used to start the transcode operation.

public:
 virtual IAsyncOperation<PrepareTranscodeResult ^> ^ PrepareMediaStreamSourceTranscodeAsync(IMediaSource ^ source, IRandomAccessStream ^ destination, MediaEncodingProfile ^ profile) = PrepareMediaStreamSourceTranscodeAsync;
IAsyncOperation<PrepareTranscodeResult> PrepareMediaStreamSourceTranscodeAsync(IMediaSource const& source, IRandomAccessStream const& destination, MediaEncodingProfile const& profile);
public IAsyncOperation<PrepareTranscodeResult> PrepareMediaStreamSourceTranscodeAsync(IMediaSource source, IRandomAccessStream destination, MediaEncodingProfile profile);
function prepareMediaStreamSourceTranscodeAsync(source, destination, profile)
Public Function PrepareMediaStreamSourceTranscodeAsync (source As IMediaSource, destination As IRandomAccessStream, profile As MediaEncodingProfile) As IAsyncOperation(Of PrepareTranscodeResult)

Parameters

source
IMediaSource

The media source to perform the transcode operation on.

destination
IRandomAccessStream

The destination stream for the transcoded media data.

profile
MediaEncodingProfile

The profile to use for the operation.

Returns

When this method completes, a PrepareTranscodeResult object is returned which can be used to start the transcode.

Applies to