mark:webrtc历史版本(带编译工程)下载方法

1、首先下载当前最新的webrtc版本

git下使用命令行如下:

mkdir webrtc-checkout
cd webrtc-checkout
fetch --nohooks webrtc
gclient sync

2、切换到指定历史版本

git checkout -b (随便命名) refs/remotes/branch-heads/(指定版本号)
gclient sync

例如:

git checkout -b mine refs/remotes/branch-heads/m74
gclient sync

3、历史版本号查询

git branch -a

4、备注

历史版本可能需要老VS。会有如下打印:

为了保证正常下载,可以查看vs_toolchain.py文件是否支持新版本。

若支持,直接配置GYP_MSVS_VERSION系统变量就好。

猜你喜欢

转载自blog.csdn.net/CrystalShaw/article/details/108602994