优化日志提示

This commit is contained in:
xiongziliang 2022-06-18 21:06:18 +08:00
parent b24c4f8d33
commit b351f4c7e5

View File

@ -119,7 +119,7 @@ bool RtpProcess::inputFrame(const Frame::Ptr &frame) {
return _muxer->inputFrame(frame); return _muxer->inputFrame(frame);
} }
if (_cached_func.size() > kMaxCachedFrame) { if (_cached_func.size() > kMaxCachedFrame) {
WarnL << "cached frame of track(" << frame->getCodecName() << ") is too much, now dropped"; WarnL << "cached frame of track(" << frame->getCodecName() << ") is too much, now dropped, please check your on_publish hook url in config.ini file";
return false; return false;
} }
auto frame_cached = Frame::getCacheAbleFrame(frame); auto frame_cached = Frame::getCacheAbleFrame(frame);