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/RTCAudioSession.h" |
| 16 #import "WebRTC/RTCAudioSessionConfiguration.h" |
15 #import "WebRTC/RTCDispatcher.h" | 17 #import "WebRTC/RTCDispatcher.h" |
16 #import "WebRTC/RTCLogging.h" | 18 #import "WebRTC/RTCLogging.h" |
17 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSession.h" | 19 |
18 #import "webrtc/modules/audio_device/ios/objc/RTCAudioSessionConfiguration.h" | |
19 | 20 |
20 #import "ARDAppClient.h" | 21 #import "ARDAppClient.h" |
21 #import "ARDMainView.h" | 22 #import "ARDMainView.h" |
22 #import "ARDSettingsModel.h" | 23 #import "ARDSettingsModel.h" |
23 #import "ARDSettingsViewController.h" | 24 #import "ARDSettingsViewController.h" |
24 #import "ARDVideoCallViewController.h" | 25 #import "ARDVideoCallViewController.h" |
25 | 26 |
26 static NSString *const barButtonImageString = @"ic_settings_black_24dp.png"; | 27 static NSString *const barButtonImageString = @"ic_settings_black_24dp.png"; |
27 | 28 |
28 // Launch argument to be passed to indicate that the app should start loopback i
mmediatly | 29 // Launch argument to be passed to indicate that the app should start loopback i
mmediatly |
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
263 UIAlertAction *defaultAction = [UIAlertAction actionWithTitle:@"OK" | 264 UIAlertAction *defaultAction = [UIAlertAction actionWithTitle:@"OK" |
264 style:UIAlertActionSty
leDefault | 265 style:UIAlertActionSty
leDefault |
265 handler:^(UIAlertAction
*action){ | 266 handler:^(UIAlertAction
*action){ |
266 }]; | 267 }]; |
267 | 268 |
268 [alert addAction:defaultAction]; | 269 [alert addAction:defaultAction]; |
269 [self presentViewController:alert animated:YES completion:nil]; | 270 [self presentViewController:alert animated:YES completion:nil]; |
270 } | 271 } |
271 | 272 |
272 @end | 273 @end |
OLD | NEW |