From 2b511a05cc25db1407b3404013e1234766fbc9b1 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Tue, 14 Jan 2020 11:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BC=96=E8=AF=91=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/source/mk_common.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/source/mk_common.cpp b/api/source/mk_common.cpp index 19849621..15eff659 100755 --- a/api/source/mk_common.cpp +++ b/api/source/mk_common.cpp @@ -70,8 +70,10 @@ API_EXPORT void API_CALL mk_stop_all_server(){ CLEAR_ARR(rtsp_server); CLEAR_ARR(rtmp_server); CLEAR_ARR(http_server); +#ifdef ENABLE_RTPPROXY udpRtpServer = nullptr; tcpRtpServer = nullptr; +#endif stopAllTcpServer(); }