1.6 KiB
1.6 KiB
安卓终端
注意:功能还没完成
C++终端
项目配置
可以自己编译WebRTC依赖或者下载已有依赖,项目导入以后拷贝libmediasoupclient源码还有WebRTC头文件和二进制文件到deps目录。
注意删除目录
src/build/linux和third_party目录中除了abseil-cpp以外的所有依赖(当然不删也没关系就是文件太多编译器会变慢)
学习资料
- https://developer.android.google.cn/docs?hl=zh-cn
- https://developer.android.google.cn/guide?hl=zh-cn
依赖编译(可选)
- https://webrtc.github.io/webrtc-org/native-code/android/
- https://webrtc.github.io/webrtc-org/native-code/development/
- https://webrtc.github.io/webrtc-org/native-code/development/prerequisite-sw/
- https://www.chromium.org/developers/how-tos/install-depot-tools/
- https://mediasoup.org/documentation/v3/libmediasoupclient/installation/
安卓编译(可选)
- https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/
- https://source.android.google.cn/source/initializing?hl=zh-cn
参考项目
- https://github.com/haiyangwu/webrtc-android-build
- https://github.com/haiyangwu/mediasoup-demo-android
- https://github.com/haiyangwu/mediasoup-client-android
其他实现
org.webrtc:google-webrtcio.github.haiyangwu:mediasoup-client