This repository contains the unofficial distribution of WebRTC framework binaries for Android.
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.
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 the output binaries.
minSdkVersion = 21
- arm64-v8a
- armeabi-v7a
- x86
- x86_64
The latest release is available on Maven Central
Gradle Groovy DSL
implementation 'io.github.mukeshsolanki:webrtc-android:<latest-version>'
Gradle Kotlin DSL
implementation("io.github.mukeshsolanki:webrtc-android:<latest-version>")
Manual
- Download the AAR from the releases section.
- Copy the AAR file into a libs folder inside your app folder.
- Include the following line in the dependencies section of your build.gradle.kts file
implementation(files("libs/libwebrtc-<latest-version>.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/
WebRTC License: https://webrtc.org/support/license