RTMP
Stream video in multiple formats, including Real-Time Messaging Protocol (RTMP), HLS, and DASH, with the RTMP dynamic module, supported by NGINX, Inc.
Installation Instructions
-
Install the RTMP Media Streaming module.
For Amazon Linux, CentOS, Oracle Linux, and RHEL:
$ yum install nginx-plus-module-rtmp
For Debian and Ubuntu:
$ apt-get install nginx-plus-module-rtmp
For SLES:
$ zypper install nginx-plus-module-rtmp
For Alpine:
$ apk add nginx-plus-module-rtmp
-
Put the
load_module
directive in the top‑level (“main
”) context of NGINX Plus configuration file, nginx.conf:load_module modules/ngx_rtmp_module.so;
-
Perform additional configuration as required by the module.
-
Reload NGINX Plus to enable the module:
$ nginx -t && nginx -s reload