Build Android Webrtc Libjingle Library On Ubuntu

it2022-05-08  8

   Our team is developing an app to help people solve problem face to face.

We choose webrtc protocol as our bridge among different platform(Android, iOS, browser etc).

But there is a hole in Android 6.0 system, the protocol can not support Android 6.0 system.

As we known, libjingle (http://mvnrepository.com/artifact/io.pristine) was built in December, 2015,

it hasn't been updated for at least one year. I do not know if webrtc is abandoned by Google, but

a lot of developers are still creating app by it.

    Fortunately, though the official website does not offer the latest library, it give us a script which

shows us how to build it. 

 

1. Download webrtc library

https://webrtc.org/native-code/android/

Note: The source code of webrtc is quite large, you must have at least 40 gigabytes(GB) hard drive in your PC.

 

2. Download webrtc build scripts.

git clone https://github.com/pristineio/webrtc-build-scripts.git

Note: you can use this script to download webrtc library, skip step 1.

3. Build libjingle

source android/build.sh build_apprtc

Note: webrtc source code must be under the folder 

webrtc-build-scripts/webrtc/src/[source code]

转载请表明链接: http://www.cnblogs.com/zhuangzebo/p/6188998.html

 

转载于:https://www.cnblogs.com/zhuangzebo/p/6188998.html


最新回复(0)