└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Android WebRTC Library 2 | 3 | webrtc.org 4 | 5 | ## Integrate Into Android Project 6 | Add repository in the root gradle file: 7 | ```xml 8 | ... 9 | allprojects { 10 | repositories { 11 | ... 12 | maven { 13 | url 'https://raw.github.com/abdularis/libwebrtc-android/repo/' 14 | } 15 | } 16 | } 17 | ``` 18 | 19 | Add dependency to your app module (such as app/build.gradle), latest availabe stable version in this repo is **M83**: 20 | ```xml 21 | dependencies { 22 | implementation 'com.aar.app:google-webrtc:M83' 23 | } 24 | ``` 25 | 26 | ## Description 27 | 28 | This is precompiled google webrtc library for android, [https://webrtc.org/](https://webrtc.org/). 29 | [repo branch](https://github.com/abdularis/libwebrtc-android/tree/repo) 30 | 31 | read [this article](https://medium.com/@abdularis/how-to-compile-native-webrtc-from-source-for-android-d0bac8e4c933) on how to compile webrtc for android. 32 | 33 | Use maven to add .aar library into the existing maven repository using: 34 | ``` 35 | mvn install:install-file -Dfile=./google-webrtc-M74.aar -DgroupId=com.aar.app -DartifactId=google-webrtc -Dversion=M74 -Dpackaging=aar -DlocalRepositoryPath=./libwebrtc-android -DcreateChecksum=true 36 | ``` 37 | --------------------------------------------------------------------------------