Chromium Code Reviews

Unified Diff: webrtc/test/call_test.cc

Issue 2304363002: Let ViEEncoder express resolution requests as Sinkwants (Closed)
Patch Set: Rebased. Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « webrtc/media/engine/webrtcvideoengine2_unittest.cc ('k') | webrtc/test/constants.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/test/call_test.cc
diff --git a/webrtc/test/call_test.cc b/webrtc/test/call_test.cc
index a4c21f185c19ccb215e476696d85204f8c706f1b..be437430b62f5c6243a3e5b9e4142b4a35291a4c 100644
--- a/webrtc/test/call_test.cc
+++ b/webrtc/test/call_test.cc
@@ -246,7 +246,9 @@ void CallTest::CreateFrameGeneratorCapturerWithDrift(Clock* clock,
int height) {
frame_generator_capturer_.reset(test::FrameGeneratorCapturer::Create(
width, height, framerate * speed, clock));
- video_send_stream_->SetSource(frame_generator_capturer_.get());
+ video_send_stream_->SetSource(
+ frame_generator_capturer_.get(),
+ VideoSendStream::DegradationPreference::kBalanced);
}
void CallTest::CreateFrameGeneratorCapturer(int framerate,
@@ -254,7 +256,9 @@ void CallTest::CreateFrameGeneratorCapturer(int framerate,
int height) {
frame_generator_capturer_.reset(
test::FrameGeneratorCapturer::Create(width, height, framerate, clock_));
- video_send_stream_->SetSource(frame_generator_capturer_.get());
+ video_send_stream_->SetSource(
+ frame_generator_capturer_.get(),
+ VideoSendStream::DegradationPreference::kBalanced);
}
void CallTest::CreateFakeAudioDevices() {
« no previous file with comments | « webrtc/media/engine/webrtcvideoengine2_unittest.cc ('k') | webrtc/test/constants.h » ('j') | no next file with comments »

Powered by Google App Engine