Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding SRT transmission protocol support (for a fast and efficient RTMP alternative) #227

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions docker-images/3.2/alpine38/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ENV FFMPEG_VERSION=3.2.14 \
OPENCOREAMR_VERSION=0.1.5 \
OPUS_VERSION=1.2 \
OPENJPEG_VERSION=2.1.2 \
SRT_VERSION=1.4.1 \
THEORA_VERSION=1.1.1 \
VORBIS_VERSION=1.3.5 \
VPX_VERSION=1.8.0 \
Expand Down Expand Up @@ -63,6 +64,9 @@ ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconf
ARG PREFIX=/opt/ffmpeg
ARG LD_LIBRARY_PATH="/opt/ffmpeg/lib:/opt/ffmpeg/lib64:/usr/lib64:/usr/lib:/lib64:/lib"

# Fix issues when installing tzdata on Ubuntu
ARG DEBIAN_FRONTEND=noninteractive


RUN buildDeps="autoconf \
automake \
Expand All @@ -82,6 +86,7 @@ RUN buildDeps="autoconf \
python \
openssl-dev \
tar \
tcl \
yasm \
nasm \
zlib-dev \
Expand Down Expand Up @@ -424,6 +429,19 @@ RUN \
make install && \
rm -rf ${DIR}

## libsrt - to allow receiving and pushing SRT streams
RUN \
DIR=/tmp/libsrt && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://github.com/Haivision/srt/archive/v${SRT_VERSION}.tar.gz && \
tar -xz --strip-components=1 -f v${SRT_VERSION}.tar.gz && \
./configure --prefix="${PREFIX}" --disable-static --enable-shared && \
make && \
make install && \
rm -rf ${DIR}


## ffmpeg https://ffmpeg.org/
RUN \
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
Expand Down
18 changes: 18 additions & 0 deletions docker-images/3.2/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ENV FFMPEG_VERSION=3.2.14 \
OPENCOREAMR_VERSION=0.1.5 \
OPUS_VERSION=1.2 \
OPENJPEG_VERSION=2.1.2 \
SRT_VERSION=1.4.1 \
THEORA_VERSION=1.1.1 \
VORBIS_VERSION=1.3.5 \
VPX_VERSION=1.8.0 \
Expand Down Expand Up @@ -65,6 +66,9 @@ ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconf
ARG PREFIX=/opt/ffmpeg
ARG LD_LIBRARY_PATH="/opt/ffmpeg/lib:/opt/ffmpeg/lib64:/usr/lib64:/usr/lib:/lib64:/lib"

# Fix issues when installing tzdata on Ubuntu
ARG DEBIAN_FRONTEND=noninteractive


RUN buildDeps="autoconf \
automake \
Expand All @@ -83,6 +87,7 @@ RUN buildDeps="autoconf \
python3 \
openssl-devel \
tar \
tcl \
yasm \
which \
zlib-devel" && \
Expand Down Expand Up @@ -461,6 +466,19 @@ RUN \
make install && \
rm -rf ${DIR}

## libsrt - to allow receiving and pushing SRT streams
RUN \
DIR=/tmp/libsrt && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://github.com/Haivision/srt/archive/v${SRT_VERSION}.tar.gz && \
tar -xz --strip-components=1 -f v${SRT_VERSION}.tar.gz && \
./configure --prefix="${PREFIX}" --disable-static --enable-shared && \
make && \
make install && \
rm -rf ${DIR}


## ffmpeg https://ffmpeg.org/
RUN \
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
Expand Down
18 changes: 18 additions & 0 deletions docker-images/3.2/nvidia1604/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ ENV FFMPEG_VERSION=3.2.14 \
OPENCOREAMR_VERSION=0.1.5 \
OPUS_VERSION=1.2 \
OPENJPEG_VERSION=2.1.2 \
SRT_VERSION=1.4.1 \
THEORA_VERSION=1.1.1 \
VORBIS_VERSION=1.3.5 \
VPX_VERSION=1.8.0 \
Expand Down Expand Up @@ -81,6 +82,9 @@ ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconf
ARG PREFIX=/opt/ffmpeg
ARG LD_LIBRARY_PATH="/opt/ffmpeg/lib:/opt/ffmpeg/lib64:/usr/lib64:/usr/lib:/lib64:/lib"

# Fix issues when installing tzdata on Ubuntu
ARG DEBIAN_FRONTEND=noninteractive


RUN buildDeps="autoconf \
automake \
Expand All @@ -99,6 +103,7 @@ RUN buildDeps="autoconf \
pkg-config \
python \
libssl-dev \
tclsh \
yasm \
zlib1g-dev" && \
apt-get -yqq update && \
Expand Down Expand Up @@ -450,6 +455,19 @@ RUN \
make install && \
rm -rf ${DIR}

