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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 // pacing delay, etc. | 126 // pacing delay, etc. |
127 virtual Stats GetStats() const = 0; | 127 virtual Stats GetStats() const = 0; |
128 | 128 |
129 // TODO(pbos): Like BitrateConfig above this is currently per-stream instead | 129 // TODO(pbos): Like BitrateConfig above this is currently per-stream instead |
130 // of maximum for entire Call. This should be fixed along with the above. | 130 // of maximum for entire Call. This should be fixed along with the above. |
131 // Specifying a start bitrate (>0) will currently reset the current bitrate | 131 // Specifying a start bitrate (>0) will currently reset the current bitrate |
132 // estimate. This is due to how the 'x-google-start-bitrate' flag is currently | 132 // estimate. This is due to how the 'x-google-start-bitrate' flag is currently |
133 // implemented. | 133 // implemented. |
134 virtual void SetBitrateConfig( | 134 virtual void SetBitrateConfig( |
135 const Config::BitrateConfig& bitrate_config) = 0; | 135 const Config::BitrateConfig& bitrate_config) = 0; |
136 virtual void SignalNetworkState(NetworkState state) = 0; | 136 |
| 137 // TODO(skvlad): When the unbundled case with multiple streams for the same |
| 138 // media type going over different networks is supported, track the state |
| 139 // for each stream separately. Right now it's global per media type. |
| 140 virtual void SignalChannelNetworkState(MediaType media, |
| 141 NetworkState state) = 0; |
137 | 142 |
138 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; | 143 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; |
139 | 144 |
140 virtual ~Call() {} | 145 virtual ~Call() {} |
141 }; | 146 }; |
142 | 147 |
143 } // namespace webrtc | 148 } // namespace webrtc |
144 | 149 |
145 #endif // WEBRTC_CALL_H_ | 150 #endif // WEBRTC_CALL_H_ |
OLD | NEW |