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

Side by Side Diff: webrtc/modules/audio_coding/audio_network_adaptor/controller_manager.h

Issue 2703353002: Change frame length on very low bandwidth. (Closed)
Patch Set: Responsd to comments. Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // Least squared distance from last scoring point for a new reordering to be 45 // Least squared distance from last scoring point for a new reordering to be
46 // made. 46 // made.
47 float min_reordering_squared_distance; 47 float min_reordering_squared_distance;
48 const Clock* clock; 48 const Clock* clock;
49 }; 49 };
50 50
51 static std::unique_ptr<ControllerManager> Create( 51 static std::unique_ptr<ControllerManager> Create(
52 const std::string& config_string, 52 const std::string& config_string,
53 size_t num_encoder_channels, 53 size_t num_encoder_channels,
54 rtc::ArrayView<const int> encoder_frame_lengths_ms, 54 rtc::ArrayView<const int> encoder_frame_lengths_ms,
55 int min_encoder_bitrate_bps,
55 size_t intial_channels_to_encode, 56 size_t intial_channels_to_encode,
56 int initial_frame_length_ms, 57 int initial_frame_length_ms,
57 int initial_bitrate_bps, 58 int initial_bitrate_bps,
58 bool initial_fec_enabled, 59 bool initial_fec_enabled,
59 bool initial_dtx_enabled, 60 bool initial_dtx_enabled,
60 const Clock* clock); 61 const Clock* clock);
61 62
62 explicit ControllerManagerImpl(const Config& config); 63 explicit ControllerManagerImpl(const Config& config);
63 64
64 // Dependency injection for testing. 65 // Dependency injection for testing.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // |scoring_points_| saves the characteristic scoring points of various 104 // |scoring_points_| saves the characteristic scoring points of various
104 // controllers. 105 // controllers.
105 std::map<const Controller*, ScoringPoint> controller_scoring_points_; 106 std::map<const Controller*, ScoringPoint> controller_scoring_points_;
106 107
107 RTC_DISALLOW_COPY_AND_ASSIGN(ControllerManagerImpl); 108 RTC_DISALLOW_COPY_AND_ASSIGN(ControllerManagerImpl);
108 }; 109 };
109 110
110 } // namespace webrtc 111 } // namespace webrtc
111 112
112 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_CONTROLLER_MANAGER_ H_ 113 #endif // WEBRTC_MODULES_AUDIO_CODING_AUDIO_NETWORK_ADAPTOR_CONTROLLER_MANAGER_ H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698