648540858
2024-06-17 1909c7f71fc1b0e290678a3efe95b62d0b9df75e
doc/_content/introduction/compile.md
@@ -16,7 +16,6 @@
|----------------|------------------------------------------|-------------------------|
| WVP-PRO        | 实现国标28181的信令以及视频平台相关的功能                  | 是                       |
| ZLMediaKit     | 为WVP-PRO提供国标28181的媒体部分的实现,以及各种视频流格式的分发支持 | 是                       |
| wvp-pro-assist | wvp的辅助录像程序,也可单独跟zlm一起使用,提供录像控制,录像合并下载接口  | 否(不安装只是影响云端录像功能和国标录像下载) |
## 2 安装依赖
| 依赖     | 版本         | 用途          | 开发环境需要 | 生产环境需要 |
@@ -45,7 +44,7 @@
这里依然是参考网上教程,自行安装吧。
## 4 编译ZLMediaKit
参考ZLMediaKit[WIKI](https://github.com/ZLMediaKit/ZLMediaKit/wiki),截取一下关键步骤:
参考ZLMediaKit[WIKI](https://github.com/ZLMediaKit/ZLMediaKit/wiki),如果需要使用语音对讲功能,请参考[zlm启用webrtc编译指南](https://github.com/ZLMediaKit/ZLMediaKit/wiki/zlm%E5%90%AF%E7%94%A8webrtc%E7%BC%96%E8%AF%91%E6%8C%87%E5%8D%97),开启zlm的webrtc功能。截取一下关键步骤:
```bash
# 国内用户推荐从同步镜像网站gitee下载 
git clone --depth 1 https://gitee.com/xia-chu/ZLMediaKit
@@ -69,7 +68,7 @@
### 5.2 编译前端页面
```shell script
cd wvp-GB28181-pro/web_src/
npm --registry=http://registry.npmmirror.com install
npm --registry=https://registry.npmmirror.com install
npm run build
```
编译如果报错, 一般都是网络问题, 导致的依赖包下载失败