From 750a8fa66864eb9e07171a4cc542dc70a81d0fa6 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Mon, 18 Oct 2021 20:23:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=85=B3=E9=97=ADwebrtc?= =?UTF-8?q?=E5=90=8E=E7=9A=84=E7=BC=96=E8=AF=91=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/CMakeLists.txt | 2 +- tests/test_rtcp_nack.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 1452d9fb..01ba99ba 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -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 () diff --git a/tests/test_rtcp_nack.cpp b/tests/test_rtcp_nack.cpp index 982f9aa4..f3f8a6c2 100644 --- a/tests/test_rtcp_nack.cpp +++ b/tests/test_rtcp_nack.cpp @@ -10,8 +10,7 @@ #include #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;