Index: talk/app/webrtc/objc/public/RTCDataChannel.h |
diff --git a/talk/app/webrtc/objc/public/RTCDataChannel.h b/talk/app/webrtc/objc/public/RTCDataChannel.h |
index 7c225802455a2b841618063cfbf8086ab5f1eab5..24a46f655c8bc9836ab693ad95ab612d30c754bb 100644 |
--- a/talk/app/webrtc/objc/public/RTCDataChannel.h |
+++ b/talk/app/webrtc/objc/public/RTCDataChannel.h |
@@ -82,6 +82,12 @@ typedef enum { |
- (void)channel:(RTCDataChannel*)channel |
didReceiveMessageWithBuffer:(RTCDataBuffer*)buffer; |
+@optional |
+ |
+// Called when the buffered amount has changed. |
+- (void)channel:(RTCDataChannel*)channel |
+ didChangeBufferedAmount:(NSUInteger)amount; |
+ |
@end |
// ObjectiveC wrapper for a DataChannel object. |