mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-07-29 21:38:22 +08:00
修复webrtc打开失败时的编译问题
This commit is contained in:
@@ -306,6 +306,7 @@ if (ENABLE_WEBRTC)
|
|||||||
list(APPEND LINK_LIB_LIST webrtc)
|
list(APPEND LINK_LIB_LIST webrtc)
|
||||||
message(STATUS "webrtc功能已开启")
|
message(STATUS "webrtc功能已开启")
|
||||||
else ()
|
else ()
|
||||||
|
set(ENABLE_WEBRTC off)
|
||||||
message(WARNING "srtp未找到, webrtc相关功能打开失败")
|
message(WARNING "srtp未找到, webrtc相关功能打开失败")
|
||||||
endif ()
|
endif ()
|
||||||
endif ()
|
endif ()
|
||||||
|
|||||||
Reference in New Issue
Block a user