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

Unified Diff: webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.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
« no previous file with comments | « webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.h
diff --git a/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.h b/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.h
index 82baa60b8fa18fe355d162c136ba7f815f2565a4..d19710254d23bc3d997546d3ccaf74d4911d2684 100644
--- a/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.h
+++ b/webrtc/modules/audio_coding/audio_network_adaptor/frame_length_controller.h
@@ -34,9 +34,14 @@ class FrameLengthController final : public Controller {
~Config();
std::vector<int> encoder_frame_lengths_ms;
int initial_frame_length_ms;
+ // Uplink packet loss fraction below which frame length can increase.
float fl_increasing_packet_loss_fraction;
+ // Uplink packet loss fraction below which frame length should decrease.
float fl_decreasing_packet_loss_fraction;
+ // Uplink bandwidth below which frame length can switch from 20ms to 60ms.
int fl_20ms_to_60ms_bandwidth_bps;
+ // Uplink bandwidth above which frame length should switch from 60ms to
+ // 20ms.
int fl_60ms_to_20ms_bandwidth_bps;
};
« no previous file with comments | « webrtc/modules/audio_coding/audio_network_adaptor/fec_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698