MediaCapture.PrepareLowLagRecordToCustomSinkAsync Method

Definition

Overloads

PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

Initializes the low lag recording using the specified custom sink to store the recording. This method provides the LowLagMediaRecording object used to managed the capture.

PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

Initializes the low lag recording using the specified custom sink to store the recording. This method provides the LowLagMediaRecording object used to managed the recording.

PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

Initializes the low lag recording using the specified custom sink to store the recording. This method provides the LowLagMediaRecording object used to managed the capture.

public:
 virtual IAsyncOperation<LowLagMediaRecording ^> ^ PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile ^ encodingProfile, IMediaExtension ^ customMediaSink) = PrepareLowLagRecordToCustomSinkAsync;
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile const & encodingProfile, IMediaExtension const & customMediaSink);
[Windows.Foundation.Metadata.Overload("PrepareLowLagRecordToCustomSinkAsync")]
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, IMediaExtension customMediaSink);
function prepareLowLagRecordToCustomSinkAsync(encodingProfile, customMediaSink)
Public Function PrepareLowLagRecordToCustomSinkAsync (encodingProfile As MediaEncodingProfile, customMediaSink As IMediaExtension) As IAsyncOperation(Of LowLagMediaRecording)

Parameters

encodingProfile
MediaEncodingProfile

The encoding profile to use for the recording.

customMediaSink
IMediaExtension

The media extension for the custom media sink.

Returns

Attributes

Windows 10 requirements

App capabilities
backgroundMediaRecording

See also

PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

Initializes the low lag recording using the specified custom sink to store the recording. This method provides the LowLagMediaRecording object used to managed the recording.

public:
 virtual IAsyncOperation<LowLagMediaRecording ^> ^ PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile ^ encodingProfile, Platform::String ^ customSinkActivationId, IPropertySet ^ customSinkSettings) = PrepareLowLagRecordToCustomSinkAsync;
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile const & encodingProfile, winrt::hstring const & customSinkActivationId, IPropertySet const & customSinkSettings);
[Windows.Foundation.Metadata.Overload("PrepareLowLagRecordToCustomSinkIdAsync")]
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile encodingProfile, string customSinkActivationId, IPropertySet customSinkSettings);
function prepareLowLagRecordToCustomSinkAsync(encodingProfile, customSinkActivationId, customSinkSettings)
Public Function PrepareLowLagRecordToCustomSinkAsync (encodingProfile As MediaEncodingProfile, customSinkActivationId As String, customSinkSettings As IPropertySet) As IAsyncOperation(Of LowLagMediaRecording)

Parameters

encodingProfile
MediaEncodingProfile

The encoding profile to use for the recording.

customSinkActivationId
String

The activatable class ID of the media extension for the custom media sink.

customSinkSettings
IPropertySet

Contains properties of the media extension.

Returns

Attributes

Windows 10 requirements

App capabilities
backgroundMediaRecording

See also

Applies to