diff --git a/src/Rtp/RtpSession.cpp b/src/Rtp/RtpSession.cpp index 1fd5a820..4a9d983c 100644 --- a/src/Rtp/RtpSession.cpp +++ b/src/Rtp/RtpSession.cpp @@ -59,7 +59,7 @@ void RtpSession::onRecv(const Buffer::Ptr &data) { } void RtpSession::onError(const SockException &err) { - WarnL << _stream_id << " " << err.what(); + WarnP(this) << _stream_id << " " << err.what(); } void RtpSession::onManager() {