Use this guide to demonstrate CONNECT Player PRM features and view the example code.


Make sure you have the latest Android Studio installed, including:

  • Android SDK - install the latest version from Android Studio when prompted.
  • Gradle - use the latest version as recommended by Android Studio.
  • JDK - use the version provided with Android Studio.

Download the Android SDK, which supplies all the files needed to launch the player and start streaming content.

    This package demonstrates how to work with PRM-encrypted streams.
  • opy-sdk-android-5.18.x.x-sdk-prm-integration.aar
    PRM version of the SDK binary file used for integration purposes.
    The PRM Operational Vault file opvault.json is provided separately.

You will also need a device running Android 5.x (Lollipop) onwards with debugging enabled; the player cannot run on an Android Studio simulator.

Some features may have additional dependencies and libraries; see the and build.gradle files in the relevant example code packages.


  1. Extract the file to your desktop.

  2. Go to opy-sdk-android-5.18.x.x-example-prm > common, and place the opy-sdk-android-5.18.x.x-sdk-prm-integration.aar file in the libs folder.
  3. Open Android Studio and select Open an Existing Project and locate the opy-sdk-android-5.18.x.x-example-code-prm folder
  4. For each project, expand src > main > res and create a new directory raw; add your opvault.json file to this folder. The existing one will not work with your PRM server.
  5. Connect an Android device to your development machine via USB, and build and run the application.

Example projects