The pacer has a mechanism to make sure all packets are sent within some time limit. This is based on the average queue time of the packets in the pacer queue. If the pacer is paused while packets are still in the queue (for instance if the underlying transport goes down temporarily), on resume all those packets might be past the time limit and thus will all be burst out onto the network in a tight loop. This CL subtracts pause time from the queue time, effectively pausing the clock for the queue while the pacer is paused, so that when we resume the pacing bitrate will be the same as when we paused. BUG=webrtc:7694 Review-Url: https://codereview.webrtc.org/2994323002 Cr-Commit-Position: refs/heads/master@{#19367}
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.