diff --git a/api/source/mk_webrtc.cpp b/api/source/mk_webrtc.cpp index 0aa089d6..2945bf16 100644 --- a/api/source/mk_webrtc.cpp +++ b/api/source/mk_webrtc.cpp @@ -25,16 +25,19 @@ #include "Http/HttpSession.h" #include "Shell/ShellSession.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 toolkit; using namespace mediakit; #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 TcpServer::Ptr rtcServer_tcp; class WebRtcArgsUrl : public mediakit::WebRtcArgs { @@ -184,4 +187,4 @@ API_EXPORT void API_CALL mk_webrtc_list_rooms(on_mk_webrtc_room_keeper_data_cb c #else WarnL << "未启用webrtc功能, 编译时请开启ENABLE_WEBRTC"; #endif -} \ No newline at end of file +}