https://codereview.webrtc.org/2504023002 broke exponential probing. After that change ProbeController stops exponential probes prematurely: it goes to kProbingComplete state if SetEstimatedBitrate() is called with bitrate lower than min_bitrate_to_probe_further_bps_, which always happens with the first pair of probes. As result it wasn't sending repeated probes as it should. This change fixes that issue by moving probe expieration logic to ProbeContoller::Process(). This also ensures that the controller goes to kProbingComplete state as soon as probing timeout expired, without waiting for the next SetEstimatedBitrate() call. BUG=669421 Review-Url: https://codereview.webrtc.org/2546613003 Cr-Commit-Position: refs/heads/master@{#15392}
Name: WebRTC URL: http://www.webrtc.org Version: 90 License: BSD License File: LICENSE Description: WebRTC provides real time voice and video processing functionality to enable the implementation of PeerConnection/MediaStream. Third party code used in this project is described in the file LICENSE_THIRD_PARTY.