OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #ifndef WEBRTC_CALL_H_ | 10 #ifndef WEBRTC_CALL_H_ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 78 |
79 // Bitrate config used until valid bitrate estimates are calculated. Also | 79 // Bitrate config used until valid bitrate estimates are calculated. Also |
80 // used to cap total bitrate used. | 80 // used to cap total bitrate used. |
81 struct BitrateConfig { | 81 struct BitrateConfig { |
82 int min_bitrate_bps = 0; | 82 int min_bitrate_bps = 0; |
83 int start_bitrate_bps = kDefaultStartBitrateBps; | 83 int start_bitrate_bps = kDefaultStartBitrateBps; |
84 int max_bitrate_bps = -1; | 84 int max_bitrate_bps = -1; |
85 } bitrate_config; | 85 } bitrate_config; |
86 | 86 |
87 struct AudioConfig { | 87 struct AudioConfig { |
88 AudioDeviceModule* audio_device_manager = nullptr; | 88 AudioDeviceModule* audio_device_module = nullptr; |
89 AudioProcessing* audio_processing = nullptr; | 89 AudioProcessing* audio_processing = nullptr; |
90 VoiceEngineObserver* voice_engine_observer = nullptr; | 90 VoiceEngineObserver* voice_engine_observer = nullptr; |
91 } audio_config; | 91 } audio_config; |
92 }; | 92 }; |
93 | 93 |
94 struct Stats { | 94 struct Stats { |
95 int send_bandwidth_bps = 0; | 95 int send_bandwidth_bps = 0; |
96 int recv_bandwidth_bps = 0; | 96 int recv_bandwidth_bps = 0; |
97 int64_t pacer_delay_ms = 0; | 97 int64_t pacer_delay_ms = 0; |
98 int64_t rtt_ms = -1; | 98 int64_t rtt_ms = -1; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 virtual void SetBitrateConfig( | 136 virtual void SetBitrateConfig( |
137 const Config::BitrateConfig& bitrate_config) = 0; | 137 const Config::BitrateConfig& bitrate_config) = 0; |
138 virtual void SignalNetworkState(NetworkState state) = 0; | 138 virtual void SignalNetworkState(NetworkState state) = 0; |
139 | 139 |
140 virtual ~Call() {} | 140 virtual ~Call() {} |
141 }; | 141 }; |
142 | 142 |
143 } // namespace webrtc | 143 } // namespace webrtc |
144 | 144 |
145 #endif // WEBRTC_CALL_H_ | 145 #endif // WEBRTC_CALL_H_ |
OLD | NEW |