| commit | e448a3fb54eec298d9113b2bd85e71e2fe69bb77 | [log] [tgz] |
|---|---|---|
| author | Marina Ciocea <marinaciocea@webrtc.org> | Mon Mar 04 15:52:21 2019 +0100 |
| committer | Commit Bot <commit-bot@chromium.org> | Mon Mar 11 13:21:36 2019 +0000 |
| tree | e0ff3c30cdc67cdfa277a49c07e9b1cc52d8eb56 | |
| parent | ad89528051f9478cf8738c0dfd264d4a716b4698 [diff] |
Update DataChannel bufferedamount implementation. Call DataChannelObserver::OnBufferedAmountChange on each successful send. Previously, the observer would get notified of buffered amount changes only when queued send data is consumed. Data gets queued only if it cannot be sent right away. According to the WebRTC standard[1], bufferedamount should be increased before each sent and decreased after each successful sent. Update implementation to be standard compliant. Design doc: http://doc/1lorHBn-GMn5U0T0RQANxrsW0pXhw8XGZM-xZyVUOW90 [1] https://w3c.github.io/webrtc-pc/#dom-datachannel-bufferedamount Bug: chromium:878682 Change-Id: Ife009d30c4a18dced9a54cf600a445bb1f02561d Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/123237 Commit-Queue: Marina Ciocea <marinaciocea@webrtc.org> Reviewed-by: Harald Alvestrand <hta@webrtc.org> Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Reviewed-by: Henrik Boström <hbos@webrtc.org> Cr-Commit-Position: refs/heads/master@{#27057}
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.