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