Configure usage model demo mode

Before the Reference Implementation server can issue licenses for the usage model demo, you must configure the server to specify how licenses are generated for each of the four usage models. This means you need to specify a DRM policy for each usage model. The Reference Implementation includes the following sample DRM policies in the Reference Implementation/Server/Reference Implementation Server/resources/ directory:

  • dto-policy.pol - (Download-To-Own)
  • vod-policy.pol - (Rental/Video-On-Demand)
  • sub-policy.pol - (Subscription)
  • ad-policy.pol - (Ad-funded)

You can substitute these sample policies with your own DRM policies.

  1. Set these properties in to specify the DRM policy that you plan to apply to each usage model:

    # DRM Policy file name for Download To Own usage
    # DRM Policy file name for Rental usage
    # DRM Policy file name for Subscription usage
    # DRM Policy file name for Ad Supported (free) usage
  2. Copy your sample policy files to the directory you specify in the config.resourcesDirectory property in

On this page