[PCLF] Allow configuring RtpEncodingParameters with singlecast
With the encoding parameters in the SimulcastConfig objects, it wasn't possible to configure explicit encoding parameters when using singlecast, required for example to use the spec standard SVC API. Bug: webrtc:11607 Change-Id: I92b1446e772e2ecec93379dc91a3da159b8bc209 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/260002 Commit-Queue: Florent Castelli <orphis@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/main@{#36731}
This commit is contained in:
committed by
WebRTC LUCI CQ
parent
69c1df2f44
commit
a63b6b7d40
@ -127,7 +127,12 @@ class PeerConnectionE2EQualityTestFixture {
|
||||
std::vector<std::string> slides_yuv_file_names;
|
||||
};
|
||||
|
||||
// Config for Vp8 simulcast or Vp9 SVC testing.
|
||||
// Config for Vp8 simulcast or non-standard Vp9 SVC testing.
|
||||
//
|
||||
// To configure standard SVC setting, use `scalability_mode` in the
|
||||
// `encoding_params` array.
|
||||
// This configures Vp9 SVC by requesting simulcast layers, the request is
|
||||
// internally converted to a request for SVC layers.
|
||||
//
|
||||
// SVC support is limited:
|
||||
// During SVC testing there is no SFU, so framework will try to emulate SFU
|
||||
@ -256,6 +261,14 @@ class PeerConnectionE2EQualityTestFixture {
|
||||
// but only on non-lossy networks. See more in documentation to
|
||||
// VideoSimulcastConfig.
|
||||
absl::optional<VideoSimulcastConfig> simulcast_config;
|
||||
// Encoding parameters for both singlecast and per simulcast layer.
|
||||
// If singlecast is used, if not empty, a single value can be provided.
|
||||
// If simulcast is used, if not empty, `encoding_params` size have to be
|
||||
// equal to `simulcast_config.simulcast_streams_count`. Will be used to set
|
||||
// transceiver send encoding params for each layer.
|
||||
// RtpEncodingParameters::rid may be changed by fixture implementation to
|
||||
// ensure signaling correctness.
|
||||
std::vector<RtpEncodingParameters> encoding_params;
|
||||
// Count of temporal layers for video stream. This value will be set into
|
||||
// each RtpEncodingParameters of RtpParameters of corresponding
|
||||
// RtpSenderInterface for this video stream.
|
||||
|
||||
Reference in New Issue
Block a user