## libsrt - to allow receiving and pushing SRT streams
RUN \
DIR=/tmp/libsrt && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://github.com/Haivision/srt/archive/v${SRT_VERSION}.tar.gz && \
tar -xz --strip-components=1 -f v${SRT_VERSION}.tar.gz && \
./configure --prefix="${PREFIX}" --disable-static --enable-shared && \
make && \
make install && \
rm -rf ${DIR}


## ffmpeg https://ffmpeg.org/
RUN \
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
Expand Down
18 changes: 18 additions & 0 deletions docker-images/3.2/scratch38/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ ENV FFMPEG_VERSION=3.2.14 \
OPENCOREAMR_VERSION=0.1.5 \
OPUS_VERSION=1.2 \
OPENJPEG_VERSION=2.1.2 \
SRT_VERSION=1.4.1 \
THEORA_VERSION=1.1.1 \
VORBIS_VERSION=1.3.5 \
VPX_VERSION=1.8.0 \
Expand Down Expand Up @@ -58,6 +59,9 @@ ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconf
ARG PREFIX=/opt/ffmpeg
ARG LD_LIBRARY_PATH="/opt/ffmpeg/lib:/opt/ffmpeg/lib64:/usr/lib64:/usr/lib:/lib64:/lib"

# Fix issues when installing tzdata on Ubuntu
ARG DEBIAN_FRONTEND=noninteractive


RUN buildDeps="autoconf \
automake \
Expand All @@ -78,6 +82,7 @@ RUN buildDeps="autoconf \
python \
openssl-dev \
tar \
tcl \
yasm \
nasm \
zlib-dev \
Expand Down Expand Up @@ -426,6 +431,19 @@ RUN \
make install && \
rm -rf ${DIR}

## libsrt - to allow receiving and pushing SRT streams
RUN \
DIR=/tmp/libsrt && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://github.com/Haivision/srt/archive/v${SRT_VERSION}.tar.gz && \
tar -xz --strip-components=1 -f v${SRT_VERSION}.tar.gz && \
./configure --prefix="${PREFIX}" --disable-static --enable-shared && \
make && \
make install && \
rm -rf ${DIR}


## ffmpeg https://ffmpeg.org/
RUN \
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
Expand Down
18 changes: 18 additions & 0 deletions docker-images/3.2/ubuntu1604/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ENV FFMPEG_VERSION=3.2.14 \
OPENCOREAMR_VERSION=0.1.5 \
OPUS_VERSION=1.2 \
OPENJPEG_VERSION=2.1.2 \
SRT_VERSION=1.4.1 \
THEORA_VERSION=1.1.1 \
VORBIS_VERSION=1.3.5 \
VPX_VERSION=1.8.0 \
Expand Down Expand Up @@ -66,6 +67,9 @@ ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconf
ARG PREFIX=/opt/ffmpeg
ARG LD_LIBRARY_PATH="/opt/ffmpeg/lib:/opt/ffmpeg/lib64:/usr/lib64:/usr/lib:/lib64:/lib"

# Fix issues when installing tzdata on Ubuntu
ARG DEBIAN_FRONTEND=noninteractive


RUN buildDeps="autoconf \
automake \
Expand All @@ -84,6 +88,7 @@ RUN buildDeps="autoconf \
pkg-config \
python \
libssl-dev \
tcl \
yasm \
zlib1g-dev" && \
apt-get -yqq update && \
Expand Down Expand Up @@ -425,6 +430,19 @@ RUN \
make install && \
rm -rf ${DIR}

## libsrt - to allow receiving and pushing SRT streams
RUN \
DIR=/tmp/libsrt && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://github.com/Haivision/srt/archive/v${SRT_VERSION}.tar.gz && \
tar -xz --strip-components=1 -f v${SRT_VERSION}.tar.gz && \
./configure --prefix="${PREFIX}" --disable-static --enable-shared && \
make && \
make install && \
rm -rf ${DIR}


## ffmpeg https://ffmpeg.org/
RUN \
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
Expand Down
18 changes: 18 additions & 0 deletions docker-images/3.2/vaapi1604/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ ENV FFMPEG_VERSION=3.2.14 \
OPENCOREAMR_VERSION=0.1.5 \
OPUS_VERSION=1.2 \
OPENJPEG_VERSION=2.1.2 \
SRT_VERSION=1.4.1 \
THEORA_VERSION=1.1.1 \
VORBIS_VERSION=1.3.5 \
VPX_VERSION=1.8.0 \
Expand Down Expand Up @@ -66,6 +67,9 @@ ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconf
ARG PREFIX=/opt/ffmpeg
ARG LD_LIBRARY_PATH="/opt/ffmpeg/lib:/opt/ffmpeg/lib64:/usr/lib64:/usr/lib:/lib64:/lib"

