安装switchServer的出错:
Package libavdevice was not found in the pkg-config search path. Perhaps you should add the director
pkg-config --cflags libavdevice
find / -name 'libavdevice.pc' 找到pc目录
/home/cloudgate/FFmpeg-master/libavdevice/libavdevice.pc
/opt/ffmpeg/lib/pkgconfig/libavdevice.pc
export PKG_CONFIG_PATH=/opt/ffmpeg/lib/pkgconfig:$PKG_CONFIG_PATH
cd switchServer/c
make
cd ..
node server.js //没有 node
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
yum -y install nodejs
node server.js
ffmpeg -version #查询ffmpeg的信息
https://downloads.nodesource.com/#RHEL-v8