# Web奥迪Q5tc编写翻译好的vs二零一六源码，编译最新版webrtc源码和编译好的全部项目十四个G

1. 直白想看webrtc的源码，苦于FQ技术有限且一切编写翻译进程耗费时间巨大，故求助于互连网。在网络寻觅许久编写翻译好的Webrtc源码，很多版本下载下来总是报各个不当，非常颓败。
2. 只要武术深铁杵磨成针，终于寻得一版可用的Web大切诺基tc源码。具体从哪些网址找的已经记不起来了，可是依然感激分享者。
3. 共享给我们： 链接:
密码: u37i
4. 大致说一下：共享文件中八个文本，第3个depot_tools解压缩，然后增添四处境变量。然后解压缩开首编写翻译webrtc代码
5. 说下自家的编写翻译情状：vs201伍

6. 时间不早了，下一步要从头研商源码了。开端安插从PeerConnectionClient和server
demo跑起。

# 源码下载

1、安装编写翻译依赖景况

git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git


export PATH=$PATH:/path/depot_tools #在当前环境变量追加路径  注意：path是你depot_tools文件夹所在的地址，须要替换为不易的路线。 测试情状变量是不是安插成功： which gn 或者 which gclient #which指令会在环境变量设置的目录里查找执行文件  万壹出口了目前配置的depot_tools文件夹地址，则是布署成功！ 官方网站参考：http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot\_tools/docs/html/depot\_tools\_tutorial.html\#\_setting\_up 2、下载项目源码 1、策画专门的工作 点名四个岗位存放webrtc源码，尤其必要专注的是时下硬盘存款和储蓄空间供给不少于20GB。 mkdir webrtc cd webrtc  二、代码同步 fetch --nohooks webrtc_android gclient sync  以此大致会1伍-20GB的文本需求下载（版本持续迭代），同步速度取决于你的VPN给不给力。 三、信赖碰到布署（编写翻译情况只要求实行贰遍） cd src ./build/install-build-deps.sh  当源码下载完备后，试行景况安插脚本，会帮您检验并设置编写翻译所急需的正视库和工具。 # 编写翻译最新版webrtc源码和编写翻译好的凡事项目1玖个G【分享】 参考编写翻译最新版webrtc源码： Git clone gclient config –name=src set DEPOT_TOOLS_WIN_TOOLCHAIN=0 set GYP_MSVS_VERSION=2015 set GYP_GENERATORS=ninja,msvs-ninja gclient sync cd src Python webrtc/build/gyp_webrtc.py 上图哈： 注： 1.depot_tools的选拔参考： 贰.webrtc官方源码小编copy到github上了： 叁.webrtc编写翻译好的整个项目本人传到百度云了： (注：由Yu Gang压缩辛亏上传中，有拾多G，请稍等，等上传达成后再下载) ———————— 201陆-九-2玖进入安装depot_tools表达(青灰字体：python和别的工具会在运作gclinet时协和下载安装) —————————————– Install depot_tools Chromium and Chromium OS use a package of scripts called depot_tools to manage checkouts and code reviews. The depot_tools package includes gclientgclgit-clrepo, and others. ## Installing on Linux and Mac 1. Confirm git and python are installed. git 2.2.1+ recommended. python 2.7+ recommended. 2. Fetch depot_tools: $ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
3. Add depot_tools to your PATH:
$export PATH=pwd/depot_tools:"$PATH"

• Yes, you want to put depot_tools ahead of everything else, otherwise gcl will refer to the GNU Common Lisp compiler.
• You may want to add this to your .bashrc file or your shell’s equivalent so that you don’t need to reset your \$PATH manually each time you open a new shell.

### Preamble

Chromium is mostly designed to be run using the native Windows tools and the Msys (Git for Windows) toolchain. Cygwin is not recommended, and likely things will fail in cryptic ways.

### Instructions

• Do not use drag-n-drop or copy-n-paste extract from Explorer, this will not extract the hidden ".git" folder which is necessary for depot_tools to autoupdate itself. You can use "Extract all…" from the context menu though.
• Do not extract to a path containing spaces. If you do, gclient will produce the error "update_depot_tools.bat was not expected at this time" or similar.

Add depot_tools to the start (not end!) of your PATH:

• Control Panel > System and Security > System > Advanced system settings
• Modify the PATH system variable to include depot_tools

• Control Panel > User Accounts > User Accounts > Change my environment variables
• Add a PATH user variable: C:\path\to\depot_tools;%PATH%

Run gclient from the cmd shell. The first time it is run, it will install its own copy of various tools. If you run gclient from a non-cmd shell, it may appear to run properly, but python, and other tools may not get installed correctly (while it should work fine from a msys bash shell, you may still trip over bugs from time to time).

• If you see strange errors with the file system on the first run of gclient, you may want to disable Windows Indexing.
• If you see errors like "The system cannot execute the specified program", try installing "Microsoft Visual C++ 2008 Redistributable Package".
• If it complains that it can’t find python, make sure you don’t already have a .gclient file in the same directory.
• After running gclient open a command prompt and type where python and confirm that the depot_tools python.bat comes ahead of any copies of python.exe. Failing to ensure this can lead to overbuilding when using gn – see crbug.com/611087