MediaCapture.PrepareLowLagRecordToStreamAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the low lag recording using the specified random-access stream to store the recording. This method provides the LowLagMediaRecording object used to managed the recording.
public:
virtual IAsyncOperation<LowLagMediaRecording ^> ^ PrepareLowLagRecordToStreamAsync(MediaEncodingProfile ^ encodingProfile, IRandomAccessStream ^ stream) = PrepareLowLagRecordToStreamAsync;
IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToStreamAsync(MediaEncodingProfile const& encodingProfile, IRandomAccessStream const& stream);
public IAsyncOperation<LowLagMediaRecording> PrepareLowLagRecordToStreamAsync(MediaEncodingProfile encodingProfile, IRandomAccessStream stream);
function prepareLowLagRecordToStreamAsync(encodingProfile, stream)
Public Function PrepareLowLagRecordToStreamAsync (encodingProfile As MediaEncodingProfile, stream As IRandomAccessStream) As IAsyncOperation(Of LowLagMediaRecording)
Parameters
- encodingProfile
- MediaEncodingProfile
The encoding profile for the recording.
- stream
- IRandomAccessStream
The stream where the image data is written.
Returns
When this method completes, a LowLagMediaRecording object is returned which can be used to start the photo capture.
Windows requirements
App capabilities |
backgroundMediaRecording
|
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for