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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 UIButton *_startCallButton; | 130 UIButton *_startCallButton; |
131 UIButton *_audioLoopButton; | 131 UIButton *_audioLoopButton; |
132 } | 132 } |
133 | 133 |
134 @synthesize delegate = _delegate; | 134 @synthesize delegate = _delegate; |
135 @synthesize isAudioLoopPlaying = _isAudioLoopPlaying; | 135 @synthesize isAudioLoopPlaying = _isAudioLoopPlaying; |
136 | 136 |
137 - (instancetype)initWithFrame:(CGRect)frame { | 137 - (instancetype)initWithFrame:(CGRect)frame { |
138 if (self = [super initWithFrame:frame]) { | 138 if (self = [super initWithFrame:frame]) { |
139 _appLabel = [[UILabel alloc] initWithFrame:CGRectZero]; | 139 _appLabel = [[UILabel alloc] initWithFrame:CGRectZero]; |
140 _appLabel.text = @"AppRTCDemo"; | 140 _appLabel.text = @"AppRTCMobile"; |
141 _appLabel.font = [UIFont fontWithName:@"Roboto" size:34]; | 141 _appLabel.font = [UIFont fontWithName:@"Roboto" size:34]; |
142 _appLabel.textColor = [UIColor colorWithWhite:0 alpha:.2]; | 142 _appLabel.textColor = [UIColor colorWithWhite:0 alpha:.2]; |
143 [_appLabel sizeToFit]; | 143 [_appLabel sizeToFit]; |
144 [self addSubview:_appLabel]; | 144 [self addSubview:_appLabel]; |
145 | 145 |
146 _roomText = [[ARDRoomTextField alloc] initWithFrame:CGRectZero]; | 146 _roomText = [[ARDRoomTextField alloc] initWithFrame:CGRectZero]; |
147 [self addSubview:_roomText]; | 147 [self addSubview:_roomText]; |
148 | 148 |
149 UIFont *controlFont = [UIFont fontWithName:@"Roboto" size:20]; | 149 UIFont *controlFont = [UIFont fontWithName:@"Roboto" size:20]; |
150 UIColor *controlFontColor = [UIColor colorWithWhite:0 alpha:.6]; | 150 UIColor *controlFontColor = [UIColor colorWithWhite:0 alpha:.6]; |
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 [_delegate mainView:self | 383 [_delegate mainView:self |
384 didInputRoom:room | 384 didInputRoom:room |
385 isLoopback:_loopbackSwitch.isOn | 385 isLoopback:_loopbackSwitch.isOn |
386 isAudioOnly:_audioOnlySwitch.isOn | 386 isAudioOnly:_audioOnlySwitch.isOn |
387 shouldMakeAecDump:_aecdumpSwitch.isOn | 387 shouldMakeAecDump:_aecdumpSwitch.isOn |
388 shouldUseLevelControl:_levelControlSwitch.isOn | 388 shouldUseLevelControl:_levelControlSwitch.isOn |
389 useManualAudio:_useManualAudioSwitch.isOn]; | 389 useManualAudio:_useManualAudioSwitch.isOn]; |
390 } | 390 } |
391 | 391 |
392 @end | 392 @end |
OLD | NEW |