arut / nginx-rtmp-module

NGINX-based Media Streaming Server
http://nginx-rtmp.blogspot.com
BSD 2-Clause "Simplified" License
13.46k stars 3.51k forks source link

Can I change the modules order in the config file? #906

Open Bingnan opened 7 years ago

Bingnan commented 7 years ago

Hi Arut or other guys,

Dose nginx-rtmp-modules function depends on the order of modules in the config file? Can I change the modules order? for example, put ngx_rtmp_live_module to the last one? Thanks!

CORE_MODULES="$CORE_MODULES
                   ngx_rtmp_module                             \
                   ngx_rtmp_core_module                        \
                   ngx_rtmp_cmd_module                         \
                   ngx_rtmp_codec_module                       \
                   ngx_rtmp_access_module                      \
                   ngx_rtmp_record_module                      \
                  ngx_rtmp_live_module                        \
                  ngx_rtmp_play_module                        \
                  ngx_rtmp_flv_module                         \
                  ngx_rtmp_mp4_module                         \
                  ngx_rtmp_netcall_module                     \
                  ngx_rtmp_relay_module                       \
                  ngx_rtmp_exec_module                        \
                  ngx_rtmp_auto_push_module                   \
                  ngx_rtmp_notify_module                      \
                  ngx_rtmp_log_module                         \
                  ngx_rtmp_limit_module                       \
                  ngx_rtmp_hls_module                         \
                  ngx_rtmp_dash_module                        \
                  "

BR Bingnan

somosmultimedia commented 7 years ago

Are you talking about the nginx.conf file?

Bingnan commented 7 years ago

@Somosmultimedia No, i am talking about the configure file: https://github.com/arut/nginx-rtmp-module/blob/master/config

somosmultimedia commented 7 years ago

I got it. I don't know the answer but I assume the order doesn't matter as each module does independent functions from each other.