git clone https://github.com/medooze/sfu.git
package.json
"medooze-media-server": "^0.27.2",
修改为
"medooze-media-server": "^0.43.1", #这个版本号去https://github.com/medooze/media-server-node/releases下面找
npm install
#或者
npm install --unsafe-perm
# 秘钥文件生成
openssl req -sha256 -days 3650 -newkey rsa:1024 -nodes -new -x509 -keyout server.key -out server.cert
# 启动服务,ip设置为客户端都能访问到的ip,不能为0.0.0.0
node index.js [ip]
https://[ip]:8084/index.html