使用NGINX启用视频流

使用NGINX启用视频流,nginx,rtmp,Nginx,Rtmp,我刚刚为实时视频流启用了nginx。我看了这篇文章()。当我跑的时候 sudo nginx我收到下面的警告 nginx: [warn] duplicate extension "ts", content type: "video/mp2t", previous content type: "video/mp2t" in /etc/nginx/nginx.conf:39 nginx: [warn] duplicate extension "html", content type: "text/ht

我刚刚为实时视频流启用了nginx。我看了这篇文章()。当我跑的时候

sudo nginx
我收到下面的警告

nginx: [warn] duplicate extension "ts", content type: "video/mp2t", previous content type: "video/mp2t" in /etc/nginx/nginx.conf:39
nginx: [warn] duplicate extension "html", content type: "text/html", previous content type: "text/html" in /etc/nginx/nginx.conf:40
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:80 failed (98: Address already in use)
nginx: [emerg] bind() to [::]:80 failed (98: Address already in use)
nginx: [emerg] bind() to 0.0.0.0:1935 failed (98: Address already in use)
nginx: [emerg] still could not bind() ```



Can someone please help me resolve this error. I have also included the config file for nginx. The article does not really give clear instructions for not so linux tech savvy people, it's missing some steps and doesn't really indicate where to put what.