Unofficial distribution of up to date WebRTC framework binaries for Android
This repository contains unofficial distribution of WebRTC framework binaries for Android. This is heavily inspired by the work for providing WebRTC binaries for iOS and MacOS.
Since version M80, Google has deprecated their mobile binary libraries distributions (Was officially using the JCenter). To get the most up to date WebRTC library, you can compile it on your own, or you can use precompiled binaries from here or other sources.
The binary releases correspond with official Chromium releases and branches as specified in the Chromium dashboard.
All binaries in this repository are compiled from the official WebRTC source code without any modifications to the source code or to the output binaries.
The latest release is available on Maven Central
implementation 'com.dafruits:webrtc:123.0.0'
implementation("com.dafruits:webrtc:123.0.0")
libs
folder inside your app folder.dependencies
section of your build.gradle.kts
fileimplementation(files("libs/libwebrtc-123.0.0.aar"))
-keep class org.webrtc.** { *; }
If you wish to compile your own WebRTC AAR, please refer to the following official guide: https://webrtc.googlesource.com/src/+/refs/heads/main/docs/native-code/android/