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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 // implemented. | 140 // implemented. |
141 virtual void SetBitrateConfig( | 141 virtual void SetBitrateConfig( |
142 const Config::BitrateConfig& bitrate_config) = 0; | 142 const Config::BitrateConfig& bitrate_config) = 0; |
143 | 143 |
144 // TODO(skvlad): When the unbundled case with multiple streams for the same | 144 // TODO(skvlad): When the unbundled case with multiple streams for the same |
145 // media type going over different networks is supported, track the state | 145 // media type going over different networks is supported, track the state |
146 // for each stream separately. Right now it's global per media type. | 146 // for each stream separately. Right now it's global per media type. |
147 virtual void SignalChannelNetworkState(MediaType media, | 147 virtual void SignalChannelNetworkState(MediaType media, |
148 NetworkState state) = 0; | 148 NetworkState state) = 0; |
149 | 149 |
| 150 virtual void OnTransportOverheadChanged( |
| 151 MediaType media, |
| 152 int transport_overhead_per_packet) = 0; |
| 153 |
150 virtual void OnNetworkRouteChanged( | 154 virtual void OnNetworkRouteChanged( |
151 const std::string& transport_name, | 155 const std::string& transport_name, |
152 const rtc::NetworkRoute& network_route) = 0; | 156 const rtc::NetworkRoute& network_route) = 0; |
153 | 157 |
154 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; | 158 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; |
155 | 159 |
156 virtual ~Call() {} | 160 virtual ~Call() {} |
157 }; | 161 }; |
158 | 162 |
159 } // namespace webrtc | 163 } // namespace webrtc |
160 | 164 |
161 #endif // WEBRTC_CALL_H_ | 165 #endif // WEBRTC_CALL_H_ |
OLD | NEW |