Index: talk/media/webrtc/fakewebrtccall.cc |
diff --git a/talk/media/webrtc/fakewebrtccall.cc b/talk/media/webrtc/fakewebrtccall.cc |
index 00f1864c18655434c8a45f94584b2301a5214c5a..f2053a785a1115b5641a4cacb62b3b0f33dff980 100644 |
--- a/talk/media/webrtc/fakewebrtccall.cc |
+++ b/talk/media/webrtc/fakewebrtccall.cc |
@@ -37,6 +37,7 @@ namespace cricket { |
FakeAudioReceiveStream::FakeAudioReceiveStream( |
const webrtc::AudioReceiveStream::Config& config) |
: config_(config), received_packets_(0) { |
+ DCHECK(config.voe_channel_id != -1); |
} |
webrtc::AudioReceiveStream::Stats FakeAudioReceiveStream::GetStats() const { |