WebRTC 下载
时间: 2023-10-19 21:25:39 浏览: 230
WebRTC的下载步骤如下所示。首先,需要准备好Linux环境,并确保电脑有足够的空间,因为Webrtc代码较大,最好预留30G以上的空间。然后,需要下载depot Tools工具,可以使用以下命令设置代理服务器(如果没有设置代理的话可以忽略这一步):
```bash
$ export http_proxy=192.168.9.86:9385
$ export https_proxy=192.168.9.86:9385
$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
$ export PATH=$PATH:/home/qiuhui/work/open_source/webrtc_src/depot_tools
```
接下来,可以下载Webrtc源码。为了避免在网络抖动时下载失败,最好取消git的网络限速。可以使用以下命令:
```bash
$ git config --global http.lowSpeedLimit 0
$ git config --global http.lowSpeedTime 9999999
$ fetch --nohooks webrtc
$ gclient sync
```
至此,你已成功下载了WebRTC的源码。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [webrtc下载与编译](https://blog.csdn.net/qq_15762939/article/details/130623750)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [webrtc源码的下载-对应ios-android-linux-mac-window等平台的编译文档](https://download.csdn.net/download/u012836015/88244442)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文