From dac9f9c45c753418d3e4193d06bea49ecaf04a38 Mon Sep 17 00:00:00 2001 From: winlin Date: Fri, 12 Dec 2014 23:07:35 +0800 Subject: [PATCH] refine the log level. --- trunk/src/app/srs_app_rtmp_conn.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/src/app/srs_app_rtmp_conn.cpp b/trunk/src/app/srs_app_rtmp_conn.cpp index a86cfaf8c..9817dea59 100644 --- a/trunk/src/app/srs_app_rtmp_conn.cpp +++ b/trunk/src/app/srs_app_rtmp_conn.cpp @@ -646,7 +646,9 @@ int SrsRtmpConn::do_playing(SrsSource* source, SrsQueueRecvThread* trd) // we use wait timeout to get messages, // for min latency event no message incoming, // so the count maybe zero. - srs_verbose("mw wait %dms and got %d msgs %"PRId64"-%"PRId64"ms", mw_sleep, count, + srs_info("mw wait %dms and got %d msgs %d(%"PRId64"-%"PRId64")ms", + mw_sleep, count, + (count > 0? msgs.msgs[count - 1]->timestamp - msgs.msgs[0]->timestamp : 0), (count > 0? msgs.msgs[0]->timestamp : 0), (count > 0? msgs.msgs[count - 1]->timestamp : 0)); #else