Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(148)

Unified Diff: webrtc/voice_engine/channel_proxy.cc

Issue 2704933008: Fix flaky test WebRtcMediaRecorderTest.PeerConnection (Closed)
Patch Set: now it builds too Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/voice_engine/channel_proxy.cc
diff --git a/webrtc/voice_engine/channel_proxy.cc b/webrtc/voice_engine/channel_proxy.cc
index 7f68f5101a180e45079cafb3fdceaa11f007ae5d..86501409e242ebc7d453e42fbd99b3da7163632d 100644
--- a/webrtc/voice_engine/channel_proxy.cc
+++ b/webrtc/voice_engine/channel_proxy.cc
@@ -14,6 +14,7 @@
#include "webrtc/api/call/audio_sink.h"
#include "webrtc/base/checks.h"
+#include "webrtc/base/logging.h"
#include "webrtc/voice_engine/channel.h"
namespace webrtc {
@@ -284,7 +285,9 @@ void ChannelProxy::SetMinimumPlayoutDelay(int delay_ms) {
// close as possible, instead of failing.
delay_ms = std::max(0, std::min(delay_ms, 10000));
int error = channel()->SetMinimumPlayoutDelay(delay_ms);
- RTC_DCHECK_EQ(0, error);
+ if (0 != error) {
+ LOG(LS_WARNING) << "Error setting minimum playout delay.";
+ }
}
void ChannelProxy::SetRtcpRttStats(RtcpRttStats* rtcp_rtt_stats) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698