Skip to content

Commit

Permalink
Enable ffmpeg opus.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Nov 9, 2023
1 parent ca79a37 commit c80c75f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ RUN ls -lh /usr/local/bin/ffmpeg /usr/local/ssl
RUN apt-get install -y git gcc

# Build SRS for cache, never install it.
# 5.0release f1db76011 RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852)
# develop b8734cb46 Disable ffmpeg-opus by default. v6.0.97
# 5.0release 316f4641a Don't compile libopus when enable sys-ffmpeg. v5.0.198 (#3851)
# develop 4372e32f7 Don't compile libopus when enable sys-ffmpeg. v5.0.198 v6.0.98 (#3851)
# Pelease update this comment, if need to refresh the cached dependencies, like st/openssl/ffmpeg/libsrtp/libsrt etc.
RUN mkdir -p /usr/local/srs-cache
RUN cd /usr/local/srs-cache && git clone https://github.com/ossrs/srs.git
# Setup the SRS trunk as workdir.
WORKDIR /usr/local/srs-cache/srs/trunk
RUN git checkout 5.0release && ./configure --jobs=${JOBS} --cross-build --cross-prefix=aarch64-linux-gnu- && make -j${JOBS}
RUN git checkout develop && ./configure --jobs=${JOBS} --cross-build --cross-prefix=aarch64-linux-gnu- && make -j${JOBS}
RUN git checkout develop && ./configure --jobs=${JOBS} --ffmpeg-opus=on --cross-build --cross-prefix=aarch64-linux-gnu- && make -j${JOBS}
RUN du -sh /usr/local/srs-cache/srs/trunk/objs/*

#------------------------------------------------------------------------------------
Expand Down

0 comments on commit c80c75f

Please sign in to comment.