安装zlm流媒体服务器
时间: 2023-11-10 13:03:30 浏览: 178
ZLM流媒体平台Windows安装包
好的,以下是安装zlm流媒体服务器的步骤:
1. 安装依赖库
```
sudo apt-get update
sudo apt-get install -y build-essential git cmake libmysqlclient-dev libssl-dev libcurl4-openssl-dev liblog4cplus-dev libavformat-dev libavcodec-dev libavutil-dev libswscale-dev libavdevice-dev libjpeg-dev libpng-dev libx264-dev libfaac-dev libmp3lame-dev libopus-dev
```
2. 下载zlm源码
```
git clone https://github.com/ZLMediaKit/ZLMediaKit.git
```
3. 编译安装
```
cd ZLMediaKit
cmake .
make -j4
sudo make install
```
4. 启动zlm
```
sudo ./sbin/zlmediaserver
```
阅读全文