Reduce resolution and bitrates of smoke test
The high bitrate smoketest is flaky on some platforms,
this CL reduces the resolution and bitrates to make it less
flaky.
Bug: webrtc:10975
Change-Id: Id271b3c68abfa2011c207e7883cfcb230b1d3e36
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153845
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Commit-Queue: Johannes Kron <kron@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#29268}
diff --git a/test/pc/e2e/peer_connection_e2e_smoke_test.cc b/test/pc/e2e/peer_connection_e2e_smoke_test.cc
index 47bebc2..f60f058 100644
--- a/test/pc/e2e/peer_connection_e2e_smoke_test.cc
+++ b/test/pc/e2e/peer_connection_e2e_smoke_test.cc
@@ -297,13 +297,13 @@
"smoke", run_params,
[](PeerConfigurer* alice) {
PeerConnectionInterface::BitrateParameters bitrate_params;
- bitrate_params.current_bitrate_bps = 4000000;
- bitrate_params.max_bitrate_bps = 8000000;
+ bitrate_params.current_bitrate_bps = 3'000'000;
+ bitrate_params.max_bitrate_bps = 3'000'000;
alice->SetBitrateParameters(bitrate_params);
- VideoConfig video(1920, 1080, 30);
+ VideoConfig video(800, 600, 30);
video.stream_label = "alice-video";
- video.min_encode_bitrate_bps = 3000000;
- video.max_encode_bitrate_bps = 6000000;
+ video.min_encode_bitrate_bps = 500'000;
+ video.max_encode_bitrate_bps = 3'000'000;
alice->AddVideoConfig(std::move(video));
AudioConfig audio;
@@ -316,13 +316,13 @@
},
[](PeerConfigurer* bob) {
PeerConnectionInterface::BitrateParameters bitrate_params;
- bitrate_params.current_bitrate_bps = 4000000;
- bitrate_params.max_bitrate_bps = 8000000;
+ bitrate_params.current_bitrate_bps = 3'000'000;
+ bitrate_params.max_bitrate_bps = 3'000'000;
bob->SetBitrateParameters(bitrate_params);
- VideoConfig video(1920, 1080, 30);
+ VideoConfig video(800, 600, 30);
video.stream_label = "bob-video";
- video.min_encode_bitrate_bps = 3000000;
- video.max_encode_bitrate_bps = 6000000;
+ video.min_encode_bitrate_bps = 500'000;
+ video.max_encode_bitrate_bps = 3'000'000;
bob->AddVideoConfig(std::move(video));
AudioConfig audio;