Join the community today
Register Now

Nginx Centmin RTMP Nginx Module ?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by Tythus, Mar 11, 2018.

  1. Tythus

    Tythus Premium Member Premium Member

    61
    9
    8
    Aug 6, 2014
    Ratings:
    +12
    Local Time:
    6:17 PM
    A while back I saw that this was enabled as standard however when running nginx -V I can't see the module has this been mainlined and is no longer an additional module or how would I go about adding this?
     
  2. eva2000

    eva2000 Administrator Staff Member

    36,424
    7,994
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,308
    Local Time:
    3:17 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    The Nginx RTMP Module from GitHub - arut/nginx-rtmp-module: NGINX-based Media Streaming Server was supported but not enabled by default so controlled by variables. Needed for Nginx MP4 Module Module ngx_http_mp4_module and Nginx FLV Module Module ngx_http_flv_module
    Code (Text):
    NGINX_RTMP='n'
    NGINX_FLV='n'
    NGINX_MP4='n'
    

    Support was added in Centmin Mod 123.09beta01 back in Feb, 2016 but hasn't been tested with latest Nginx versions since. So no idea if it works with newer Nginx versions. Enabling means setting in persistent config file /etc/centminmod/custom_config.inc
    Code (Text):
    NGINX_RTMP='y'
    NGINX_FLV='y'
    NGINX_MP4='y'
    

    then running centmin.sh menu option 4 to recompile Nginx

    Once Nginx RTMP module installed, configuration in vhosts etc is left up to end users to figure out from official docs at GitHub - arut/nginx-rtmp-module: NGINX-based Media Streaming Server and above linked Nginx MP4/FLV modules.

    FYI, did a quick test install on Centmin Mod 123.09beta01 with Nginx 1.13.9 and it at least compiled fine

     
..