首页 > 移动平台 > 详细

Build Android Webrtc Libjingle Library On Ubuntu

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

   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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!