Share via


MediaPlaybackSessionVideoConstrictionReason Enum

Definition

Specifies the policy-based reason that video output of a media item is constricted.

public enum class MediaPlaybackSessionVideoConstrictionReason
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class MediaPlaybackSessionVideoConstrictionReason
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum MediaPlaybackSessionVideoConstrictionReason
var value = Windows.Media.Playback.MediaPlaybackSessionVideoConstrictionReason.none
Public Enum MediaPlaybackSessionVideoConstrictionReason
Inheritance
MediaPlaybackSessionVideoConstrictionReason
Attributes

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Name Value Description
None 0

The content is not currently being constricted.

VirtualMachine 1

The content is being played back on a virtual machine.

UnsupportedDisplayAdapter 2

The content is being displayed on an unsupported display adapter.

UnsignedDriver 3

The content is being displayed by a device with an unsigned driver.

FrameServerEnabled 4

The content is being rendered in a MediaPlayer with IsVideoFrameServerEnabled, providing direct access to video frames to the app.

OutputProtectionFailed 5

Output protection for the content failed.

Unknown 6

The reason is unknown.

Remarks

This enumeration supports the MediaPlaybackSessionOutputDegradationPolicyState.VideoConstrictionReason property.

Applies to