This guide enables you to demonstrate the CONNECT Player features and view the example code.

For the development tools, current dependencies and minimum build configuration required, see Prerequisites and dependencies.

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

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

    This contains application projects which demonstrate how to use the player features.
  • opy-sdk-android-5.26.x-sdk-integration.aar
    This is the SDK binary file used for integration purposes.


  1. Extract the file to your desktop.
  2. Go to opy-sdk-android-5.26.x.x-example-code > common, and place the opy-sdk-android-5.26.x-sdk-integration.aar file in the libs folder.
  3. Open Android Studio and select Open an Existing Project and locate the opy-sdk-android-5.26.x-example-code folder.
  4. When the project has built, select the required project from the dropdown menu (not the side file list); see the example projects below.
  5. Connect an Android device to your development machine via USB and run the application.

Demonstrates playback of a clear stream with no additional functionality.

bookmarkShows how to capture bookmark details when stopping playback and how to restore them when resuming.
controlbarShows how to create a bespoke control bar in the application to control the player.
multi-instanceProvides multiple instances of the player.
keep-screen-onPlayback with the ability to override KeepScreenOn behaviour.
lowlatencyPlayback of a low-latency DASH stream, including configuration of low-latency parameters.
output-controlPlayback of clear streams with output control.
resolution-cappingPlayback of clear streams with resolution capping.
thumbnailsPlayback of clear streams with DASH-IF thumbnail previews.
harmonicthumbnailsPlayback of clear streams with Harmonic WebVTT thumbnail previews.
thumbnails-iframePlayback of clear streams with HLS I-Frame thumbnail preview.
track-selectionPlayback of clear streams with multi-audio.
android-tv-previewPreviews of unencrypted and encrypted channels on the Android TV home screen.
tunneled-playbackPlayback with video decoding and rendering in tunnelled mode.
viewportPlayback with viewport size detection.
volume-enhancementPlayback with the ability to amplify the content audio.
Encrypted playbackencrypted-playbackPlayback of Widevine encrypted content.
encrypted-playback-playreadyPlayback of PlayReady encrypted content.
customised-encrypted-playbackDemonstrates a non-default implementation of Widevine.
Offline playback


Offline playback of clear and encrypted content.
offline-serviceOffline playback with downloading as a service.
Content securitysingle-ssm-workflowShows how to create a customised OTVCustomerSSMCallback to work with your own Secure Session Management (SSM) server.
ssm-encrypted-playback-jtiPlaying SSM encrypted content fetching one-time tokens using JTI (JWT ID) claims.
ssl-mutual authenticationDemonstrates SSL mutual authentication.
watermark-pull-modeDemonstrates QuickMark forensic watermarking in pull mode.

Demonstrates QuickMark forensic watermarking in push mode.

Advertisingdynamic-ads-imaPlayback of clear streams with Google IMA adverts.
server-side-ad-insertionDemonstrates use of adverts within streams with Server-Side Ad Insertion.

Demonstrates the integration of the Yospace user interface handling of streams with Server-Side Ad Insertion.

Statistics and analyticserror-reportingDemonstrates error handling in the example code; see also Android SDK 5 Error Codes.
event-timelinePlayback of clear streams with feedback and analysis of performance tracking or playback issues.
insightSends playback metrics and statistics to an Insight analytics server.
production-logEnables logging in production builds (not used here).
Hardware supportchromecastPlayback of clear, encrypted and SSM streams on Chromecast.
connect-dashPlayback of CONNECT-encrypted DASH streams with NAGRA CONNECT.
connect-prmPlayback of CONNECT-encrypted HLS streams with NAGRA CONNECT.
connect-predelivery-licensePlayback where the application gets the licence ahead of playback.
smartbeamShows how an application can playback streams in conjunction with Broadpeak SmartBeam set-top box.

For full details on integrating the SDK with your application, see the Android SDK 5 Integration Guide. See also the API reference guide provided in the Android SDK pack.