Index: webrtc/pc/rtpsender.cc |
diff --git a/webrtc/pc/rtpsender.cc b/webrtc/pc/rtpsender.cc |
index a16a28c193e2bca2825bd1fa9c94ba2933bd035a..9d920e6f080a029c404c671a2451af6db1f438a2 100644 |
--- a/webrtc/pc/rtpsender.cc |
+++ b/webrtc/pc/rtpsender.cc |
@@ -243,7 +243,8 @@ void AudioRtpSender::Stop() { |
} |
void AudioRtpSender::SetAudioSend() { |
- RTC_DCHECK(!stopped_ && can_send_track()); |
+ RTC_DCHECK(!stopped_); |
+ RTC_DCHECK(can_send_track()); |
if (!channel_) { |
LOG(LS_ERROR) << "SetAudioSend: No audio channel exists."; |
return; |
@@ -430,7 +431,8 @@ void VideoRtpSender::Stop() { |
} |
void VideoRtpSender::SetVideoSend() { |
- RTC_DCHECK(!stopped_ && can_send_track()); |
+ RTC_DCHECK(!stopped_); |
+ RTC_DCHECK(can_send_track()); |
if (!channel_) { |
LOG(LS_ERROR) << "SetVideoSend: No video channel exists."; |
return; |