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 <mbonadei@webrtc.org> Reviewed-by: Andrey Logvin <landrey@webrtc.org> Cr-Commit-Position: refs/heads/master@{#34478}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
f48c3736e0
commit
8d60ca9209
@ -100,6 +100,9 @@ void SetDefaultValuesForMissingParams(
|
|||||||
p->video_codecs.push_back(
|
p->video_codecs.push_back(
|
||||||
PeerConnectionE2EQualityTestFixture::VideoCodecConfig(
|
PeerConnectionE2EQualityTestFixture::VideoCodecConfig(
|
||||||
cricket::kVp8CodecName));
|
cricket::kVp8CodecName));
|
||||||
|
run_params->video_codecs = {
|
||||||
|
PeerConnectionE2EQualityTestFixture::VideoCodecConfig(
|
||||||
|
cricket::kVp8CodecName)};
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
RTC_CHECK(run_params->video_codecs.empty())
|
RTC_CHECK(run_params->video_codecs.empty())
|
||||||
|
Reference in New Issue
Block a user