commit | 478cb46435d03b19ab2dcf15c243f6911542d655 | [log] [tgz] |
---|---|---|
author | Erik Språng <sprang@webrtc.org> | Wed Jun 26 15:49:27 2019 +0200 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 27 13:39:05 2019 +0000 |
tree | 851c0eb7f46a68318934ba06b49ad9742953186d | |
parent | c2f56862a607c75ae35e36410aaf3df5d1befca7 [diff] |
Add GeneratePadding method to replace TimeToSendPadding Unlike TimeToSendPadding(), the new GeneratePadding() method will generate RTP packets and put them in the pacer queue, which will be responsible for actually sending them. A slight difference from previous logic is that we do not use a lower bound of 50bytes for getting payload packets, instead we always try and then abort if the next padding packet is larger than the current available budget. Since we're not sending the packets immediately, we don't need to worry about twcc sequence numbering or updating the stats, that will be handled by the general SendPacket() codepath. We can also omit the PacingInfo struct and the return value of bytes sent, as that will be handled when taking the packets out of the queue. Bug: webrtc:10633 Change-Id: I066c292805a0bf76c59f68e66c21ea23fdb56c03 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/143794 Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Reviewed-by: Sebastian Jansson <srte@webrtc.org> Commit-Queue: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#28403}
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.
See http://www.webrtc.org/native-code/development for instructions on how to get started developing with the native code.
Authoritative list of directories that contain the native API header files.