在 ubuntu 上设置 RTMP nginx 服务器

Setting up RTMP nginx server on ubuntu

对此完全陌生,所以请不要太苛刻地判断。 小 uni 项目,试图在我的 mac.

上的 Ubuntu OS 虚拟 machine 中设置一个 RTMP NGINX 服务器

Ubuntu OS --> 20.04 LTS

Mac OS --> 10.15.5

我正在关注两个指南...https://www.nginx.com/blog/video-streaming-for-remote-learning-with-nginx/ and https://www.servermania.com/kb/articles/nginx-rtmp。 对于这两个指南,在我尝试 make 之前一切正常。我收到以下错误 --> 前置 sudo 也无济于事。

在此先感谢您的帮助!

答案取自:https://github.com/arut/nginx-rtmp-module/issues/1283#issuecomment-439217412

将此添加到您的 ./configure 命令的末尾:

--with-cc-opt="-Wimplicit-fallthrough=0"

然后 运行 再 make