[PCLF] Introduce API to safely mutate ConfigurableParams in TestPeer

Bug: b/213863770
Change-Id: I90b7b5cd55ac5a8ebee5d790205a4fa6700dfff4
No-Try: True
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/260117
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36668}
This commit is contained in:
Artem Titov
2022-04-27 09:47:43 +02:00
committed by WebRTC LUCI CQ
parent 24eb595587
commit a92d051e0f
4 changed files with 56 additions and 8 deletions

View File

@ -233,10 +233,10 @@ class PeerConnectionE2EQualityTestFixture {
stream_label(std::move(stream_label)) {}
// Video stream width.
const size_t width;
size_t width;
// Video stream height.
const size_t height;
const int32_t fps;
size_t height;
int32_t fps;
VideoResolution GetResolution() const {
return VideoResolution(width, height, fps);
}