mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Don't compile libopus when enable sys-ffmpeg. v5.0.198 v6.0.98 (#3851)
This commit is contained in:
parent
b8734cb462
commit
4372e32f72
5 changed files with 57 additions and 76 deletions
|
@ -514,7 +514,7 @@ fi
|
|||
# libopus, for WebRTC to transcode AAC with Opus.
|
||||
#####################################################################################
|
||||
# For cross build, we use opus of FFmpeg, so we don't build the libopus.
|
||||
if [[ $SRS_RTC == YES && $SRS_FFMPEG_OPUS != YES ]]; then
|
||||
if [[ $SRS_RTC == YES && $SRS_USE_SYS_FFMPEG != YES && $SRS_FFMPEG_OPUS != YES ]]; then
|
||||
# Only build static libraries if no shared FFmpeg.
|
||||
if [[ $SRS_SHARED_FFMPEG != YES ]]; then
|
||||
OPUS_OPTIONS="--disable-shared --disable-doc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue