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

Unified Diff: webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallView.h

Issue 1289623005: Add stats overlay to iOS AppRTCDemo. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: CR comments Created 5 years, 4 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: webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallView.h
diff --git a/webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallView.h b/webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallView.h
index 320892590ba429a215e7bc4a64b78961d7c8efbf..209bcd462c739aa5378fda3628262e050130b783 100644
--- a/webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallView.h
+++ b/webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallView.h
@@ -12,6 +12,8 @@
#import "RTCEAGLVideoView.h"
+#import "ARDStatsView.h"
+
@class ARDVideoCallView;
@protocol ARDVideoCallViewDelegate <NSObject>
@@ -21,6 +23,9 @@
// Called when the hangup button is pressed.
- (void)videoCallViewDidHangup:(ARDVideoCallView *)view;
+// Called when stats are enabled by triple tapping.
+- (void)videoCallViewDidEnableStats:(ARDVideoCallView *)view;
+
@end
// Video call view that shows local and remote video, provides a label to
@@ -30,6 +35,7 @@
@property(nonatomic, readonly) UILabel *statusLabel;
@property(nonatomic, readonly) RTCEAGLVideoView *localVideoView;
@property(nonatomic, readonly) RTCEAGLVideoView *remoteVideoView;
+@property(nonatomic, readonly) ARDStatsView *statsView;
@property(nonatomic, weak) id<ARDVideoCallViewDelegate> delegate;
@end
« no previous file with comments | « webrtc/examples/objc/AppRTCDemo/ios/ARDStatsView.m ('k') | webrtc/examples/objc/AppRTCDemo/ios/ARDVideoCallView.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698