/WebRTC

Unofficial distribution of up to date WebRTC framework binaries for Android

WebRTC Binaries for Android

Latest version Release Date Total Downloads Maven Central

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.

📦 Releases

The binary releases correspond with official Chromium releases and branches as specified in the Chromium dashboard.

💡 Things to know

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.

📢 Requirements

  • minSdkVersion = 21

📀 Binaries included

  • arm64-v8a
  • armeabi-v7a
  • x86
  • x86_64

🚚 Installation

Maven

The latest release is available on Maven Central

Gradle Groovy DSL

implementation 'com.dafruits:webrtc:123.0.0'

Gradle Kotlin DSL

implementation("com.dafruits:webrtc:123.0.0")

Manual

  1. Download the AAR from the releases section.
  2. Copy the AAR file into a libs folder inside your app folder.
  3. Include the following line in the dependencies section of your build.gradle.kts file
implementation(files("libs/libwebrtc-123.0.0.aar"))

Proguard

-keep class org.webrtc.** { *; }

🛠 Compile your own WebRTC AAR

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/

📃 License