This is a vanilla WebRTC build with Java bindings packaged for Android. No additional patches have been applied.
ℹ️ Note: This build of WebRTC is a service to the open source community. I cannot offer any support for it whatsoever. If you need help with WebRTC, try asking in the discuss-webrtc mailing list or on StackOverflow.
⚠️ Warning: If you work on a complex project that is based on WebRTC, you should not rely on the binary package published by a random person on the internet, instead you should build it yourself!
This package is available on Maven Central (starting with version 107.0.0). It includes the WebRTC PeerConnection build for ARM and x86, both 32 and 64 bit builds.
Gradle:
implementation 'org.snikket:webrtc-android:107.0.0'
Maven:
<dependency>
<groupId>org.snikket</groupId>
<artifactId>webrtc-android</artifactId>
<version>107.0.0</version>
<type>pom</type>
</dependency>
You can find a very simple demo app here: https://github.com/dbrgn/webrtc-demo
These are the target commits for the releases:
The builds are created using
webrtc-build-docker
(through build-final.sh
to keep things as reproducible as possible). No
custom patches are applied.
Build flags:
WEBRTC_COMPILE_ARGS: symbol_level=1 enable_libaom=false
Releases to Maven Central are signed with the following PGP key:
pub rsa3072 2022-12-06 [SC] [expires: 2032-12-03]
97B753AE662E40B082FB681A1EDBC88808530FB3
uid [ultimate] Snikket WebRTC Builds <[email protected]>
sub rsa3072 2022-12-06 [E] [expires: 2032-12-03]
Create a local publication (usually at $HOME/.m2/repository/
):
./gradlew publishToMavenLocal
Include it in your project like this:
repositories {
...
mavenLocal()
}
Copyright (c) 2019-2022 Threema GmbH
Copyright (c) 2022 Danilo Bargen
Copyright (c) 2022 Snikket CIC
Licensed under the Apache License, Version 2.0, <see LICENSE-APACHE file>
or the MIT license <see LICENSE-MIT file>, at your option. This file may not be
copied, modified, or distributed except according to those terms.