Index: webrtc/video/audio_receive_stream.cc |
diff --git a/webrtc/video/audio_receive_stream.cc b/webrtc/video/audio_receive_stream.cc |
index 9b400021dbe0689237be60544af804f567d2eb38..b8da1bb6c35da0bd984b9c0a74f6f7b04180bbc4 100644 |
--- a/webrtc/video/audio_receive_stream.cc |
+++ b/webrtc/video/audio_receive_stream.cc |
@@ -48,21 +48,21 @@ AudioReceiveStream::AudioReceiveStream( |
: remote_bitrate_estimator_(remote_bitrate_estimator), |
config_(config), |
rtp_header_parser_(RtpHeaderParser::Create()) { |
- DCHECK(config.voe_channel_id != -1); |
- DCHECK(remote_bitrate_estimator_ != nullptr); |
- DCHECK(rtp_header_parser_ != nullptr); |
+ RTC_DCHECK(config.voe_channel_id != -1); |
+ RTC_DCHECK(remote_bitrate_estimator_ != nullptr); |
+ RTC_DCHECK(rtp_header_parser_ != nullptr); |
for (const auto& ext : config.rtp.extensions) { |
// One-byte-extension local identifiers are in the range 1-14 inclusive. |
- DCHECK_GE(ext.id, 1); |
- DCHECK_LE(ext.id, 14); |
+ RTC_DCHECK_GE(ext.id, 1); |
+ RTC_DCHECK_LE(ext.id, 14); |
if (ext.name == RtpExtension::kAudioLevel) { |
- CHECK(rtp_header_parser_->RegisterRtpHeaderExtension( |
+ RTC_CHECK(rtp_header_parser_->RegisterRtpHeaderExtension( |
kRtpExtensionAudioLevel, ext.id)); |
} else if (ext.name == RtpExtension::kAbsSendTime) { |
- CHECK(rtp_header_parser_->RegisterRtpHeaderExtension( |
+ RTC_CHECK(rtp_header_parser_->RegisterRtpHeaderExtension( |
kRtpExtensionAbsoluteSendTime, ext.id)); |
} else if (ext.name == RtpExtension::kTransportSequenceNumber) { |
- CHECK(rtp_header_parser_->RegisterRtpHeaderExtension( |
+ RTC_CHECK(rtp_header_parser_->RegisterRtpHeaderExtension( |
kRtpExtensionTransportSequenceNumber, ext.id)); |
} else { |
RTC_NOTREACHED() << "Unsupported RTP extension."; |