Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1302)

Unified Diff: talk/app/webrtc/objc/RTCDataChannel.mm

Issue 1207613006: Support for onbufferedamountlow (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/trunk/talk.git@master
Patch Set: Add Objective C bindings Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: talk/app/webrtc/objc/RTCDataChannel.mm
diff --git a/talk/app/webrtc/objc/RTCDataChannel.mm b/talk/app/webrtc/objc/RTCDataChannel.mm
index 4fb03c284ebbb7e2e1ca8427bfabfee882cfc54f..b0ceb464530b12e40891a690e45358e1165c07f1 100644
--- a/talk/app/webrtc/objc/RTCDataChannel.mm
+++ b/talk/app/webrtc/objc/RTCDataChannel.mm
@@ -43,6 +43,11 @@ class RTCDataChannelObserver : public DataChannelObserver {
[_channel.delegate channelDidChangeState:_channel];
}
+ void OnBufferedAmountChange(uint64 previous_amount) override {
tkchin_webrtc 2015/06/29 22:18:30 For .mm files naming style isn't exactly fixed, bu
bemasc2 2015/06/29 22:53:17 Done.
+ [_channel.delegate channelDidChangeBufferedAmount:_channel
+ previousAmount:previous_amount];
+ }
+
void OnMessage(const DataBuffer& buffer) override {
if (!_channel.delegate) {
return;

Powered by Google App Engine
This is Rietveld 408576698