Webrtc static libraries on Android

General Tech Bugs & Fixes 2 years ago

0 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 16 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

For the Android project I am working on, I need to use webrtc static libraries for ARM as well as x86.

Following the tutorial at http://andrii.sergiienko.me/?go=all/building-webrtc-demo-for-android/, I managed to build the demo application for Android on my Ubuntu box.

However, my main interest is in obtaining static libraries that I can use with my application. Searching for 'libwebrtc*a' files, I see the following two files:

./src/out/Release/obj/webrtc/libwebrtc.a
./src/out/Release/obj/webrtc/libwebrtc_common.a

Are these the right webrtc static libraries? The file size seem to be too small. Also, how do I build for ARM as well as x86? Regards.

profilepic.png
manpreet 2 years ago

You can use this script (still work, tested by me) in order to build a fat webrtc lib.

Then you have to add the .a (just libwebrtc.a from 'obj' directory after the build is ready) to your project.


0 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.