Update Policy Sample Scenario

In this scenario, a Studio DRM policy starts off with the following Microsoft PlayReady settings:

{
    "playready": {
        "license_duration_seconds": 43200,
        "can_persist": true,
        "can_play": true,
        "playback_duration_seconds": 50,
        "sd": {
            "require_hdcp_type_1": false,
            "security_level": 2000,
            "play_enabler": false,
            "digital_video_protection_level": 100
        }
    }
}

The policy is then updated as indicated below.

{
    "playready": {
        "license_duration_seconds": 50000
    }
}

The above playready dictionary is missing various settings. Although those settings have been previously defined, they will now be overwritten by the corresponding default settings. As a result, the Microsoft PlayReady configuration will be defined as indicated below.

{
    "playready": {
        "license_duration_seconds": 50000,
        "can_persist": false,
        "realtime_expiration": true,
        "can_play": true,
        "uhd2": {
            "digital_video_protection_level": 100,
            "analog_video_protection_level": 100,
            "compressed_digital_audio_protection_level": 100,
            "security_level": 2000,
            "uncompressed_digital_audio_protection_level": 100,
            "require_hdcp_type_1": false,
            "play_enabler": false
        },
        "uhd1": {
            "digital_video_protection_level": 100,
            "analog_video_protection_level": 100,
            "compressed_digital_audio_protection_level": 100,
            "security_level": 2000,
            "uncompressed_digital_audio_protection_level": 100,
            "require_hdcp_type_1": false,
            "play_enabler": false
        },
        "license_begin_seconds": 3600,
        "playback_duration_seconds": 0,
        "hd": {
            "digital_video_protection_level": 100,
            "analog_video_protection_level": 100,
            "compressed_digital_audio_protection_level": 100,
            "security_level": 2000,
            "uncompressed_digital_audio_protection_level": 100,
            "require_hdcp_type_1": false,
            "play_enabler": false
        },
        "sd": {
            "digital_video_protection_level": 100,
            "analog_video_protection_level": 100,
            "compressed_digital_audio_protection_level": 100,
            "security_level": 2000,
            "uncompressed_digital_audio_protection_level": 100,
            "require_hdcp_type_1": false,
            "play_enabler": false
        }
    }
}