MediaCapture.PrepareLowLagRecordToStreamAsync Méthode

Définition

Initialise l’enregistrement à faible décalage à l’aide du flux d’accès aléatoire spécifié pour stocker l’enregistrement. Cette méthode fournit l’objet LowLagMediaRecording utilisé pour gérer l’enregistrement.

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)

Paramètres

encodingProfile
MediaEncodingProfile

Profil d’encodage pour l’enregistrement.

stream
IRandomAccessStream

Flux dans lequel les données d’image sont écrites.

Retours

Une fois cette méthode terminée, un objet LowLagMediaRecording est retourné, qui peut être utilisé pour démarrer la capture de photo.

Configuration requise pour Windows

Fonctionnalités de l’application
backgroundMediaRecording

S’applique à