Remove unused VideoStream::balanced_settings()
R=hbos@webrtc.org
Bug: None
Change-Id: I86bc1040f1e8197ce14c16ad7cb7e18dd643b456
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/175002
Reviewed-by: Henrik Boström <hbos@webrtc.org>
Commit-Queue: Evan Shrubsole <eshr@google.com>
Cr-Commit-Position: refs/heads/master@{#31234}
diff --git a/call/adaptation/video_stream_adapter.cc b/call/adaptation/video_stream_adapter.cc
index b224e3e..7b15473 100644
--- a/call/adaptation/video_stream_adapter.cc
+++ b/call/adaptation/video_stream_adapter.cc
@@ -349,11 +349,6 @@
return source_restrictor_->adaptation_counters();
}
-const BalancedDegradationSettings& VideoStreamAdapter::balanced_settings()
- const {
- return balanced_settings_;
-}
-
void VideoStreamAdapter::ClearRestrictions() {
// Invalidate any previously returned Adaptation.
++adaptation_validation_id_;
diff --git a/call/adaptation/video_stream_adapter.h b/call/adaptation/video_stream_adapter.h
index a2dea15..1f44dd5 100644
--- a/call/adaptation/video_stream_adapter.h
+++ b/call/adaptation/video_stream_adapter.h
@@ -114,11 +114,6 @@
VideoSourceRestrictions source_restrictions() const;
const VideoAdaptationCounters& adaptation_counters() const;
- // TODO(hbos): Can we get rid of any external dependencies on
- // BalancedDegradationPreference? How the adaptor generates possible next
- // steps for adaptation should be an implementation detail. Can the relevant
- // information be inferred from AdaptationTargetOrReason?
- const BalancedDegradationSettings& balanced_settings() const;
void ClearRestrictions();
// TODO(hbos): Setting the degradation preference should not clear