478cb46435d03b19ab2dcf15c243f6911542d655

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.
Development
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.
More info
- Official web site: http://www.webrtc.org
- Master source code repo: https://webrtc.googlesource.com/src
- Samples and reference apps: https://github.com/webrtc
- Mailing list: http://groups.google.com/group/discuss-webrtc
- Continuous build: http://build.chromium.org/p/client.webrtc
- Coding style guide
- Code of conduct
Description
Languages
C++
88.6%
C
3.3%
Java
3%
Objective-C++
1.9%
Python
1.9%
Other
1%