Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Unified Diff: webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h

Issue 2364403004: Creating controller manager from config string in audio network adaptor. (Closed)
Patch Set: rebasing Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h
index c2ac9e35efbf9a42ca1cea1cb6da8d94202ef862..806042e50133afd0dce9aa02ff2e5d6bf4b60370 100644
--- a/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h
@@ -40,11 +40,25 @@ class ControllerManagerImpl final : public ControllerManager {
float min_reordering_squared_distance,
const Clock* clock);
~Config();
+ // Least time since last reordering for a new reordering to be made.
int min_reordering_time_ms;
+ // Least squared distance from last scoring point for a new reordering to be
+ // made.
float min_reordering_squared_distance;
const Clock* clock;
};
+ static std::unique_ptr<ControllerManager> Create(
+ const std::string& config_string,
+ size_t num_encoder_channels,
+ rtc::ArrayView<const int> encoder_frame_lengths_ms,
+ size_t intial_channels_to_encode,
+ int initial_frame_length_ms,
+ int initial_bitrate_bps,
+ bool initial_fec_enabled,
+ bool initial_dtx_enabled,
+ const Clock* clock);
+
explicit ControllerManagerImpl(const Config& config);
// Dependency injection for testing.

Powered by Google App Engine
This is Rietveld 408576698