This SDK enables you to securely stream DRM-protected videos through your Android app.
repositories {
maven {
url "https://github.com/testpress/maven/raw/main/repo"
}
}
// Use the latest version available for integration.
// To integrate the TPStreams player
implementation 'com.tpstreams.player:player:3.1.2'
// If you're already using Exo Player in youe project, you can still integrate TPStreams Player with below implimentation.
// To integrate the TPStreams player
implementation 'com.tpstreams.player:player:2.1.2'
You also need to ensure Java 8 support is enabled by adding the following block to each of your app module's build.gradle
file inside the android
block:
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
-keep class com.tpstream.player.** { *; }
- The TPStreams developer guides offer a wealth of information.