MediaCapture.StartRecordToStreamAsync | startRecordToStreamAsync method

0 out of 2 rated this helpful - Rate this topic

Starts recording to a random-access stream.

Syntax


mediaCapture.startRecordToStreamAsync(encodingProfile, stream).done( /* Your success and error handlers */ );

Parameters

encodingProfile

Type: MediaEncodingProfile

The encoding profile for the recording.

stream

Type: IRandomAccessStream

The stream where the image data is written.

Return value

Type: IAsyncAction

Returns a IAsyncAction object that is used to control the asynchronous operation.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Media.Capture
Windows::Media::Capture [C++]

Metadata

Windows.winmd

Capabilities

webcam
microphone

See also

MediaCapture

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.