解决方法 1. 安装依赖 apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev 2. 下载gst-rtsp-server -- 3. 编译前设置环境变量 export PKG_CONFIG_PATH=/root/t