This repository builds and publishes WebRTC Android AAR artifacts to Maven Central for easy consumption in Android applications. The Stream video SDK also uses the this artifact
The WebRTC source code comes from the getStream/webrtc repository, which is built using the build-webrtc workflow and the resulting AAR file is placed in this repository for publishing.
There are two main workflows in the project - build-webrtc.yml and publish-webrtc.yml
-
The
build-webrtc.ymlworkflow provides an option to build from the a given branch of webrtc repo. -
The
publish-webrtc.ymlworkflow handles the publishing part of the artifact
The compiled WebRTC AAR artifacts are stored in the artifacts/ directory:
artifacts/
└── libwebrtc.aar
The AAR file must be placed in this directory before publishing can occur.
To use the compiled WebRTC library in your Android application, add the following dependency to your build.gradle file:
dependencies {
implementation 'io.getstream:stream-video-webrtc-android:137.0.1'
}repositories {
maven { url 'https://central.sonatype.com/repository/maven-snapshots/' }
}
dependencies {
implementation 'io.getstream:stream-video-webrtc-android:137.0.1-SNAPSHOT'
}- Group ID:
io.getstream - Artifact ID:
stream-video-webrtc-android - Repository: Maven Central (central.sonatype.com)
- Latest Version: Check the releases page for the current version
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.