[*] 日常优化
This commit is contained in:
@@ -115,4 +115,4 @@ services:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- TZ=Asia/Shanghai
|
||||
```
|
||||
```
|
||||
|
||||
705
docs/Protocol.md
705
docs/Protocol.md
File diff suppressed because it is too large
Load Diff
@@ -35,7 +35,5 @@
|
||||
* 存在TURN服务优先使用
|
||||
* 安卓关闭视频没有删除预览
|
||||
* 浏览器WebRTC监控页面关闭:`chrome://webrtc-internals/`
|
||||
* me -> this
|
||||
* console -> platformError
|
||||
|
||||
## 完成任务
|
||||
|
||||
@@ -128,46 +128,3 @@ cmake . -B build \
|
||||
make -C build
|
||||
make install -C build
|
||||
```
|
||||
|
||||
## Linux(鸿蒙)
|
||||
|
||||
```
|
||||
# 编译工具
|
||||
mkdir -p /data
|
||||
cd /data
|
||||
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
||||
|
||||
# 下载源码
|
||||
mkdir -p /data/webrtc
|
||||
cd /data/webrtc
|
||||
/data/depot_tools/fetch --nohooks webrtc
|
||||
#/data/depot_tools/gclient sync
|
||||
|
||||
# 切换分支
|
||||
cd src
|
||||
git checkout -b m94 branch-heads/4606
|
||||
/data/depot_tools/gclient sync
|
||||
|
||||
# 编译依赖
|
||||
./build/install-build-deps.sh
|
||||
|
||||
# 鸿蒙工具
|
||||
wget https://repo.huaweicloud.com/openharmony/os/4.0-Release/ohos-sdk-windows_linux-public.tar.gz
|
||||
|
||||
# 编译项目
|
||||
./buildtools/linux64/gn gen out/Release-clang-x64 --args='target_os="linux" target_cpu="x64" is_clang=true is_debug=false use_rtti=true rtc_use_h264=true use_custom_libcxx=true rtc_include_tests=false is_component_build=false treat_warnings_as_errors=false rtc_build_examples=false'
|
||||
./third_party/depot_tools/ninja -C out/Release-clang-x64
|
||||
|
||||
./buildtools/linux64/gn gen out/Release-clang-x86 --args='target_os="linux" target_cpu="x86" is_clang=true is_debug=false use_rtti=true rtc_use_h264=true use_custom_libcxx=true rtc_include_tests=false is_component_build=false treat_warnings_as_errors=false rtc_build_examples=false'
|
||||
./third_party/depot_tools/ninja -C out/Release-clang-x86
|
||||
|
||||
./build/linux/sysroot_scripts/install-sysroot.py --arch=arm
|
||||
./buildtools/linux64/gn gen out/Release-clang-arm --args='target_os="linux" target_cpu="arm" is_clang=true is_debug=false use_rtti=true rtc_use_h264=true use_custom_libcxx=true rtc_include_tests=false is_component_build=false treat_warnings_as_errors=false rtc_build_examples=false'
|
||||
./third_party/depot_tools/ninja -C out/Release-clang-arm
|
||||
|
||||
./build/linux/sysroot_scripts/install-sysroot.py --arch=arm64
|
||||
./buildtools/linux64/gn gen out/Release-clang-arm64 --args='target_os="linux" target_cpu="arm64" is_clang=true is_debug=false use_rtti=true rtc_use_h264=true use_custom_libcxx=true rtc_include_tests=false is_component_build=false treat_warnings_as_errors=false rtc_build_examples=false'
|
||||
./third_party/depot_tools/ninja -C out/Release-clang-arm64
|
||||
```
|
||||
|
||||
* https://github.com/webrtc-sdk/webrtc-build/blob/main/docs/build.md
|
||||
|
||||
Reference in New Issue
Block a user