https://github.com/testpress/maven
https://github.com/testpress/maven
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/testpress/maven
- Owner: testpress
- Created: 2022-12-06T11:01:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-11-19T13:58:24.000Z (4 months ago)
- Last Synced: 2025-11-19T15:37:05.957Z (4 months ago)
- Size: 25.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Getting Started
This SDK enables you to securely stream DRM-protected videos through your Android app.
### Add TPStreams maven repo to app module's `build.gradle`
```
repositories {
maven {
url "https://github.com/testpress/maven/raw/main/repo"
}
}
```
### Add player dependency to app project `build.gradle`
```
// Use the latest version available for integration.
// To integrate the TPStreams player
implementation 'com.tpstreams.player:player:3.1.10'
// 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.10'
```
### Enable Java 8 support
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
}
```
### Using ProGuard
```
-keep class com.tpstream.player.** { *; }
```
## Documentation
* The [TPStreams] developer guides offer a wealth of information.
[TPStreams]: https://developer.tpstreams.com/docs/mobile-sdk/android-native-sdk/getting-started