The Millicast Java SDK for Android is hosted on this Maven repository.
- This can be used in an Android project to publish/subscribe to/from the Millicast Platform.
- The list of versions hosted on this Maven repository.
- The AAR and Javadoc files are also available for download here.
- A valid GitHub account with a personal access token (PAT) with a
read:packages
scope. - The following articles provide more information on how to create and use a PAT:
- Maven details:
- Url: https://maven.pkg.github.com/millicast/maven
- Group ID: com.millicast
- Artifact ID: millicast-sdk-android
- In your Android project's app/build.gradle, add:
- A maven repository for the Millicast Maven on GitHub Packages
- For example:
repositories { // Millicast SDK via Maven from GitHub Packages maven { name = "GitHubPackages" url = uri("https://maven.pkg.github.com/millicast/maven") credentials { username = githubUsername password = githubPat } } }
- Where:
githubUsername
- The username of the GitHub account to use.
githubPat
- GitHub user's personal access token (PAT) with a
read:packages
scope.
- GitHub user's personal access token (PAT) with a
- For example:
- A dependency line to use the Millicast SDK
- To use the latest version of Millicast SDK:
dependencies { implementation 'com.millicast:millicast-sdk-android' }
- To use a specific version of Millicast SDK, for example 1.4.0:
dependencies { implementation 'com.millicast:millicast-sdk-android:1.4.0' }
- To use the latest version of Millicast SDK:
- A maven repository for the Millicast Maven on GitHub Packages
- For an example, you may refer to the app/build.gradle of the Millicast Java SDK Android Sample App.
The following resources provide more information on the usage of the SDK:
- SDK documentation.
- Dolby.io Real-time Streaming documentation.
- The Millicast Java SDK Android Sample App provides more information and examples on SDK usage.