mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-21 00:57:50 +08:00
修复ENABLE_WEBRTC、ENABLE_OPENSSL关闭时编译报错问题 (#4501)
修复:当ENABLE_WEBRTC=OFF且ENABLE_OPENSSL=OFF时,编译报错:找不到ssl.h
This commit is contained in:
parent
07f8f46e8a
commit
676000e355
@ -25,16 +25,19 @@
|
|||||||
#include "Http/HttpSession.h"
|
#include "Http/HttpSession.h"
|
||||||
#include "Shell/ShellSession.h"
|
#include "Shell/ShellSession.h"
|
||||||
#include "Player/PlayerProxy.h"
|
#include "Player/PlayerProxy.h"
|
||||||
#include "webrtc/WebRtcProxyPlayer.h"
|
|
||||||
#include "webrtc/WebRtcProxyPlayerImp.h"
|
|
||||||
#include "../webrtc/WebRtcSignalingPeer.h"
|
|
||||||
#include "../webrtc/WebRtcSignalingSession.h"
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace toolkit;
|
using namespace toolkit;
|
||||||
using namespace mediakit;
|
using namespace mediakit;
|
||||||
|
|
||||||
#ifdef ENABLE_WEBRTC
|
#ifdef ENABLE_WEBRTC
|
||||||
#include "../webrtc/WebRtcSession.h"
|
|
||||||
|
#include "webrtc/WebRtcProxyPlayer.h"
|
||||||
|
#include "webrtc/WebRtcProxyPlayerImp.h"
|
||||||
|
#include "webrtc/WebRtcSignalingPeer.h"
|
||||||
|
#include "webrtc/WebRtcSignalingSession.h"
|
||||||
|
#include "webrtc/WebRtcSession.h"
|
||||||
|
|
||||||
static UdpServer::Ptr rtcServer_udp;
|
static UdpServer::Ptr rtcServer_udp;
|
||||||
static TcpServer::Ptr rtcServer_tcp;
|
static TcpServer::Ptr rtcServer_tcp;
|
||||||
class WebRtcArgsUrl : public mediakit::WebRtcArgs {
|
class WebRtcArgsUrl : public mediakit::WebRtcArgs {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user