Index: talk/media/webrtc/fakewebrtccall.cc |
diff --git a/talk/media/webrtc/fakewebrtccall.cc b/talk/media/webrtc/fakewebrtccall.cc |
index 9f6a0ff74092787ad10de25d46509cf1b346adcd..cfb6bd1b11f24c6f01f8d8c272ba0765105139ee 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 { |