| 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 ba0c1c2ab2d09a2c76f568d9d925b2974f3ffefe..5f65772fbe225e17868c7043454055c0b33338f6 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
|
| @@ -29,7 +29,9 @@ class FrameLengthController final : public Controller {
|
| float fl_increasing_packet_loss_fraction,
|
| float fl_decreasing_packet_loss_fraction,
|
| int fl_20ms_to_60ms_bandwidth_bps,
|
| - int fl_60ms_to_20ms_bandwidth_bps);
|
| + int fl_60ms_to_20ms_bandwidth_bps,
|
| + int fl_60ms_to_120ms_bandwidth_bps,
|
| + int fl_120ms_to_60ms_bandwidth_bps);
|
| Config(const Config& other);
|
| ~Config();
|
| std::vector<int> encoder_frame_lengths_ms;
|
| @@ -43,6 +45,11 @@ class FrameLengthController final : public Controller {
|
| // Uplink bandwidth above which frame length should switch from 60ms to
|
| // 20ms.
|
| int fl_60ms_to_20ms_bandwidth_bps;
|
| + // Uplink bandwidth below which frame length can switch from 60ms to 120ms.
|
| + int fl_60ms_to_120ms_bandwidth_bps;
|
| + // Uplink bandwidth above which frame length should switch from 120ms to
|
| + // 60ms.
|
| + int fl_120ms_to_60ms_bandwidth_bps;
|
| };
|
|
|
| explicit FrameLengthController(const Config& config);
|
|
|