修复关闭webrtc后的编译问题

This commit is contained in:
ziyue 2021-10-18 20:23:50 +08:00
parent a3177de658
commit 750a8fa668
2 changed files with 2 additions and 3 deletions

View File

@ -4,7 +4,7 @@ aux_source_directory(. TEST_SRC_LIST)
foreach (TEST_SRC ${TEST_SRC_LIST})
if (NOT ENABLE_WEBRTC)
# WebRTC
if ("${TEST_SRC}" MATCHES "test_rtcp_nack.cpp")
if ("${TEST_SRC}" MATCHES "test_rtcp_nack\.cpp")
continue()
endif ()
endif ()

View File

@ -10,8 +10,7 @@
#include <iostream>
#include "Util/logger.h"
#include "Rtcp/RtcpFCI.h"
#include "../webrtc/WebRtcTransport.h"
#include "../webrtc/Nack.h"
using namespace std;
using namespace toolkit;
using namespace mediakit;