From 4c0536bd510a17c0d793ff3f811c25bee7f60fea Mon Sep 17 00:00:00 2001 From: skvlad Date: Thu, 7 Jul 2016 13:06:26 -0700 Subject: [PATCH] Change GetPlayoutTimestamp message from Error to Info This message was printed to the receiver's log on every single video frame if the remote side is sending video but not audio. This could happen if, for example, one participant creates RtpSenders for both audio and video but doesn't set the audio track, or if the track is set but RtpParameters.encodings[0].active == false. This CL changes the trace level to StateInfo as it is the expected behavior in this case. R=deadbeef@webrtc.org, henrika@webrtc.org Review URL: https://codereview.webrtc.org/2125183002 . Cr-Commit-Position: refs/heads/master@{#13408} --- webrtc/voice_engine/channel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webrtc/voice_engine/channel.cc b/webrtc/voice_engine/channel.cc index 8287668258..424d291bcb 100644 --- a/webrtc/voice_engine/channel.cc +++ b/webrtc/voice_engine/channel.cc @@ -3225,7 +3225,7 @@ int Channel::GetPlayoutTimestamp(unsigned int& timestamp) { } if (playout_timestamp_rtp == 0) { _engineStatisticsPtr->SetLastError( - VE_CANNOT_RETRIEVE_VALUE, kTraceError, + VE_CANNOT_RETRIEVE_VALUE, kTraceStateInfo, "GetPlayoutTimestamp() failed to retrieve timestamp"); return -1; }