From 514e0fef31d8ffd5062c6334c04352a088bcc541 Mon Sep 17 00:00:00 2001 From: shamama Date: Wed, 31 Jan 2024 09:58:36 +0200 Subject: [PATCH] SUP-36185: Enable AEAD encryption for SRT. --- nginx-rtmp-kmp-module/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx-rtmp-kmp-module/Dockerfile b/nginx-rtmp-kmp-module/Dockerfile index d41429af..3776323a 100644 --- a/nginx-rtmp-kmp-module/Dockerfile +++ b/nginx-rtmp-kmp-module/Dockerfile @@ -8,7 +8,7 @@ WORKDIR /tmp/build ARG NGINX_VERSION=1.21.0 ARG SRT_VERSION=v1.5.3 -RUN git clone --branch ${SRT_VERSION} https://github.com/Haivision/srt/ && cd srt && ./configure && make && make install +RUN git clone --branch ${SRT_VERSION} https://github.com/Haivision/srt/ && cd srt && ./configure --ENABLE_AEAD_API_PREVIEW=1 --use-enclib=openssl-evp && make && make install RUN wget http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \ tar -zxvf nginx-${NGINX_VERSION}.tar.gz && \ @@ -53,7 +53,7 @@ RUN [ "${DEBUG_BUILD}" -eq "1" ] && debug_option=--with-debug; \ --with-http_ssl_module \ --with-stream_ssl_module $debug_option \ $debug_option \ - --with-cc-opt="-O2" \ + --with-cc-opt="-O2 -DENABLE_AEAD_API_PREVIEW" \ --with-threads && \ make -j $(getconf _NPROCESSORS_ONLN) && \ make install