commit | f39f7d931c11045fe0ba842e4eba9b816f0288ca | [log] [tgz] |
---|---|---|
author | terelius <terelius@webrtc.org> | Wed Jul 20 10:36:19 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 20 10:36:28 2016 |
tree | 322b4f9e54ba6d2e0ce1ae1c8cf5f1642b4b12e3 | |
parent | 63dcecd5c15a872b5a488e1dd3e935c5eb91ee41 [diff] |
Always take retransmissions into account when deciding pacing order Retransmissions are supposed to be sent before normal packets by the pacer, but the current implementation will only use it if the second packet is a retransmission and the first packet is not. It misses the case where the first packet is retransmission and the second packet is not. This CL fixes the comparator and adds a unit test. Also changed the SendAndExpectPacket function to propagate the retransmission flag to the expectations. Previously, all packets were expected to be normal packets. BUG=webrtc:6124 Review-Url: https://codereview.webrtc.org/2156063004 Cr-Commit-Position: refs/heads/master@{#13502}
WebRTC is a free, open software project that provides browsers and mobile applications with Real-Time Communications (RTC) capabilities via simple APIs. The WebRTC components have been optimized to best serve this purpose.
Our mission: To enable rich, high-quality RTC applications to be developed for the browser, mobile platforms, and IoT devices, and allow them all to communicate via a common set of protocols.
The WebRTC initiative is a project supported by Google, Mozilla and Opera, amongst others. This page is maintained by the Google Chrome team.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.