一:开启socks5代理,保证能上外网,代理端口50554
二:设置git代理
git config --global http.proxy "192.168.10.25:50554"
git config --global https.proxy "192.168.10.25:50554"
三:下载depot_tools
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
四:设置curl代理
export http_proxy=http://192.168.10.25:50554
export https_proxy=http://192.168.10.25:50554
五:下载webrtc
mkdir webrtc
cd webrtc
fetch --no-history webrtc
六:编译webrtc-streamer
下载webrtc-streamer:
https://github.com/mpromonet/webrtc-streamer
进入webrtc-streamer目录:
cmake . && make
因为webrtc-streamer使用静态libstdc++,链接会有问题,所以使用动态的方式链接,CmakeLists.txt中注释
# CHECK_CXX_COMPILER_FLAG("-static-libstdc++" CXX_SUPPORTS_STATIC_LIBSTDCPP)
# if (CXX_SUPPORTS_STATIC_LIBSTDCPP)
# target_link_libraries (${CMAKE_PROJECT_NAME} -static-libstdc++)
# endif()
export PYTHONHOME=/usr/bin
export PYTHONPATH=/usr/local/python3.8/lib/python3.8
python3 src/tools/clang/scripts/update.py
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
webrtc-streamer.7z (10个子文件)
webrtc-streamer
webrtc-streamer_1804 26.9MB
index.html 1KB
Procfile 94B
编译webrtc-streamer.txt 1KB
js
adapter.min.js 125KB
webrtcstreamer.js 9KB
jquery-3.5.1.min.js 87KB
webrtc-streamer_2004 28.51MB
使用说明.txt 477B
config.json 2KB
共 10 条
- 1
资源评论
全才欧巴
- 粉丝: 6
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功