Add stats overlay to iOS AppRTCDemo.

BUG=
R=jiayl@webrtc.org

Review URL: https://codereview.webrtc.org/1289623005 .

Cr-Commit-Position: refs/heads/master@{#9714}
This commit is contained in:
Zeke Chin
2015-08-14 11:00:02 -07:00
parent 60d9b332a5
commit d33258098b
16 changed files with 674 additions and 7 deletions

View File

@ -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