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

Unified Diff: webrtc/video/bitrate_estimator_tests.cc

Issue 1181653002: Base A/V synchronization on sync_labels. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase Created 5 years, 5 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 | « webrtc/video/audio_receive_stream.cc ('k') | webrtc/video/call.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/bitrate_estimator_tests.cc
diff --git a/webrtc/video/bitrate_estimator_tests.cc b/webrtc/video/bitrate_estimator_tests.cc
index a0fdc92b6120001d04929814dd8f3b9aafd56f75..872fe448032cf6e9033b7649ec29ed6ad5bb54c3 100644
--- a/webrtc/video/bitrate_estimator_tests.cc
+++ b/webrtc/video/bitrate_estimator_tests.cc
@@ -204,6 +204,10 @@ class BitrateEstimatorTest : public test::CallTest {
if (receive_audio) {
AudioReceiveStream::Config receive_config;
receive_config.rtp.remote_ssrc = test_->send_config_.rtp.ssrcs[0];
+ // Bogus non-default id to prevent hitting a DCHECK when creating the
+ // AudioReceiveStream. Every receive stream has to correspond to an
+ // underlying channel id.
+ receive_config.voe_channel_id = 0;
receive_config.rtp.extensions.push_back(
RtpExtension(RtpExtension::kAbsSendTime, kASTExtensionId));
audio_receive_stream_ = test_->receiver_call_->CreateAudioReceiveStream(
« no previous file with comments | « webrtc/video/audio_receive_stream.cc ('k') | webrtc/video/call.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698