When set FFMPEG_DEP_LIBS, Compile "ffmepg + OpenSSL" in iOS is Success
# with openssl
if [ -f "${FFMPEG_DEP_OPENSSL_LIB}/libssl.a" ]; then
FFMPEG_CFG_FLAGS="$FFMPEG_CFG_FLAGS --enable-openssl"
FFMPEG_CFLAGS="$FFMPEG_CFLAGS -I${FFMPEG_DEP_OPENSSL_INC}"
FFMPEG_DEP_LIBS="$FFMPEG_DEP_LIBS -L${FFMPEG_DEP_OPENSSL_LIB} -lssl -lcrypto"
fi
I want to use "rtmps". Compile "ffmepg + OpenSSL" in iOS is Error. ./compile-ffmpeg.sh all is ERROR: openssl not found.
Compile "ffmepg + OpenSSL" in Android is Success. I compare with Android and iOS in do-compile-ffmpeg.sh.
iOS do-compile-ffmpeg.sh is not set FFMPEG_DEP_LIBS. https://github.com/Bilibili/ijkplayer/blob/master/android/contrib/tools/do-compile-ffmpeg.sh#L232 https://github.com/Bilibili/ijkplayer/blob/master/ios/tools/do-compile-ffmpeg.sh#L193
When set FFMPEG_DEP_LIBS, Compile "ffmepg + OpenSSL" in iOS is Success