Skip to content

Vanilla WebRTC builds for Android, published to Maven Central.

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Unknown
LICENSE-THIRD-PARTY
Notifications You must be signed in to change notification settings

dbrgn/webrtc-android

 
 

WebRTC Build for Android

License Maven Central

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!

Installing

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 'dev.bargen:webrtc-android:115.0.0'

Maven:

<dependency>
  <groupId>dev.bargen</groupId>
  <artifactId>webrtc-android</artifactId>
  <version>115.0.0</version>
  <type>pom</type>
</dependency>

Demo

You can find a very simple demo app here: https://github.com/dbrgn/webrtc-demo

Target Commits

These are the target commits for the releases:

How This Library Is Built

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

Signatures

Releases to Maven Central are signed with the following PGP key:

pub   ed25519/0xB993FF98A90C9AB1 2022-11-19 [C]
      Key fingerprint = 20EE 002D 778A E197 EF7D  0D2C B993 FF98 A90C 9AB1
uid                   [ultimate] Danilo Bargen <mail@dbrgn.ch>
sub   ed25519/0x73574DD095640FCF 2022-11-19 [S]

Local Testing

Create a local publication (usually at $HOME/.m2/repository/):

./gradlew publishToMavenLocal

Include it in your project like this:

repositories {
    ...
    mavenLocal()
}

License

Copyright (c) 2019-2022 Threema GmbH
Copyright (c) 2022-2023 Danilo Bargen

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.

About

Vanilla WebRTC builds for Android, published to Maven Central.

Topics

Resources

License

Apache-2.0 and 2 other licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Unknown
LICENSE-THIRD-PARTY

Stars

Watchers

Forks

Languages

  • Shell 69.4%
  • Java 30.6%