Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
MediaStreamType Enum
Definition
- Namespace:
- Windows.Media.Capture
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.
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
| Requirements | Description |
|---|---|
| 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
Feedback
Was this page helpful?
