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 pack, 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.16.x.x-sdk-prm-integration.aar
    The PRM version of the SDK binary file used for integration purposes.
    You will also need the PRM Operational Vault file opvault.json.
  • A device running Android 5.x (Lollipop) onwards with debugging enabled; the player cannot run on an Android Studio simulator.


  1. Save the SDK pack to your desktop and unzip it. The package contains a zipped set of example code; extract the contents of the file to your desktop.
  2. Start Android Studio, select Open an existing Android Studio project and select the required task in the top-level directory of the extracted package; see the example projects below.
  3. Copy the opy-sdk-android-5.16.x.x-sdk-prm-integration.aar file to the common/libs/ directory.
  4. For each project, replace your opvault.json with the one at <project>/src/main/res/raw/opvault.json. 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