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 "ARDMainViewController.h" | 11 #import "ARDMainViewController.h" |
12 | 12 |
13 #import <AVFoundation/AVFoundation.h> | 13 #import <AVFoundation/AVFoundation.h> |
14 | 14 |
15 #import "webrtc/base/objc/RTCDispatcher.h" | 15 #import "WebRTC/RTCDispatcher.h" |
16 #import "webrtc/base/objc/RTCLogging.h" | 16 #import "WebRTC/RTCLogging.h" |
17 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSession.h" | 17 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSession.h" |
18 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h" | 18 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h" |
19 | 19 |
20 #import "ARDAppClient.h" | 20 #import "ARDAppClient.h" |
21 #import "ARDMainView.h" | 21 #import "ARDMainView.h" |
22 #import "ARDVideoCallViewController.h" | 22 #import "ARDVideoCallViewController.h" |
23 | 23 |
24 @interface ARDMainViewController () < | 24 @interface ARDMainViewController () < |
25 ARDMainViewDelegate, | 25 ARDMainViewDelegate, |
26 RTCAudioSessionDelegate> | 26 RTCAudioSessionDelegate> |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 - (void)showAlertWithMessage:(NSString*)message { | 172 - (void)showAlertWithMessage:(NSString*)message { |
173 UIAlertView* alertView = [[UIAlertView alloc] initWithTitle:nil | 173 UIAlertView* alertView = [[UIAlertView alloc] initWithTitle:nil |
174 message:message | 174 message:message |
175 delegate:nil | 175 delegate:nil |
176 cancelButtonTitle:@"OK" | 176 cancelButtonTitle:@"OK" |
177 otherButtonTitles:nil]; | 177 otherButtonTitles:nil]; |
178 [alertView show]; | 178 [alertView show]; |
179 } | 179 } |
180 | 180 |
181 @end | 181 @end |
OLD | NEW |