From a89e81d3f32902d101d6855b581c1c5273bd62e5 Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 5 Mar 2020 18:04:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/source/mk_media.cpp | 2 +- src/Rtp/RtpSelector.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/source/mk_media.cpp b/api/source/mk_media.cpp index e1ffea59..d513af54 100755 --- a/api/source/mk_media.cpp +++ b/api/source/mk_media.cpp @@ -70,7 +70,7 @@ protected: } //回调中已经关闭该视频 - string err = StrPrinter << "close media:" << sender.getSchema() << "/" << sender.getVhost() << "/" << sender.getApp() << "/" << sender.getId() << " " << force; + WarnL << "close media:" << sender.getSchema() << "/" << sender.getVhost() << "/" << sender.getApp() << "/" << sender.getId() << " " << force; return true; } diff --git a/src/Rtp/RtpSelector.cpp b/src/Rtp/RtpSelector.cpp index f475159e..95c6e473 100644 --- a/src/Rtp/RtpSelector.cpp +++ b/src/Rtp/RtpSelector.cpp @@ -138,7 +138,7 @@ bool RtpProcessHelper::close(MediaSource &sender, bool force) { return false; } parent->delProcess(_ssrc,_process.get()); - string err = StrPrinter << "close media:" << sender.getSchema() << "/" << sender.getVhost() << "/" << sender.getApp() << "/" << sender.getId() << " " << force; + WarnL << "close media:" << sender.getSchema() << "/" << sender.getVhost() << "/" << sender.getApp() << "/" << sender.getId() << " " << force; return true; }