 Chromium Code Reviews
 Chromium Code Reviews Issue 1803063004:
  Reset the BWE when the network changes  (Closed) 
  Base URL: https://chromium.googlesource.com/external/webrtc@master
    
  
    Issue 1803063004:
  Reset the BWE when the network changes  (Closed) 
  Base URL: https://chromium.googlesource.com/external/webrtc@master| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 virtual void SignalNetworkState(NetworkState state) = 0; | 
| 137 | 137 | 
| 138 virtual void OnNetworkChanged(int local_net_id, int remote_net_id) = 0; | |
| 
pthatcher1
2016/03/16 21:22:03
To save ourselves trouble later when we want to ad
 
honghaiz3
2016/03/17 03:38:26
I now just pass the Connection (CandidatePair), wh
 | |
| 139 | |
| 138 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; | 140 virtual void OnSentPacket(const rtc::SentPacket& sent_packet) = 0; | 
| 139 | 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 |