From 8d60ca92097aad1c62d6dcd7d2a6e3237f640fb0 Mon Sep 17 00:00:00 2001 From: Mirko Bonadei Date: Thu, 15 Jul 2021 16:08:23 +0200 Subject: [PATCH] Add backwards compatibilty to peer codecs config. This is a small follow-up to https://webrtc-review.googlesource.com/c/src/+/226220 in order to make the switch incremental. No-Try: True Bug: b/192821182 Change-Id: I2e36c74eb97b5ee30cbd5c383eebff73e9389408 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/226221 Commit-Queue: Mirko Bonadei Reviewed-by: Andrey Logvin Cr-Commit-Position: refs/heads/master@{#34478} --- test/pc/e2e/peer_configurer.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/pc/e2e/peer_configurer.cc b/test/pc/e2e/peer_configurer.cc index caf29eb992..50ce51b49a 100644 --- a/test/pc/e2e/peer_configurer.cc +++ b/test/pc/e2e/peer_configurer.cc @@ -100,6 +100,9 @@ void SetDefaultValuesForMissingParams( p->video_codecs.push_back( PeerConnectionE2EQualityTestFixture::VideoCodecConfig( cricket::kVp8CodecName)); + run_params->video_codecs = { + PeerConnectionE2EQualityTestFixture::VideoCodecConfig( + cricket::kVp8CodecName)}; } } else { RTC_CHECK(run_params->video_codecs.empty())