一、基础环境准备
1.1 官网要求基础环境:
Node.js version >= v16.0.0
Python version >= 3.7 with PIP在这里插入图片描述
gcc and g++ >= 8 or clang (with C++17 support)
1. 2 安装nodejs
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g yarn
1.3 安装python3.7
sudo apt-get install python3.7
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
1.4 安装gcc-8
sudo apt-get install gcc-8
二 、源码下载编译
2.1 源码下载
git clone https://github.com/versatica/mediasoup-demo.git
2.2 源码编译
cd server
yarn install

最低0.47元/天 解锁文章

被折叠的 条评论
为什么被折叠?



