Remove deprecated ctor from DefaultVideoQualityAnalyzer
Bug: webrtc:11743 Change-Id: Ic4817227499ac7455e0088d90306844b11d67836 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/180124 Reviewed-by: Andrey Logvin <landrey@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31788}
This commit is contained in:
parent
7ade6591f7
commit
60cbf70944
@ -124,15 +124,6 @@ DefaultVideoQualityAnalyzer::DefaultVideoQualityAnalyzer(
|
||||
webrtc::Clock* clock,
|
||||
DefaultVideoQualityAnalyzerOptions options)
|
||||
: options_(options), clock_(clock) {}
|
||||
DefaultVideoQualityAnalyzer::DefaultVideoQualityAnalyzer(
|
||||
bool heavy_metrics_computation_enabled,
|
||||
size_t max_frames_in_flight_per_stream_count)
|
||||
: clock_(Clock::GetRealTimeClock()) {
|
||||
options_.heavy_metrics_computation_enabled =
|
||||
heavy_metrics_computation_enabled;
|
||||
options_.max_frames_in_flight_per_stream_count =
|
||||
max_frames_in_flight_per_stream_count;
|
||||
}
|
||||
DefaultVideoQualityAnalyzer::~DefaultVideoQualityAnalyzer() {
|
||||
Stop();
|
||||
}
|
||||
|
||||
@ -183,11 +183,6 @@ class DefaultVideoQualityAnalyzer : public VideoQualityAnalyzerInterface {
|
||||
webrtc::Clock* clock,
|
||||
DefaultVideoQualityAnalyzerOptions options =
|
||||
DefaultVideoQualityAnalyzerOptions());
|
||||
// Keep for backward compatibility during migration. Will be removed soon.
|
||||
explicit DefaultVideoQualityAnalyzer(
|
||||
bool heavy_metrics_computation_enabled = true,
|
||||
size_t max_frames_in_flight_per_stream_count =
|
||||
kDefaultMaxFramesInFlightPerStream);
|
||||
~DefaultVideoQualityAnalyzer() override;
|
||||
|
||||
void Start(std::string test_case_name,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user