Add max/min encode bitrates to video config of peer connection tests
Extend PeerConnectionE2EQualityTestFixture::VideoConfig with min_encode_bitrate_bps and max_encode_bitrate_bps. These are needed to be able to specify the bitrate to be used in tests. Bug: None Change-Id: I8af88020e9b364d924e2cecb2bdcc12bf287394d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/153352 Reviewed-by: Artem Titov <titovartem@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Johannes Kron <kron@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29219}
This commit is contained in:

committed by
Commit Bot

parent
7cfde54849
commit
1162ba285d
@ -190,6 +190,17 @@ class PeerConnectionE2EQualityTestFixture {
|
||||
// each RtpEncodingParameters of RtpParameters of corresponding
|
||||
// RtpSenderInterface for this video stream.
|
||||
absl::optional<int> temporal_layers_count;
|
||||
// Sets the maxiumum encode bitrate in bps. If this value is not set, the
|
||||
// encoder will be capped at an internal maximum value around 2 Mbps
|
||||
// depending on the resolution. This means that it will never be able to
|
||||
// utilize a high bandwidth link.
|
||||
absl::optional<int> max_encode_bitrate_bps;
|
||||
// Sets the minimum encode bitrate in bps. If this value is not set, the
|
||||
// encoder will use an internal minimum value. Please note that if this
|
||||
// value is set higher than the bandwidth of the link, the encoder will
|
||||
// generate more data than the link can handle regardless of the bandwidth
|
||||
// estimation.
|
||||
absl::optional<int> min_encode_bitrate_bps;
|
||||
// If specified the input stream will be also copied to specified file.
|
||||
// It is actually one of the test's output file, which contains copy of what
|
||||
// was captured during the test for this video stream on sender side.
|
||||
|
Reference in New Issue
Block a user