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/base/objc/RTCDispatcher.h" | |
14 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSession.h" | 13 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSession.h" |
15 | 14 |
16 #import "webrtc/api/objc/RTCAVFoundationVideoSource.h" | 15 #import "WebRTC/RTCAVFoundationVideoSource.h" |
17 #import "webrtc/base/objc/RTCLogging.h" | 16 #import "WebRTC/RTCDispatcher.h" |
| 17 #import "WebRTC/RTCLogging.h" |
18 | 18 |
19 #import "ARDAppClient.h" | 19 #import "ARDAppClient.h" |
20 #import "ARDVideoCallView.h" | 20 #import "ARDVideoCallView.h" |
21 | 21 |
22 @interface ARDVideoCallViewController () <ARDAppClientDelegate, | 22 @interface ARDVideoCallViewController () <ARDAppClientDelegate, |
23 ARDVideoCallViewDelegate> | 23 ARDVideoCallViewDelegate> |
24 @property(nonatomic, strong) RTCVideoTrack *localVideoTrack; | 24 @property(nonatomic, strong) RTCVideoTrack *localVideoTrack; |
25 @property(nonatomic, strong) RTCVideoTrack *remoteVideoTrack; | 25 @property(nonatomic, strong) RTCVideoTrack *remoteVideoTrack; |
26 @property(nonatomic, readonly) ARDVideoCallView *videoCallView; | 26 @property(nonatomic, readonly) ARDVideoCallView *videoCallView; |
27 @end | 27 @end |
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 - (void)showAlertWithMessage:(NSString*)message { | 209 - (void)showAlertWithMessage:(NSString*)message { |
210 UIAlertView* alertView = [[UIAlertView alloc] initWithTitle:nil | 210 UIAlertView* alertView = [[UIAlertView alloc] initWithTitle:nil |
211 message:message | 211 message:message |
212 delegate:nil | 212 delegate:nil |
213 cancelButtonTitle:@"OK" | 213 cancelButtonTitle:@"OK" |
214 otherButtonTitles:nil]; | 214 otherButtonTitles:nil]; |
215 [alertView show]; | 215 [alertView show]; |
216 } | 216 } |
217 | 217 |
218 @end | 218 @end |
OLD | NEW |