Delete deprecated SvcRateAllocator constructor

To force SvcRateAllocator use propagated rather than global field trials

Bug: webrtc:42220378
Change-Id: I0ca3186ee2428aafe3d7f093603b708e03ada121
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/362722
Commit-Queue: Åsa Persson <asapersson@webrtc.org>
Auto-Submit: Danil Chapovalov <danilchap@webrtc.org>
Reviewed-by: Åsa Persson <asapersson@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#43123}
This commit is contained in:
Danil Chapovalov 2024-09-17 17:44:54 +02:00 committed by WebRTC LUCI CQ
parent d9e9a7bc83
commit bdb52e9767
3 changed files with 0 additions and 6 deletions

View File

@ -73,7 +73,6 @@ rtc_source_set("svc_rate_allocator") {
":scalability_structures",
":scalable_video_controller",
"../../../api:field_trials_view",
"../../../api/transport:field_trial_based_config",
"../../../api/units:data_rate",
"../../../api/video:video_bitrate_allocation",
"../../../api/video:video_bitrate_allocator",

View File

@ -19,7 +19,6 @@
#include "absl/container/inlined_vector.h"
#include "api/field_trials_view.h"
#include "api/transport/field_trial_based_config.h"
#include "api/units/data_rate.h"
#include "api/video/video_bitrate_allocation.h"
#include "api/video/video_bitrate_allocator.h"
@ -246,9 +245,6 @@ SvcRateAllocator::NumLayers SvcRateAllocator::GetNumLayers(
return layers;
}
SvcRateAllocator::SvcRateAllocator(const VideoCodec& codec)
: SvcRateAllocator(codec, FieldTrialBasedConfig()) {}
SvcRateAllocator::SvcRateAllocator(const VideoCodec& codec,
const FieldTrialsView& field_trials)
: codec_(codec),

View File

@ -28,7 +28,6 @@ namespace webrtc {
class SvcRateAllocator : public VideoBitrateAllocator {
public:
[[deprecated]] explicit SvcRateAllocator(const VideoCodec& codec);
SvcRateAllocator(const VideoCodec& codec,
const FieldTrialsView& field_trials);