| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2015 The WebRTC Project Authors. All rights reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 static CGFloat const kStatusBarHeight = 20; | 24 static CGFloat const kStatusBarHeight = 20; |
| 25 | 25 |
| 26 @interface ARDVideoCallView () <RTCEAGLVideoViewDelegate> | 26 @interface ARDVideoCallView () <RTCEAGLVideoViewDelegate> |
| 27 @end | 27 @end |
| 28 | 28 |
| 29 @implementation ARDVideoCallView { | 29 @implementation ARDVideoCallView { |
| 30 UIButton *_routeChangeButton; | 30 UIButton *_routeChangeButton; |
| 31 UIButton *_cameraSwitchButton; | 31 UIButton *_cameraSwitchButton; |
| 32 UIButton *_hangupButton; | 32 UIButton *_hangupButton; |
| 33 CGSize _remoteVideoSize; | 33 CGSize _remoteVideoSize; |
| 34 BOOL _useRearCamera; | |
| 35 } | 34 } |
| 36 | 35 |
| 37 @synthesize statusLabel = _statusLabel; | 36 @synthesize statusLabel = _statusLabel; |
| 38 @synthesize localVideoView = _localVideoView; | 37 @synthesize localVideoView = _localVideoView; |
| 39 @synthesize remoteVideoView = _remoteVideoView; | 38 @synthesize remoteVideoView = _remoteVideoView; |
| 40 @synthesize statsView = _statsView; | 39 @synthesize statsView = _statsView; |
| 41 @synthesize delegate = _delegate; | 40 @synthesize delegate = _delegate; |
| 42 | 41 |
| 43 - (instancetype)initWithFrame:(CGRect)frame { | 42 - (instancetype)initWithFrame:(CGRect)frame { |
| 44 if (self = [super initWithFrame:frame]) { | 43 if (self = [super initWithFrame:frame]) { |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 | 194 |
| 196 - (void)onHangup:(id)sender { | 195 - (void)onHangup:(id)sender { |
| 197 [_delegate videoCallViewDidHangup:self]; | 196 [_delegate videoCallViewDidHangup:self]; |
| 198 } | 197 } |
| 199 | 198 |
| 200 - (void)didTripleTap:(UITapGestureRecognizer *)recognizer { | 199 - (void)didTripleTap:(UITapGestureRecognizer *)recognizer { |
| 201 [_delegate videoCallViewDidEnableStats:self]; | 200 [_delegate videoCallViewDidEnableStats:self]; |
| 202 } | 201 } |
| 203 | 202 |
| 204 @end | 203 @end |
| OLD | NEW |