From c6418069fbb49f669cd7b5c7efe9c99d78f0a291 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sat, 2 Nov 2024 16:01:48 +0800 Subject: [PATCH] Update install.sh --- plugins/openresty/versions/rmtp/install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/openresty/versions/rmtp/install.sh b/plugins/openresty/versions/rmtp/install.sh index 6c950453d..9050814de 100644 --- a/plugins/openresty/versions/rmtp/install.sh +++ b/plugins/openresty/versions/rmtp/install.sh @@ -131,14 +131,15 @@ Install_openresty() fi # rtmp推流功能 + nginx_rtmp_ver=1.2.2 if [ ! -f ${openrestyDir}/nginx-rtmp-module.tar.gz ];then - wget --no-check-certificate -O ${openrestyDir}/nginx-rtmp-module.tar.gz https://github.com/arut/nginx-rtmp-module/archive/refs/tags/v1.2.2.tar.gz + wget --no-check-certificate -O ${openrestyDir}/nginx-rtmp-module.tar.gz https://github.com/arut/nginx-rtmp-module/archive/refs/tags/v${nginx_rtmp_ver}.tar.gz fi if [ ! -d ${openrestyDir}/nginx-rtmp-module.tar.gz ];then cd ${openrestyDir} && tar -zxvf nginx-rtmp-module.tar.gz fi - OPTIONS="${OPTIONS} --add-module=${openrestyDir}/nginx-rtmp-module" + OPTIONS="${OPTIONS} --add-module=${openrestyDir}/nginx-rtmp-module-${nginx_rtmp_ver}" cd ${openrestyDir}/openresty-${VERSION} && ./configure \