ContentKeyPolicyPlayReadyPlayRight Class

Configures the Play Right in the PlayReady license.

All required parameters must be populated in order to send to Azure.

Inheritance
ContentKeyPolicyPlayReadyPlayRight

Constructor

ContentKeyPolicyPlayReadyPlayRight(*, digital_video_only_content_restriction: bool, image_constraint_for_analog_component_video_restriction: bool, image_constraint_for_analog_computer_monitor_restriction: bool, allow_passing_video_content_to_unknown_output: Union[str, _models.ContentKeyPolicyPlayReadyUnknownOutputPassingOption], first_play_expiration: Optional[datetime.timedelta] = None, scms_restriction: Optional[int] = None, agc_and_color_stripe_restriction: Optional[int] = None, explicit_analog_television_output_restriction: Optional[_models.ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction] = None, uncompressed_digital_video_opl: Optional[int] = None, compressed_digital_video_opl: Optional[int] = None, analog_video_opl: Optional[int] = None, compressed_digital_audio_opl: Optional[int] = None, uncompressed_digital_audio_opl: Optional[int] = None, **kwargs)

Variables

first_play_expiration
timedelta

The amount of time that the license is valid after the license is first used to play content.

scms_restriction
int

Configures the Serial Copy Management System (SCMS) in the license. Must be between 0 and 3 inclusive.

agc_and_color_stripe_restriction
int

Configures Automatic Gain Control (AGC) and Color Stripe in the license. Must be between 0 and 3 inclusive.

explicit_analog_television_output_restriction
ContentKeyPolicyPlayReadyExplicitAnalogTelevisionRestriction

Configures the Explicit Analog Television Output Restriction in the license. Configuration data must be between 0 and 3 inclusive.

digital_video_only_content_restriction
bool

Required. Enables the Image Constraint For Analog Component Video Restriction in the license.

image_constraint_for_analog_component_video_restriction
bool

Required. Enables the Image Constraint For Analog Component Video Restriction in the license.

image_constraint_for_analog_computer_monitor_restriction
bool

Required. Enables the Image Constraint For Analog Component Video Restriction in the license.

allow_passing_video_content_to_unknown_output
str or ContentKeyPolicyPlayReadyUnknownOutputPassingOption

Required. Configures Unknown output handling settings of the license. Known values are: "Unknown", "NotAllowed", "Allowed", "AllowedWithVideoConstriction".

uncompressed_digital_video_opl
int

Specifies the output protection level for uncompressed digital video.

compressed_digital_video_opl
int

Specifies the output protection level for compressed digital video.

analog_video_opl
int

Specifies the output protection level for compressed digital audio.

compressed_digital_audio_opl
int

Specifies the output protection level for compressed digital audio.

uncompressed_digital_audio_opl
int

Specifies the output protection level for uncompressed digital audio.