Git Product home page Git Product logo

libwebrtc-android's Introduction

Android WebRTC Library

webrtc.org

Integrate Into Android Project

Add repository in the root gradle file:

...
allprojects {
    repositories {
        ...
        maven {
            url 'https://raw.github.com/abdularis/libwebrtc-android/repo/'
        }
    }
}

Add dependency to your app module (such as app/build.gradle), latest availabe stable version in this repo is M83:

dependencies {
    implementation 'com.aar.app:google-webrtc:M83'
}

Description

This is precompiled google webrtc library for android, https://webrtc.org/. repo branch

read this article on how to compile webrtc for android.

Use maven to add .aar library into the existing maven repository using:

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

libwebrtc-android's People

Contributors

abdularis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

libwebrtc-android's Issues

How to integrate the compiled libwebrtc.aar back into android project

I found your article on WebRTC from source very helpful.
I stuck at the point of integrating the compiled libwebrtc.aar back into Android project.

What are the Gradle configurations required and files to copy back into android project?

Use-case: Compile WebRTC framework along with openh264 software codec.
Command: tools_webrtc/android/build_aar.py --extra-gn-args='target_os="android" rtc_use_h264=true is_debug=false'

Unable to compile WebRTC Library for Android!

Hello AbdulHaris,

I hope you’re doing well. I am trying to compile the WebRTC Library for Android.

Capture

I am facing this issue and couldn’t find any help on the internet.

ERROR at //BUILD.gn:648:20: Assignment had no effect.
java_files = [
^
You set the variable "java_files" here and it was unused before it went
out of scope.
See //BUILD.gn:647:5: whence it was called.
junit_binary("android_junit_tests") {
^------------------------------------

I have also tried this command:

tools_webrtc/android/build_aar.py

But it is giving me this error. I haven't change any code yet inside WebRTC Native Stack. Just Compiling after fetching the Code.

Capture

I am using Linux OS: Ubuntu, and WebRTC Git Branch-M79. Can you please assist me in this matter?

Thanks

Compiling instructions

Hi, I have read your article and I've tried to build the m79 branch but I always ends up with some errors (subprocess.CalledProcessError).
Can you share how did you manage to build the .aar?
Thanks!

new versions

hello,
can you please release newer versions of prebuilt android builds.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.