码迷,mamicode.com
首页 > 移动开发 > 详细

Build Android Webrtc Libjingle Library On Ubuntu

时间:2016-12-17 07:34:36      阅读:166      评论:0      收藏:0      [点我收藏+]

标签:system   one   git   nbsp   rar   evel   toc   osi   csharp   

   Recently, 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]

 

Build Android Webrtc Libjingle Library On Ubuntu

标签:system   one   git   nbsp   rar   evel   toc   osi   csharp   

原文地址:http://www.cnblogs.com/zhuangzebo/p/6188998.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!