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; }