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

Unified Diff: talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m

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/objctests/RTCPeerConnectionSyncObserver.m
diff --git a/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m b/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m
index 5c7667241424806962711ed4f3aa78e70a107264..1d2a17276da753909088a7e9456635c4e3204233 100644
--- a/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m
+++ b/talk/app/webrtc/objctests/RTCPeerConnectionSyncObserver.m
@@ -230,6 +230,12 @@
NSAssert(expectedState == channel.state, @"Channel state should match");
}
+- (void)channelDidChangeBufferedAmount:(RTCDataChannel*)channel
+ previousAmount:(NSUInteger)previousAmount {
+ NSAssert([channel bufferedAmount] != previousAmount,
tkchin_webrtc 2015/06/29 22:18:30 Style: properties should be accessed using dot syn
bemasc2 2015/06/29 22:53:17 Done.
+ @"Invalid bufferedAmount change");
+}
+
- (void)channel:(RTCDataChannel*)channel
didReceiveMessageWithBuffer:(RTCDataBuffer*)buffer {
NSAssert([_expectedMessages count] > 0,

Powered by Google App Engine
This is Rietveld 408576698