修复webrtc打开失败时的编译问题

This commit is contained in:
ziyue 2021-10-18 20:37:02 +08:00
parent cdb71d2018
commit 27aaf31014

View File

@ -306,6 +306,7 @@ if (ENABLE_WEBRTC)
list(APPEND LINK_LIB_LIST webrtc)
message(STATUS "webrtc功能已开启")
else ()
set(ENABLE_WEBRTC off)
message(WARNING "srtp未找到, webrtc相关功能打开失败")
endif ()
endif ()