MediaCapture.PrepareLowLagRecordToCustomSinkAsync 方法

定义

重载

PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

使用指定的自定义接收器来存储录制内容,初始化低延迟录制。 此方法提供用于管理捕获的 LowLagMediaRecording 对象。

PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

使用指定的自定义接收器来存储录制内容,初始化低延迟录制。 此方法提供用于管理录制的 LowLagMediaRecording 对象。

PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, IMediaExtension)

使用指定的自定义接收器来存储录制内容,初始化低延迟录制。 此方法提供用于管理捕获的 LowLagMediaRecording 对象。

public:
 virtual IAsyncOperation<LowLagMediaRecording ^> ^ PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile ^ encodingProfile, IMediaExtension ^ customMediaSink) = PrepareLowLagRecordToCustomSinkAsync;
/// [Windows.Foundation.Metadata.Overload("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)

参数

encodingProfile
MediaEncodingProfile

用于录制的编码配置文件。

customMediaSink
IMediaExtension

自定义媒体接收器的媒体扩展。

返回

此方法完成后,将返回 LowLagMediaRecording 对象,该对象可用于启动照片捕获。

属性

Windows 要求

应用功能
backgroundMediaRecording

另请参阅

适用于

PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile, String, IPropertySet)

使用指定的自定义接收器来存储录制内容,初始化低延迟录制。 此方法提供用于管理录制的 LowLagMediaRecording 对象。

public:
 virtual IAsyncOperation<LowLagMediaRecording ^> ^ PrepareLowLagRecordToCustomSinkAsync(MediaEncodingProfile ^ encodingProfile, Platform::String ^ customSinkActivationId, IPropertySet ^ customSinkSettings) = PrepareLowLagRecordToCustomSinkAsync;
/// [Windows.Foundation.Metadata.Overload("PrepareLowLagRecordToCustomSinkIdAsync")]
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)

参数

encodingProfile
MediaEncodingProfile

用于录制的编码配置文件。

customSinkActivationId
String

Platform::String

winrt::hstring

自定义媒体接收器的媒体扩展的可激活类 ID。

customSinkSettings
IPropertySet

包含媒体扩展的属性。

返回

此方法完成后,将返回 LowLagMediaRecording 对象,该对象可用于启动照片捕获。

属性

Windows 要求

应用功能
backgroundMediaRecording

另请参阅

适用于