Configuring PlayReady for Android Apps
Have the following information ready for PlayReady configuration:
- The Account API and Secret keys
- The VisualOn license
As of April 1, 2016 the Ooyala Android SDKs have been shipping with Google ExoPlayer libraries instead of the VisualOn libraries. While there are steps that you will need to take, moving to ExoPlayer will provide a more consistent, higher quality HLS and MPEG-DASH playback experience for VOD and live streams on Android devices.
As of August 1, 2016, Ooyala will no longer support the HLS player integration with VisualOn or provide bug fixes or improvements specific to VisualOn libraries.
Use the following steps to configure PlayReady for an Android app.
- Open the app MainActivity file for editing.
Add the following libraries:
- All JNI libraries
- All JAR libraries
- Add the following code to your app: OoyalaPlayer.enableCustomPlayreadyPlayer = true;
Your app is not configured to use the PlayReady Secure Player. For a complete sample app including the PlayReady configuration contact your CSM.