Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can we set NGINX web server and its RTMP module on mac system?

Tags:

macos

nginx

rtmp

How can we set NGINX web server and its RTMP module on mac system?

I have tried to set up server using below link

https://github.com/arut/nginx-rtmp-module/wiki/Getting-started-with-nginx-rtmp

https://github.com/arut/nginx-rtmp-module/wiki/Installing-via-Build

But could not run it as it give error as below :-

nginx-rtmp-module-master XXXXX$ ./configure --add-module=/path/to/nginx-rtmp-module --with-debug ...
-bash: ./configure: No such file or directory
like image 756
Avinay Kumar Avatar asked Aug 14 '17 07:08

Avinay Kumar


People also ask

Does Nginx support RTMP?

Most modern streaming tools support the RTMP protocol, which defines the basic parameters of an internet video stream. The Nginx web server includes a module that allows you to provide an RTMP stream with minimal configuration from a dedicated URL, just like it provides HTTP access to web pages by default.

Can I use Nginx on Mac?

By default, the installation of NGINX on Mac serves the web directory from /usr/share/nginx/html (Source-installed) or /usr/local/Cellar/nginx/<version>/html (Hombrew-installed).


1 Answers

I've faced the same problem, however brew tap homebrew/nginx returns a error

Error: homebrew/nginx was deprecated. This tap is now empty as all its formulae were migrated.

I solved it with

brew tap denji/homebrew-nginx

Instead of

brew tap homebrew/homebrew-nginx

like image 121
Alex Dobrushskiy Avatar answered Sep 26 '22 17:09

Alex Dobrushskiy