Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 2.92 KB

lowlagmediarecording.md

File metadata and controls

36 lines (24 loc) · 2.92 KB
-api-id -api-type
T:Windows.Media.Capture.LowLagMediaRecording
winrt class

Windows.Media.Capture.LowLagMediaRecording

-description

Provides methods for taking a low lag media recording.

-remarks

Use the following methods on the MediaCapture class to initialize the recording, which must be called before StartAsync: PrepareLowLagRecordToStreamAsync, PrepareLowLagRecordToStorageFileAsync, and PrepareLowLagRecordToCustomSinkAsync. These are asynchronous methods which return a LowLagMediaRecording object when they are finished.

StopAsync stops the operation, which can be restarted with StartAsync.

FinishAsync stops the media recording operation and releases the LowLagMediaRecording object and resources used by the media recording operation. If you want to restart the recording after calling FinishAsync, you will need to call one of the PrepareLowLagRecord methods to initialize a new LowLagMediaRecording object.

If the media type is changed or an effect is added, you must call PrepareLowLagRecordToStreamAsync, PrepareLowLagRecordToStorageFileAsync, or PrepareLowLagRecordToCustomSinkAsync to create a new LowLagMediaRecording object.

For how-to guidance for using LowLagMediaCapture to capture video, see Basic photo, video, and audio capture with MediaCapture.

Version history

Windows version SDK version Value added
1607 14393 PauseWithResultAsync
1607 14393 StopWithResultAsync

-examples

-see-also

Basic photo, video, and audio capture with MediaCapture, MediaControl.VideoDeviceController, PrepareLowLagRecordToStreamAsync, PrepareLowLagRecordToStorageFileAsync, PrepareLowLagRecordToCustomSinkAsync