commit | 0edd50ccb34cc2dc4746137fdce1f5cf66808274 | [log] [tgz] |
---|---|---|
author | bemasc <bemasc@webrtc.org> | Wed Jul 01 13:34:33 2015 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jul 01 20:34:42 2015 +0000 |
tree | 8d447d460008a77347cae81143482591f0776459 | |
parent | 545727ecce444320328b825d65b287e844dca7cb [diff] [blame] |
Support for onbufferedamountlow Original review at https://webrtc-codereview.appspot.com/54679004/ BUG=https://code.google.com/p/chromium/issues/detail?id=496700 Review URL: https://codereview.webrtc.org/1207613006 Cr-Commit-Position: refs/heads/master@{#9527}
diff --git a/talk/app/webrtc/datachannelinterface.h b/talk/app/webrtc/datachannelinterface.h index 6312262..90573eb 100644 --- a/talk/app/webrtc/datachannelinterface.h +++ b/talk/app/webrtc/datachannelinterface.h
@@ -91,6 +91,8 @@ virtual void OnStateChange() = 0; // A data buffer was successfully received. virtual void OnMessage(const DataBuffer& buffer) = 0; + // The data channel's buffered_amount has changed. + virtual void OnBufferedAmountChange(uint64 previous_amount){}; protected: virtual ~DataChannelObserver() {}