2013-07-09 08:02:33 +00:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
*
|
|
|
|
|
* Use of this source code is governed by a BSD-style license
|
|
|
|
|
* that can be found in the LICENSE file in the root of the source
|
|
|
|
|
* tree. An additional intellectual property rights grant can be found
|
|
|
|
|
* in the file PATENTS. All contributing project authors may
|
|
|
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
*/
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
2017-03-09 09:23:30 -08:00
|
|
|
#include "webrtc/test/field_trial.h"
|
2016-09-28 17:42:01 -07:00
|
|
|
#include "webrtc/test/gtest.h"
|
2015-09-17 05:30:24 -07:00
|
|
|
#include "webrtc/video/video_quality_test.h"
|
2013-07-09 08:02:33 +00:00
|
|
|
|
|
|
|
|
namespace webrtc {
|
|
|
|
|
|
2016-11-16 23:56:57 -08:00
|
|
|
static const int kFullStackTestDurationSecs = 45;
|
2013-12-03 10:13:04 +00:00
|
|
|
|
2015-09-17 05:30:24 -07:00
|
|
|
class FullStackTest : public VideoQualityTest {
|
2013-07-09 08:02:33 +00:00
|
|
|
public:
|
2015-09-17 05:30:24 -07:00
|
|
|
void RunTest(const VideoQualityTest::Params ¶ms) {
|
|
|
|
|
RunWithAnalyzer(params);
|
2013-10-16 11:05:37 +00:00
|
|
|
}
|
2013-07-09 08:02:33 +00:00
|
|
|
};
|
|
|
|
|
|
2015-11-02 07:23:20 -08:00
|
|
|
// VideoQualityTest::Params params = {
|
|
|
|
|
// { ... }, // Common.
|
|
|
|
|
// { ... }, // Video-specific settings.
|
|
|
|
|
// { ... }, // Screenshare-specific settings.
|
|
|
|
|
// { ... }, // Analyzer settings.
|
|
|
|
|
// pipe, // FakeNetworkPipe::Config
|
|
|
|
|
// { ... }, // Spatial scalability.
|
|
|
|
|
// logs // bool
|
|
|
|
|
// };
|
2013-07-09 08:02:33 +00:00
|
|
|
|
2016-05-14 02:03:18 +02:00
|
|
|
#if !defined(RTC_DISABLE_VP9)
|
2016-02-12 13:16:43 -08:00
|
|
|
TEST_F(FullStackTest, ForemanCifWithoutPacketLossVp9) {
|
2016-11-30 07:50:07 -08:00
|
|
|
// TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
|
|
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false,
|
|
|
|
|
"VP9", 1, 0, 0, false, false, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_VP9", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
RunTest(foreman_cif);
|
2016-02-12 13:16:43 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, ForemanCifPlr5Vp9) {
|
2016-11-30 07:50:07 -08:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false,
|
|
|
|
|
"VP9", 1, 0, 0, false, false, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_VP9", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
foreman_cif.pipe.loss_percent = 5;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 50;
|
|
|
|
|
RunTest(foreman_cif);
|
2016-02-12 13:16:43 -08:00
|
|
|
}
|
2016-05-14 02:03:18 +02:00
|
|
|
#endif // !defined(RTC_DISABLE_VP9)
|
2016-02-12 13:16:43 -08:00
|
|
|
|
2014-06-27 08:47:52 +00:00
|
|
|
TEST_F(FullStackTest, ParisQcifWithoutPacketLoss) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params paris_qcif;
|
|
|
|
|
paris_qcif.call.send_side_bwe = true;
|
|
|
|
|
paris_qcif.video = {true, 176, 144, 30, 300000, 300000, 300000, false,
|
2016-11-16 22:47:29 -08:00
|
|
|
"VP8", 1, 0, 0, false, false, "", "paris_qcif"};
|
2016-10-31 05:47:02 -07:00
|
|
|
paris_qcif.analyzer = {"net_delay_0_0_plr_0", 36.0, 0.96,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2014-07-09 11:29:06 +00:00
|
|
|
RunTest(paris_qcif);
|
2013-07-09 08:02:33 +00:00
|
|
|
}
|
|
|
|
|
|
2014-06-27 08:47:52 +00:00
|
|
|
TEST_F(FullStackTest, ForemanCifWithoutPacketLoss) {
|
2014-07-09 11:29:06 +00:00
|
|
|
// TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false, "VP8",
|
2016-11-16 22:47:29 -08:00
|
|
|
1, 0, 0, false, false, "", "foreman_cif"};
|
2016-10-31 05:47:02 -07:00
|
|
|
foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2014-07-09 11:29:06 +00:00
|
|
|
RunTest(foreman_cif);
|
2014-10-14 10:38:49 +00:00
|
|
|
}
|
|
|
|
|
|
2016-12-16 06:54:01 -08:00
|
|
|
TEST_F(FullStackTest, ForemanCif30kbpsWithoutPacketLoss) {
|
|
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 10, 30000, 30000, 30000, false,
|
|
|
|
|
"VP8", 1, 0, 0, false, false, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_30kbps_net_delay_0_0_plr_0", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
|
|
|
|
|
2015-02-23 08:34:17 +00:00
|
|
|
TEST_F(FullStackTest, ForemanCifPlr5) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
|
2016-11-16 22:47:29 -08:00
|
|
|
1, 0, 0, false, false, "", "foreman_cif"};
|
2016-10-31 05:47:02 -07:00
|
|
|
foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-09-17 05:30:24 -07:00
|
|
|
foreman_cif.pipe.loss_percent = 5;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 50;
|
2014-10-14 10:38:49 +00:00
|
|
|
RunTest(foreman_cif);
|
2014-07-09 11:29:06 +00:00
|
|
|
}
|
|
|
|
|
|
2016-11-30 07:50:07 -08:00
|
|
|
TEST_F(FullStackTest, ForemanCifPlr5Ulpfec) {
|
|
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
|
|
|
|
|
1, 0, 0, true, false, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_ulpfec", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
foreman_cif.pipe.loss_percent = 5;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 50;
|
|
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, ForemanCifPlr5Flexfec) {
|
|
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
|
|
|
|
|
1, 0, 0, false, true, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_flexfec", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
foreman_cif.pipe.loss_percent = 5;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 50;
|
|
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-16 23:56:57 -08:00
|
|
|
#if defined(WEBRTC_USE_H264)
|
|
|
|
|
TEST_F(FullStackTest, ForemanCifWithoutPacketlossH264) {
|
2016-11-30 07:50:07 -08:00
|
|
|
// TODO(pbos): Decide on psnr/ssim thresholds for foreman_cif.
|
|
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 700000, 700000, 700000, false,
|
|
|
|
|
"H264", 1, 0, 0, false, false, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_net_delay_0_0_plr_0_H264", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
RunTest(foreman_cif);
|
2016-11-16 23:56:57 -08:00
|
|
|
}
|
|
|
|
|
|
2016-12-16 06:54:01 -08:00
|
|
|
TEST_F(FullStackTest, ForemanCif30kbpsWithoutPacketlossH264) {
|
|
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 10, 30000, 30000, 30000, false, "H264",
|
|
|
|
|
1, 0, 0, false, false, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_30kbps_net_delay_0_0_plr_0_H264", 0.0,
|
|
|
|
|
0.0, kFullStackTestDurationSecs};
|
|
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-16 23:56:57 -08:00
|
|
|
TEST_F(FullStackTest, ForemanCifPlr5H264) {
|
2016-11-30 07:50:07 -08:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false,
|
|
|
|
|
"H264", 1, 0, 0, false, false, "", "foreman_cif"};
|
|
|
|
|
std::string fec_description;
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_H264", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
foreman_cif.pipe.loss_percent = 5;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 50;
|
|
|
|
|
RunTest(foreman_cif);
|
2016-11-16 23:56:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Verify that this is worth the bot time, before enabling.
|
|
|
|
|
TEST_F(FullStackTest, ForemanCifPlr5H264Flexfec) {
|
2016-11-30 07:50:07 -08:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false,
|
|
|
|
|
"H264", 1, 0, 0, false, true, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_H264_flexfec", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
foreman_cif.pipe.loss_percent = 5;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 50;
|
|
|
|
|
RunTest(foreman_cif);
|
2016-11-16 23:56:57 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Ulpfec with H264 is an unsupported combination, so this test is only useful
|
|
|
|
|
// for debugging. It is therefore disabled by default.
|
|
|
|
|
TEST_F(FullStackTest, DISABLED_ForemanCifPlr5H264Ulpfec) {
|
2016-11-30 07:50:07 -08:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false,
|
|
|
|
|
"H264", 1, 0, 0, true, false, "", "foreman_cif"};
|
|
|
|
|
foreman_cif.analyzer = {"foreman_cif_delay_50_0_plr_5_H264_ulpfec", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
foreman_cif.pipe.loss_percent = 5;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 50;
|
|
|
|
|
RunTest(foreman_cif);
|
2016-11-16 23:56:57 -08:00
|
|
|
}
|
|
|
|
|
#endif // defined(WEBRTC_USE_H264)
|
|
|
|
|
|
2014-07-09 11:29:06 +00:00
|
|
|
TEST_F(FullStackTest, ForemanCif500kbps) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
|
2016-11-16 22:47:29 -08:00
|
|
|
1, 0, 0, false, false, "", "foreman_cif"};
|
2016-10-31 05:47:02 -07:00
|
|
|
foreman_cif.analyzer = {"foreman_cif_500kbps", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-09-17 05:30:24 -07:00
|
|
|
foreman_cif.pipe.queue_length_packets = 0;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 0;
|
|
|
|
|
foreman_cif.pipe.link_capacity_kbps = 500;
|
2014-07-09 11:29:06 +00:00
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, ForemanCif500kbpsLimitedQueue) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
|
2016-11-16 22:47:29 -08:00
|
|
|
1, 0, 0, false, false, "", "foreman_cif"};
|
2016-10-31 05:47:02 -07:00
|
|
|
foreman_cif.analyzer = {"foreman_cif_500kbps_32pkts_queue", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-09-17 05:30:24 -07:00
|
|
|
foreman_cif.pipe.queue_length_packets = 32;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 0;
|
|
|
|
|
foreman_cif.pipe.link_capacity_kbps = 500;
|
2014-07-09 11:29:06 +00:00
|
|
|
RunTest(foreman_cif);
|
2014-06-27 08:47:52 +00:00
|
|
|
}
|
2013-07-09 08:02:33 +00:00
|
|
|
|
2014-07-09 11:29:06 +00:00
|
|
|
TEST_F(FullStackTest, ForemanCif500kbps100ms) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
|
2016-11-16 22:47:29 -08:00
|
|
|
1, 0, 0, false, false, "", "foreman_cif"};
|
2016-10-31 05:47:02 -07:00
|
|
|
foreman_cif.analyzer = {"foreman_cif_500kbps_100ms", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-09-17 05:30:24 -07:00
|
|
|
foreman_cif.pipe.queue_length_packets = 0;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 100;
|
|
|
|
|
foreman_cif.pipe.link_capacity_kbps = 500;
|
2014-07-09 11:29:06 +00:00
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueue) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
|
2016-11-16 22:47:29 -08:00
|
|
|
1, 0, 0, false, false, "", "foreman_cif"};
|
2016-10-31 05:47:02 -07:00
|
|
|
foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2016-08-11 07:00:57 -07:00
|
|
|
foreman_cif.pipe.queue_length_packets = 32;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 100;
|
|
|
|
|
foreman_cif.pipe.link_capacity_kbps = 500;
|
|
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, ForemanCif500kbps100msLimitedQueueRecvBwe) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
2016-11-30 07:50:07 -08:00
|
|
|
foreman_cif.call.send_side_bwe = false;
|
2016-10-31 05:47:02 -07:00
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 500000, 2000000, false, "VP8",
|
2016-11-16 22:47:29 -08:00
|
|
|
1, 0, 0, false, false, "", "foreman_cif"};
|
2016-11-30 07:50:07 -08:00
|
|
|
foreman_cif.analyzer = {"foreman_cif_500kbps_100ms_32pkts_queue_recv_bwe",
|
|
|
|
|
0.0, 0.0, kFullStackTestDurationSecs};
|
2015-09-17 05:30:24 -07:00
|
|
|
foreman_cif.pipe.queue_length_packets = 32;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 100;
|
|
|
|
|
foreman_cif.pipe.link_capacity_kbps = 500;
|
2014-07-09 11:29:06 +00:00
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, ForemanCif1000kbps100msLimitedQueue) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params foreman_cif;
|
|
|
|
|
foreman_cif.call.send_side_bwe = true;
|
|
|
|
|
foreman_cif.video = {true, 352, 288, 30, 30000, 2000000, 2000000, false,
|
2016-11-16 22:47:29 -08:00
|
|
|
"VP8", 1, 0, 0, false, false, "", "foreman_cif"};
|
2016-10-31 05:47:02 -07:00
|
|
|
foreman_cif.analyzer = {"foreman_cif_1000kbps_100ms_32pkts_queue", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-09-17 05:30:24 -07:00
|
|
|
foreman_cif.pipe.queue_length_packets = 32;
|
|
|
|
|
foreman_cif.pipe.queue_delay_ms = 100;
|
|
|
|
|
foreman_cif.pipe.link_capacity_kbps = 1000;
|
2014-07-09 11:29:06 +00:00
|
|
|
RunTest(foreman_cif);
|
|
|
|
|
}
|
2015-02-18 12:46:06 +00:00
|
|
|
|
2016-08-11 07:00:57 -07:00
|
|
|
TEST_F(FullStackTest, ConferenceMotionHd2000kbps100msLimitedQueue) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params conf_motion_hd;
|
|
|
|
|
conf_motion_hd.call.send_side_bwe = true;
|
|
|
|
|
conf_motion_hd.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false,
|
2016-11-16 22:47:29 -08:00
|
|
|
"VP8", 1, 0, 0, false, false, "",
|
2016-10-31 05:47:02 -07:00
|
|
|
"ConferenceMotion_1280_720_50"};
|
|
|
|
|
conf_motion_hd.analyzer = {"conference_motion_hd_2000kbps_100ms_32pkts_queue",
|
|
|
|
|
0.0, 0.0, kFullStackTestDurationSecs};
|
2016-08-11 07:00:57 -07:00
|
|
|
conf_motion_hd.pipe.queue_length_packets = 32;
|
|
|
|
|
conf_motion_hd.pipe.queue_delay_ms = 100;
|
|
|
|
|
conf_motion_hd.pipe.link_capacity_kbps = 2000;
|
|
|
|
|
RunTest(conf_motion_hd);
|
|
|
|
|
}
|
|
|
|
|
|
2017-02-03 09:51:23 -08:00
|
|
|
#if !defined(RTC_DISABLE_VP9)
|
|
|
|
|
TEST_F(FullStackTest, ConferenceMotionHd2000kbps100msLimitedQueueVP9) {
|
|
|
|
|
VideoQualityTest::Params conf_motion_hd;
|
|
|
|
|
conf_motion_hd.call.send_side_bwe = true;
|
|
|
|
|
conf_motion_hd.video = {true, 1280, 720, 50, 30000, 3000000, 3000000, false,
|
|
|
|
|
"VP9", 1, 0, 0, false, false, "",
|
|
|
|
|
"ConferenceMotion_1280_720_50"};
|
|
|
|
|
conf_motion_hd.analyzer = {
|
|
|
|
|
"conference_motion_hd_2000kbps_100ms_32pkts_queue_vp9", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
conf_motion_hd.pipe.queue_length_packets = 32;
|
|
|
|
|
conf_motion_hd.pipe.queue_delay_ms = 100;
|
|
|
|
|
conf_motion_hd.pipe.link_capacity_kbps = 2000;
|
|
|
|
|
RunTest(conf_motion_hd);
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
2015-10-06 02:04:06 -07:00
|
|
|
TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params screenshare;
|
|
|
|
|
screenshare.call.send_side_bwe = true;
|
|
|
|
|
screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
|
2016-11-16 22:47:29 -08:00
|
|
|
"VP8", 2, 1, 400000, false, false, "", ""};
|
2016-10-31 05:47:02 -07:00
|
|
|
screenshare.screenshare = {true, 10};
|
|
|
|
|
screenshare.analyzer = {"screenshare_slides", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-09-17 05:30:24 -07:00
|
|
|
RunTest(screenshare);
|
2015-09-03 15:58:05 +02:00
|
|
|
}
|
|
|
|
|
|
2017-03-09 09:23:30 -08:00
|
|
|
TEST_F(FullStackTest, ScreenshareSlidesVP8_3TL_Simulcast) {
|
|
|
|
|
test::ScopedFieldTrials field_trial("WebRTC-SimulcastScreenshare/Enabled/");
|
|
|
|
|
VideoQualityTest::Params screenshare;
|
|
|
|
|
screenshare.call.send_side_bwe = true;
|
|
|
|
|
screenshare.screenshare = {true, 10};
|
|
|
|
|
screenshare.video = {true, 1850, 1110, 5, 800000, 2500000,
|
|
|
|
|
2500000, false, "VP8", 3, 2, 400000,
|
|
|
|
|
false, false, "", ""};
|
|
|
|
|
screenshare.analyzer = {"screenshare_slides_simulcast", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
VideoQualityTest::Params screenshare_params_high;
|
|
|
|
|
screenshare_params_high.video = {true, 1850, 1110, 5, 800000, 2500000,
|
|
|
|
|
2500000, false, "VP8", 3, 0, 400000,
|
|
|
|
|
false, false, "", ""};
|
|
|
|
|
VideoQualityTest::Params screenshare_params_low;
|
|
|
|
|
screenshare_params_low.video = {true, 1850, 1110, 5, 50000, 200000,
|
|
|
|
|
2000000, false, "VP8", 2, 0, 400000,
|
|
|
|
|
false, false, "", ""};
|
|
|
|
|
|
|
|
|
|
std::vector<VideoStream> streams = {
|
|
|
|
|
DefaultVideoStream(screenshare_params_low),
|
|
|
|
|
DefaultVideoStream(screenshare_params_high)};
|
|
|
|
|
screenshare.ss = {streams, 1, 1, 0};
|
|
|
|
|
RunTest(screenshare);
|
|
|
|
|
}
|
|
|
|
|
|
2015-10-06 02:04:06 -07:00
|
|
|
TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_Scroll) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params config;
|
|
|
|
|
config.call.send_side_bwe = true;
|
|
|
|
|
config.video = {true, 1850, 1110 / 2, 5, 50000, 200000, 2000000, false,
|
2016-11-16 22:47:29 -08:00
|
|
|
"VP8", 2, 1, 400000, false, false, "", ""};
|
2016-10-31 05:47:02 -07:00
|
|
|
config.screenshare = {true, 10, 2};
|
|
|
|
|
config.analyzer = {"screenshare_slides_scrolling", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-09-17 05:30:24 -07:00
|
|
|
RunTest(config);
|
2015-07-30 02:15:56 -07:00
|
|
|
}
|
|
|
|
|
|
2015-11-23 06:10:23 -08:00
|
|
|
TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_LossyNet) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params screenshare;
|
|
|
|
|
screenshare.call.send_side_bwe = true;
|
|
|
|
|
screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
|
2016-11-16 22:47:29 -08:00
|
|
|
"VP8", 2, 1, 400000, false, false, "", ""};
|
2016-10-31 05:47:02 -07:00
|
|
|
screenshare.screenshare = {true, 10};
|
|
|
|
|
screenshare.analyzer = {"screenshare_slides_lossy_net", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-11-23 06:10:23 -08:00
|
|
|
screenshare.pipe.loss_percent = 5;
|
|
|
|
|
screenshare.pipe.queue_delay_ms = 200;
|
|
|
|
|
screenshare.pipe.link_capacity_kbps = 500;
|
|
|
|
|
RunTest(screenshare);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, ScreenshareSlidesVP8_2TL_VeryLossyNet) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params screenshare;
|
|
|
|
|
screenshare.call.send_side_bwe = true;
|
|
|
|
|
screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
|
2016-11-16 22:47:29 -08:00
|
|
|
"VP8", 2, 1, 400000, false, false, "", ""};
|
2016-10-31 05:47:02 -07:00
|
|
|
screenshare.screenshare = {true, 10};
|
|
|
|
|
screenshare.analyzer = {"screenshare_slides_very_lossy", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
2015-11-23 06:10:23 -08:00
|
|
|
screenshare.pipe.loss_percent = 10;
|
|
|
|
|
screenshare.pipe.queue_delay_ms = 200;
|
|
|
|
|
screenshare.pipe.link_capacity_kbps = 500;
|
|
|
|
|
RunTest(screenshare);
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-07 04:42:54 -08:00
|
|
|
const VideoQualityTest::Params::Video kSvcVp9Video = {
|
|
|
|
|
true, 1280, 720, 30,
|
|
|
|
|
800000, 2500000, 2500000, false,
|
|
|
|
|
"VP9", 3, 2, 400000,
|
|
|
|
|
false, false, "", "ConferenceMotion_1280_720_50"};
|
|
|
|
|
|
|
|
|
|
const VideoQualityTest::Params::Video kSimulcastVp8VideoHigh = {
|
|
|
|
|
true, 1280, 720, 30,
|
|
|
|
|
800000, 2500000, 2500000, false,
|
|
|
|
|
"VP8", 3, 2, 400000,
|
|
|
|
|
false, false, "", "ConferenceMotion_1280_720_50"};
|
|
|
|
|
|
|
|
|
|
const VideoQualityTest::Params::Video kSimulcastVp8VideoMedium = {
|
|
|
|
|
true, 640, 360, 30,
|
|
|
|
|
150000, 500000, 700000, false,
|
|
|
|
|
"VP8", 3, 2, 400000,
|
|
|
|
|
false, false, "", "ConferenceMotion_1280_720_50"};
|
|
|
|
|
|
|
|
|
|
const VideoQualityTest::Params::Video kSimulcastVp8VideoLow = {
|
|
|
|
|
true, 320, 180, 30,
|
|
|
|
|
30000, 150000, 200000, false,
|
|
|
|
|
"VP8", 3, 2, 400000,
|
|
|
|
|
false, false, "", "ConferenceMotion_1280_720_50"};
|
|
|
|
|
|
2016-05-14 02:03:18 +02:00
|
|
|
#if !defined(RTC_DISABLE_VP9)
|
Reland of Work on flexible mode and screen sharing. (patchset #1 id:1 of https://codereview.webrtc.org/1438543002/ )
Reason for revert:
Failed test not related to this CL (test fails on
master at an earlier date), re-landing original CL..
(This time from my @webrtc account.)
Original issue's description:
> Revert of Work on flexible mode and screen sharing. (patchset #28 id:520001 of https://codereview.webrtc.org/1328113004/ )
>
> Reason for revert:
> Seems to break VideoSendStreamTest.ReconfigureBitratesSetsEncoderBitratesCorrectly on Linux Memcheck buildbot.
>
> Original issue's description:
> > Work on flexible mode and screen sharing.
> >
> > Implement VP8 style screensharing but with spatial layers.
> > Implement flexible mode.
> >
> > Files from other patches:
> > generic_encoder.cc
> > layer_filtering_transport.cc
> >
> > BUG=webrtc:4914
> >
> > Committed: https://crrev.com/77ccfb4d16c148e61a316746bb5d9705e8b39f4a
> > Cr-Commit-Position: refs/heads/master@{#10572}
>
> TBR=sprang@webrtc.org,stefan@webrtc.org,philipel@google.com,asapersson@webrtc.org,mflodman@webrtc.org,philipel@webrtc.org
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=webrtc:4914
>
> Committed: https://crrev.com/0be8f1d347bdb171462df89c2a4c69b3f3eb7519
> Cr-Commit-Position: refs/heads/master@{#10578}
TBR=sprang@webrtc.org,stefan@webrtc.org,philipel@google.com,asapersson@webrtc.org,mflodman@webrtc.org,terelius@webrtc.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=webrtc:4914
Review URL: https://codereview.webrtc.org/1431283002
Cr-Commit-Position: refs/heads/master@{#10581}
2015-11-10 07:17:23 -08:00
|
|
|
TEST_F(FullStackTest, ScreenshareSlidesVP9_2SL) {
|
2016-10-31 05:47:02 -07:00
|
|
|
VideoQualityTest::Params screenshare;
|
|
|
|
|
screenshare.call.send_side_bwe = true;
|
|
|
|
|
screenshare.video = {true, 1850, 1110, 5, 50000, 200000, 2000000, false,
|
2016-11-16 22:47:29 -08:00
|
|
|
"VP9", 1, 0, 400000, false, false, "", ""};
|
2016-10-31 05:47:02 -07:00
|
|
|
screenshare.screenshare = {true, 10};
|
|
|
|
|
screenshare.analyzer = {"screenshare_slides_vp9_2sl", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
screenshare.logs = false;
|
|
|
|
|
screenshare.ss = {std::vector<VideoStream>(), 0, 2, 1};
|
2015-09-17 05:30:24 -07:00
|
|
|
RunTest(screenshare);
|
2015-02-18 12:46:06 +00:00
|
|
|
}
|
2017-02-15 02:23:28 -08:00
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, VP9SVC_3SL_High) {
|
|
|
|
|
VideoQualityTest::Params simulcast;
|
|
|
|
|
simulcast.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
simulcast.video = kSvcVp9Video;
|
2017-02-15 02:23:28 -08:00
|
|
|
simulcast.analyzer = {"vp9svc_3sl_high", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
simulcast.logs = false;
|
|
|
|
|
simulcast.ss = {std::vector<VideoStream>(), 0, 3, 2};
|
|
|
|
|
RunTest(simulcast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, VP9SVC_3SL_Medium) {
|
|
|
|
|
VideoQualityTest::Params simulcast;
|
|
|
|
|
simulcast.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
simulcast.video = kSvcVp9Video;
|
2017-02-15 02:23:28 -08:00
|
|
|
simulcast.analyzer = {"vp9svc_3sl_medium", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
simulcast.logs = false;
|
|
|
|
|
simulcast.ss = {std::vector<VideoStream>(), 0, 3, 1};
|
|
|
|
|
RunTest(simulcast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, VP9SVC_3SL_Low) {
|
|
|
|
|
VideoQualityTest::Params simulcast;
|
|
|
|
|
simulcast.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
simulcast.video = kSvcVp9Video;
|
2017-02-15 02:23:28 -08:00
|
|
|
simulcast.analyzer = {"vp9svc_3sl_low", 0.0, 0.0, kFullStackTestDurationSecs};
|
|
|
|
|
simulcast.logs = false;
|
|
|
|
|
simulcast.ss = {std::vector<VideoStream>(), 0, 3, 0};
|
|
|
|
|
RunTest(simulcast);
|
|
|
|
|
}
|
2016-05-14 02:03:18 +02:00
|
|
|
#endif // !defined(RTC_DISABLE_VP9)
|
2016-11-30 07:50:07 -08:00
|
|
|
|
2017-02-09 04:58:53 -08:00
|
|
|
TEST_F(FullStackTest, SimulcastVP8_3SL_High) {
|
|
|
|
|
VideoQualityTest::Params simulcast;
|
|
|
|
|
simulcast.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
simulcast.video = kSimulcastVp8VideoHigh;
|
2017-02-15 02:23:28 -08:00
|
|
|
simulcast.analyzer = {"simulcast_vp8_3sl_high", 0.0, 0.0,
|
2017-02-09 04:58:53 -08:00
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
simulcast.pipe.loss_percent = 0;
|
|
|
|
|
simulcast.pipe.queue_delay_ms = 100;
|
|
|
|
|
VideoQualityTest::Params video_params_high;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_high.video = kSimulcastVp8VideoHigh;
|
2017-02-09 04:58:53 -08:00
|
|
|
VideoQualityTest::Params video_params_medium;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_medium.video = kSimulcastVp8VideoMedium;
|
2017-02-09 04:58:53 -08:00
|
|
|
VideoQualityTest::Params video_params_low;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_low.video = kSimulcastVp8VideoLow;
|
2017-02-09 04:58:53 -08:00
|
|
|
|
|
|
|
|
std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low),
|
|
|
|
|
DefaultVideoStream(video_params_medium),
|
|
|
|
|
DefaultVideoStream(video_params_high)};
|
|
|
|
|
simulcast.ss = {streams, 2, 1, 0};
|
|
|
|
|
RunTest(simulcast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, SimulcastVP8_3SL_Medium) {
|
|
|
|
|
VideoQualityTest::Params simulcast;
|
|
|
|
|
simulcast.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
simulcast.video = kSimulcastVp8VideoHigh;
|
2017-02-15 02:23:28 -08:00
|
|
|
simulcast.analyzer = {"simulcast_vp8_3sl_medium", 0.0, 0.0,
|
2017-02-09 04:58:53 -08:00
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
simulcast.pipe.loss_percent = 0;
|
|
|
|
|
simulcast.pipe.queue_delay_ms = 100;
|
|
|
|
|
VideoQualityTest::Params video_params_high;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_high.video = kSimulcastVp8VideoHigh;
|
2017-02-09 04:58:53 -08:00
|
|
|
VideoQualityTest::Params video_params_medium;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_medium.video = kSimulcastVp8VideoMedium;
|
2017-02-09 04:58:53 -08:00
|
|
|
VideoQualityTest::Params video_params_low;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_low.video = kSimulcastVp8VideoLow;
|
2017-02-09 04:58:53 -08:00
|
|
|
|
|
|
|
|
std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low),
|
|
|
|
|
DefaultVideoStream(video_params_medium),
|
|
|
|
|
DefaultVideoStream(video_params_high)};
|
|
|
|
|
simulcast.ss = {streams, 1, 1, 0};
|
|
|
|
|
RunTest(simulcast);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, SimulcastVP8_3SL_Low) {
|
|
|
|
|
VideoQualityTest::Params simulcast;
|
|
|
|
|
simulcast.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
simulcast.video = kSimulcastVp8VideoHigh;
|
2017-02-15 02:23:28 -08:00
|
|
|
simulcast.analyzer = {"simulcast_vp8_3sl_low", 0.0, 0.0,
|
2017-02-09 04:58:53 -08:00
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
simulcast.pipe.loss_percent = 0;
|
|
|
|
|
simulcast.pipe.queue_delay_ms = 100;
|
|
|
|
|
VideoQualityTest::Params video_params_high;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_high.video = kSimulcastVp8VideoHigh;
|
2017-02-09 04:58:53 -08:00
|
|
|
VideoQualityTest::Params video_params_medium;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_medium.video = kSimulcastVp8VideoMedium;
|
2017-02-09 04:58:53 -08:00
|
|
|
VideoQualityTest::Params video_params_low;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_low.video = kSimulcastVp8VideoLow;
|
2017-02-09 04:58:53 -08:00
|
|
|
|
|
|
|
|
std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low),
|
|
|
|
|
DefaultVideoStream(video_params_medium),
|
|
|
|
|
DefaultVideoStream(video_params_high)};
|
|
|
|
|
simulcast.ss = {streams, 0, 1, 0};
|
|
|
|
|
RunTest(simulcast);
|
|
|
|
|
}
|
|
|
|
|
|
2017-03-07 04:21:04 -08:00
|
|
|
TEST_F(FullStackTest, LargeRoomVP8_5thumb) {
|
|
|
|
|
VideoQualityTest::Params large_room;
|
|
|
|
|
large_room.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
large_room.video = kSimulcastVp8VideoHigh;
|
2017-03-07 04:21:04 -08:00
|
|
|
large_room.analyzer = {"largeroom_5thumb", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
large_room.pipe.loss_percent = 0;
|
|
|
|
|
large_room.pipe.queue_delay_ms = 100;
|
|
|
|
|
VideoQualityTest::Params video_params_high;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_high.video = kSimulcastVp8VideoHigh;
|
2017-03-07 04:21:04 -08:00
|
|
|
VideoQualityTest::Params video_params_medium;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_medium.video = kSimulcastVp8VideoMedium;
|
2017-03-07 04:21:04 -08:00
|
|
|
VideoQualityTest::Params video_params_low;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_low.video = kSimulcastVp8VideoLow;
|
2017-03-07 04:21:04 -08:00
|
|
|
|
|
|
|
|
std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low),
|
|
|
|
|
DefaultVideoStream(video_params_medium),
|
|
|
|
|
DefaultVideoStream(video_params_high)};
|
|
|
|
|
large_room.num_thumbnails = 5;
|
|
|
|
|
large_room.ss = {streams, 2, 1, 0};
|
|
|
|
|
RunTest(large_room);
|
|
|
|
|
}
|
|
|
|
|
|
Revert of write frame generator capturer to use TaskQueue instead of EventTimeWrapper (patchset #11 id:300001 of https://codereview.webrtc.org/2750473002/ )
Reason for revert:
Changes to frame-generator resulted in reduced fps on android and Mac on all tests.
Original issue's description:
> Reland of write frame generator capturer to use TaskQueue instead of EventTimeWrapper (patchset #1 id:1 of https://codereview.webrtc.org/2748643002/ )
>
> Reason for revert:
> Reland with fixes to the failing perf tests.
>
> Original issue's description:
> > Revert of rewrite frame generator capturer to use TaskQueue instead of EventTimeWrapper (patchset #2 id:90001 of https://codereview.webrtc.org/2744003002/ )
> >
> > Reason for revert:
> > CallPerfTest.ReceivesCpuOveruseAndUnderuse perf test fails due to this CL. It requires very accurate frame rate, which may not be so accurate now.
> >
> > Original issue's description:
> > > Reland of rewrite frame generator capturer to use TaskQueue instead of EventTimeWrapper (patchset #1 id:1 of https://codereview.webrtc.org/2743993002/ )
> > >
> > > And enable large full-stack test depending on that change (Reland of https://codereview.webrtc.org/2741823003/)
> > > TBR=stefan@webrtc.org,tommi@webrtc.org
> > > BUG=webrtc:7301,webrtc:7325
> > >
> > > Review-Url: https://codereview.webrtc.org/2744003002
> > > Cr-Commit-Position: refs/heads/master@{#17196}
> > > Committed: https://chromium.googlesource.com/external/webrtc/+/8c0a5896d1cdc7bb81307c33fa4b3538d8160a0f
> >
> > TBR=stefan@webrtc.org,tommi@webrtc.org,sprang@webrtc.org
> > # Skipping CQ checks because original CL landed less than 1 days ago.
> > NOPRESUBMIT=true
> > NOTREECHECKS=true
> > NOTRY=true
> > BUG=webrtc:7301,webrtc:7325
> >
> > Review-Url: https://codereview.webrtc.org/2748643002
> > Cr-Commit-Position: refs/heads/master@{#17198}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/382a72a0d321f19ac9cdc9bb30712cefe2639f88
>
> BUG=webrtc:7301,webrtc:7325
>
> Review-Url: https://codereview.webrtc.org/2750473002
> Cr-Commit-Position: refs/heads/master@{#17253}
> Committed: https://chromium.googlesource.com/external/webrtc/+/2549ad4fef419a055671c5be39fcfa27ba573c3b
TBR=sprang@webrtc.org,tommi@webrtc.org,stefan@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:7301,webrtc:7325
Review-Url: https://codereview.webrtc.org/2751063005
Cr-Commit-Position: refs/heads/master@{#17276}
2017-03-16 09:43:44 -07:00
|
|
|
#if defined(WEBRTC_ANDROID) || defined(WEBRTC_WIN)
|
|
|
|
|
// Fails on Android and win:
|
2017-03-07 06:15:27 -08:00
|
|
|
// https://bugs.chromium.org/p/webrtc/issues/detail?id=7301
|
|
|
|
|
#define MAYBE_LargeRoomVP8_50thumb DISABLED_LargeRoomVP8_50thumb
|
2017-03-08 01:17:35 -08:00
|
|
|
#define MAYBE_LargeRoomVP8_15thumb DISABLED_LargeRoomVP8_15thumb
|
2017-03-07 06:15:27 -08:00
|
|
|
#else
|
|
|
|
|
#define MAYBE_LargeRoomVP8_50thumb LargeRoomVP8_50thumb
|
2017-03-08 01:17:35 -08:00
|
|
|
#define MAYBE_LargeRoomVP8_15thumb LargeRoomVP8_15thumb
|
2017-03-07 06:15:27 -08:00
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, MAYBE_LargeRoomVP8_15thumb) {
|
2017-03-07 04:21:04 -08:00
|
|
|
VideoQualityTest::Params large_room;
|
|
|
|
|
large_room.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
large_room.video = kSimulcastVp8VideoHigh;
|
2017-03-07 04:21:04 -08:00
|
|
|
large_room.analyzer = {"largeroom_15thumb", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
large_room.pipe.loss_percent = 0;
|
|
|
|
|
large_room.pipe.queue_delay_ms = 100;
|
|
|
|
|
VideoQualityTest::Params video_params_high;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_high.video = kSimulcastVp8VideoHigh;
|
2017-03-07 04:21:04 -08:00
|
|
|
VideoQualityTest::Params video_params_medium;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_medium.video = kSimulcastVp8VideoMedium;
|
2017-03-07 04:21:04 -08:00
|
|
|
VideoQualityTest::Params video_params_low;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_low.video = kSimulcastVp8VideoLow;
|
2017-03-07 04:21:04 -08:00
|
|
|
|
|
|
|
|
std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low),
|
|
|
|
|
DefaultVideoStream(video_params_medium),
|
|
|
|
|
DefaultVideoStream(video_params_high)};
|
|
|
|
|
large_room.num_thumbnails = 15;
|
|
|
|
|
large_room.ss = {streams, 2, 1, 0};
|
|
|
|
|
RunTest(large_room);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
TEST_F(FullStackTest, MAYBE_LargeRoomVP8_50thumb) {
|
|
|
|
|
VideoQualityTest::Params large_room;
|
|
|
|
|
large_room.call.send_side_bwe = true;
|
2017-03-07 04:42:54 -08:00
|
|
|
large_room.video = kSimulcastVp8VideoHigh;
|
2017-03-07 04:21:04 -08:00
|
|
|
large_room.analyzer = {"largeroom_50thumb", 0.0, 0.0,
|
|
|
|
|
kFullStackTestDurationSecs};
|
|
|
|
|
large_room.pipe.loss_percent = 0;
|
|
|
|
|
large_room.pipe.queue_delay_ms = 100;
|
|
|
|
|
VideoQualityTest::Params video_params_high;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_high.video = kSimulcastVp8VideoHigh;
|
2017-03-07 04:21:04 -08:00
|
|
|
VideoQualityTest::Params video_params_medium;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_medium.video = kSimulcastVp8VideoMedium;
|
2017-03-07 04:21:04 -08:00
|
|
|
VideoQualityTest::Params video_params_low;
|
2017-03-07 04:42:54 -08:00
|
|
|
video_params_low.video = kSimulcastVp8VideoLow;
|
2017-03-07 04:21:04 -08:00
|
|
|
|
|
|
|
|
std::vector<VideoStream> streams = {DefaultVideoStream(video_params_low),
|
|
|
|
|
DefaultVideoStream(video_params_medium),
|
|
|
|
|
DefaultVideoStream(video_params_high)};
|
|
|
|
|
large_room.num_thumbnails = 50;
|
|
|
|
|
large_room.ss = {streams, 2, 1, 0};
|
|
|
|
|
RunTest(large_room);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
2013-07-09 08:02:33 +00:00
|
|
|
} // namespace webrtc
|