# Fix issues when installing tzdata on Ubuntu
ARG DEBIAN_FRONTEND=noninteractive


RUN buildDeps="autoconf \
automake \
Expand All @@ -84,6 +88,7 @@ RUN buildDeps="autoconf \
pkg-config \
python \
libssl-dev \
tcl \
yasm \
libva-dev \
zlib1g-dev" && \
Expand Down Expand Up @@ -426,6 +431,19 @@ RUN \
make install && \
rm -rf ${DIR}

## libsrt - to allow receiving and pushing SRT streams
RUN \
DIR=/tmp/libsrt && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://github.com/Haivision/srt/archive/v${SRT_VERSION}.tar.gz && \
tar -xz --strip-components=1 -f v${SRT_VERSION}.tar.gz && \
./configure --prefix="${PREFIX}" --disable-static --enable-shared && \
make && \
make install && \
rm -rf ${DIR}


## ffmpeg https://ffmpeg.org/
RUN \
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
Expand Down
18 changes: 18 additions & 0 deletions docker-images/3.3/alpine311/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ENV FFMPEG_VERSION=3.3.9 \
OPENCOREAMR_VERSION=0.1.5 \
OPUS_VERSION=1.2 \
OPENJPEG_VERSION=2.1.2 \
SRT_VERSION=1.4.1 \
THEORA_VERSION=1.1.1 \
VORBIS_VERSION=1.3.5 \
VPX_VERSION=1.8.0 \
Expand Down Expand Up @@ -63,6 +64,9 @@ ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconf
ARG PREFIX=/opt/ffmpeg
ARG LD_LIBRARY_PATH="/opt/ffmpeg/lib:/opt/ffmpeg/lib64:/usr/lib64:/usr/lib:/lib64:/lib"

# Fix issues when installing tzdata on Ubuntu
ARG DEBIAN_FRONTEND=noninteractive


RUN buildDeps="autoconf \
automake \
Expand All @@ -82,6 +86,7 @@ RUN buildDeps="autoconf \
python \
openssl-dev \
tar \
tcl \
yasm \
nasm \
zlib-dev \
Expand Down Expand Up @@ -424,6 +429,19 @@ RUN \
make install && \
rm -rf ${DIR}

## libsrt - to allow receiving and pushing SRT streams
RUN \
DIR=/tmp/libsrt && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://github.com/Haivision/srt/archive/v${SRT_VERSION}.tar.gz && \
tar -xz --strip-components=1 -f v${SRT_VERSION}.tar.gz && \
./configure --prefix="${PREFIX}" --disable-static --enable-shared && \
make && \
make install && \
rm -rf ${DIR}


## ffmpeg https://ffmpeg.org/
RUN \
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
Expand Down
18 changes: 18 additions & 0 deletions docker-images/3.3/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ENV FFMPEG_VERSION=3.3.9 \
OPENCOREAMR_VERSION=0.1.5 \
OPUS_VERSION=1.2 \
OPENJPEG_VERSION=2.1.2 \
SRT_VERSION=1.4.1 \
THEORA_VERSION=1.1.1 \
VORBIS_VERSION=1.3.5 \
VPX_VERSION=1.8.0 \
Expand Down Expand Up @@ -65,6 +66,9 @@ ARG PKG_CONFIG_PATH="/opt/ffmpeg/share/pkgconfig:/opt/ffmpeg/lib/pkgconf
ARG PREFIX=/opt/ffmpeg
ARG LD_LIBRARY_PATH="/opt/ffmpeg/lib:/opt/ffmpeg/lib64:/usr/lib64:/usr/lib:/lib64:/lib"

# Fix issues when installing tzdata on Ubuntu
ARG DEBIAN_FRONTEND=noninteractive


RUN buildDeps="autoconf \
automake \
Expand All @@ -83,6 +87,7 @@ RUN buildDeps="autoconf \
python3 \
openssl-devel \
tar \
tcl \
yasm \
which \
zlib-devel" && \
Expand Down Expand Up @@ -461,6 +466,19 @@ RUN \
make install && \
rm -rf ${DIR}

## libsrt - to allow receiving and pushing SRT streams
RUN \
DIR=/tmp/libsrt && \
mkdir -p ${DIR} && \
cd ${DIR} && \
curl -sLO https://github.com/Haivision/srt/archive/v${SRT_VERSION}.tar.gz && \
tar -xz --strip-components=1 -f v${SRT_VERSION}.tar.gz && \
./configure --prefix="${PREFIX}" --disable-static --enable-shared && \
make && \
make install && \
rm -rf ${DIR}


## ffmpeg https://ffmpeg.org/
RUN \
DIR=/tmp/ffmpeg && mkdir -p ${DIR} && cd ${DIR} && \
Expand Down
Loading