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 |
11 #import "ARDVideoCallViewController.h" | 11 #import "ARDVideoCallViewController.h" |
12 | 12 |
13 #import "WebRTC/RTCAudioSession.h" | 13 #import "WebRTC/RTCAudioSession.h" |
14 | 14 |
15 #import "ARDAppClient.h" | 15 #import "ARDAppClient.h" |
16 #import "ARDCaptureController.h" | 16 #import "ARDCaptureController.h" |
17 #import "ARDSettingsModel.h" | 17 #import "ARDSettingsModel.h" |
18 #import "ARDVideoCallView.h" | 18 #import "ARDVideoCallView.h" |
19 #import "WebRTC/RTCAVFoundationVideoSource.h" | |
20 #import "WebRTC/RTCDispatcher.h" | 19 #import "WebRTC/RTCDispatcher.h" |
21 #import "WebRTC/RTCLogging.h" | 20 #import "WebRTC/RTCLogging.h" |
22 #import "WebRTC/RTCMediaConstraints.h" | 21 #import "WebRTC/RTCMediaConstraints.h" |
23 | 22 |
24 @interface ARDVideoCallViewController () <ARDAppClientDelegate, | 23 @interface ARDVideoCallViewController () <ARDAppClientDelegate, |
25 ARDVideoCallViewDelegate, | 24 ARDVideoCallViewDelegate, |
26 RTCAudioSessionDelegate> | 25 RTCAudioSessionDelegate> |
27 @property(nonatomic, strong) RTCVideoTrack *remoteVideoTrack; | 26 @property(nonatomic, strong) RTCVideoTrack *remoteVideoTrack; |
28 @property(nonatomic, readonly) ARDVideoCallView *videoCallView; | 27 @property(nonatomic, readonly) ARDVideoCallView *videoCallView; |
29 @end | 28 @end |
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 UIAlertAction *defaultAction = [UIAlertAction actionWithTitle:@"OK" | 214 UIAlertAction *defaultAction = [UIAlertAction actionWithTitle:@"OK" |
216 style:UIAlertActionSty
leDefault | 215 style:UIAlertActionSty
leDefault |
217 handler:^(UIAlertAction
*action){ | 216 handler:^(UIAlertAction
*action){ |
218 }]; | 217 }]; |
219 | 218 |
220 [alert addAction:defaultAction]; | 219 [alert addAction:defaultAction]; |
221 [self presentViewController:alert animated:YES completion:nil]; | 220 [self presentViewController:alert animated:YES completion:nil]; |
222 } | 221 } |
223 | 222 |
224 @end | 223 @end |
OLD | NEW |