Skip to content
/ WebRTC Public

Unofficial distribution of up to date WebRTC framework binaries for Android

Notifications You must be signed in to change notification settings

rno/WebRTC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

21 Commits
Β 
Β 

Repository files navigation

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