mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-13 01:20:54 +08:00
c api和测试范例新增webrtc功能 (#1574)
* Update Rtsp.cpp * c sdk识别到enable_webrtc * mk_api增加json库 * 对rtc http请求的处理 * c sdk 增加rtc服务器
This commit is contained in:
@@ -336,10 +336,6 @@ endif ()
|
||||
execute_process(COMMAND cp -r ${CMAKE_CURRENT_SOURCE_DIR}/www ${EXECUTABLE_OUTPUT_PATH}/)
|
||||
execute_process(COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/conf/config.ini ${EXECUTABLE_OUTPUT_PATH}/)
|
||||
|
||||
#添加c库
|
||||
if (ENABLE_API)
|
||||
add_subdirectory(api)
|
||||
endif ()
|
||||
|
||||
if (ENABLE_WEBRTC)
|
||||
#查找srtp是否安装
|
||||
@@ -361,6 +357,11 @@ if (ENABLE_WEBRTC)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
#添加c库
|
||||
if (ENABLE_API)
|
||||
add_subdirectory(api)
|
||||
endif ()
|
||||
|
||||
#ios不编译可执行程序
|
||||
if (IOS)
|
||||
return()
|
||||
|
||||
Reference in New Issue
Block a user