Building WebRTC for Android
来源:互联网 发布:织梦 编辑器字体修改 编辑:程序博客网 时间:2024/04/20 15:17
http://guoh.org/lifelog/2017/05/building-webrtc-for-android/
ENV
Ubuntu
入门以及下载源码
https://webrtc.org/native-code/development/
https://webrtc.org/native-code/android/
1
2
3
gclient config --name=src https:
//chromium
.googlesource.com
/external/webrtc
.git
echo
"target_os = ['android']"
>> .gclient
gclient
sync
--force
1
gclient runhooks --force
查看支持的参数列表
1
gn args --list out
/Debug
设置参数
1
gn gen out
/Debug
--args=
'target_os="android" rtc_include_tests=false enable_nocompile_tests=true libyuv_include_tests=false'
开始编译
1
ninja -C out
/Debug
或者 ninja -C out
/Release
内存不够的时候就用 -j1 或者 -j2
需要使用项目自带的一些工具的时候需要执行
1
source
.
/build/android/envsetup
.sh
可能出现的问题
1
2
/mnt/extra/WebRTC/src/third_party/android_tools/sdk//build-tools/22
.0.0
/aapt
: error
while
loading shared libraries: libz.so.1: cannot
open
shared object
file
: No such
file
or directory
sudo
apt-get
install
lib32z1
0 0
- Building WebRTC for Android
- Building a WebRTC Client for Android
- Building webrtc for Linux ARM
- build WebRTC for android
- Build Webrtc For Android
- Build Webrtc For Android .
- build WebRTC for android .
- build WebRTC for android
- build WebRTC for android
- build webrtc for android
- build WebRTC for android .
- build webrtc for android
- webrtc for android
- Build WebRTC for Android
- WebRtc Build for Android
- Android-Webrtc AECM for android
- Android-Webrtc APM For Android
- Building Unity3D Plugins for Android
- Arraylist动态扩容详解
- 折半查找_Java
- java调用HbaseAPI管理Hbase权限
- SpringBoot--使用redis缓存(1)
- easyui正则验证各种数据格式
- Building WebRTC for Android
- 0515
- Java中普通代码块,构造代码块,静态代码块区别及代码示例
- sqlserver中查询语句case when判断的用法
- 可视化理解卷积神经网络
- 关于Redis数据过期策略
- C语言void关键字
- PAT甲级1005
- 使用JDBC获取Oracle连接时报错