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 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 10 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

Audio 2

An audio stream.

Photo 3

A photo stream.

VideoPreview 0

A video preview stream.

VideoRecord 1

A video recording stream.

Applies to