您的位置:首页 > 产品设计 > UI/UE

Build Android Webrtc Libjingle Library On Ubuntu

2016-12-17 01:34 1536 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: