| 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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 | 130 |
| 131 // TODO(pbos): Like BitrateConfig above this is currently per-stream instead | 131 // TODO(pbos): Like BitrateConfig above this is currently per-stream instead |
| 132 // of maximum for entire Call. This should be fixed along with the above. | 132 // of maximum for entire Call. This should be fixed along with the above. |
| 133 // Specifying a start bitrate (>0) will currently reset the current bitrate | 133 // Specifying a start bitrate (>0) will currently reset the current bitrate |
| 134 // estimate. This is due to how the 'x-google-start-bitrate' flag is currently | 134 // estimate. This is due to how the 'x-google-start-bitrate' flag is currently |
| 135 // implemented. | 135 // implemented. |
| 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 void OnSentPacket(const SentPacket& packet_sent) = 0; |
| 141 |
| 140 virtual ~Call() {} | 142 virtual ~Call() {} |
| 141 }; | 143 }; |
| 142 | 144 |
| 143 } // namespace webrtc | 145 } // namespace webrtc |
| 144 | 146 |
| 145 #endif // WEBRTC_CALL_H_ | 147 #endif // WEBRTC_CALL_H_ |
| OLD | NEW |