Dela via


MediaPlaybackSessionOutputDegradationPolicyState.VideoConstrictionReason Property

Definition

Gets a value from the MediaPlaybackSessionVideoConstrictionReason enumeration specifying the reason why video is being constricted, if known.

public:
 property MediaPlaybackSessionVideoConstrictionReason VideoConstrictionReason { MediaPlaybackSessionVideoConstrictionReason get(); };
MediaPlaybackSessionVideoConstrictionReason VideoConstrictionReason();
public MediaPlaybackSessionVideoConstrictionReason VideoConstrictionReason { get; }
var mediaPlaybackSessionVideoConstrictionReason = mediaPlaybackSessionOutputDegradationPolicyState.videoConstrictionReason;
Public ReadOnly Property VideoConstrictionReason As MediaPlaybackSessionVideoConstrictionReason

Property Value

The reason why video is being constricted.

Remarks

In some circumstances the system may reduce the resolution (constrict) the output of a media item based on a policy rather than a performance issue. The value retrieved with this property specifies the reason this policy-based degredation is occurring for telemetry purposes. A value of None indicates that the content is not currently being constricted.

Applies to