MediaStreamType Enum

Definition

Specifies a type of stream on a media capture device.

public enum class MediaStreamType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class MediaStreamType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum MediaStreamType
var value = Windows.Media.Capture.MediaStreamType.videoPreview
Public Enum MediaStreamType
Inheritance
MediaStreamType
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)
App capabilities
microphone webcam

Fields

Name Value Description
VideoPreview 0

A video preview stream.

VideoRecord 1

A video recording stream.

Audio 2

An audio stream.

Photo 3

A photo stream.

Metadata 4

A metadata stream.

Applies to