Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: webrtc/examples/objc/AppRTCMobile/ios/ARDMainView.m

Issue 2777983004: iOS:Add loopback launch argument functionality in AppRTCMobile. (Closed)
Patch Set: Use static const instead of hardcoded value Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.m » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
297 forState:UIControlStateNormal]; 297 forState:UIControlStateNormal];
298 [_audioLoopButton sizeToFit]; 298 [_audioLoopButton sizeToFit];
299 } 299 }
300 } 300 }
301 301
302 - (void)onToggleAudioLoop:(id)sender { 302 - (void)onToggleAudioLoop:(id)sender {
303 [_delegate mainViewDidToggleAudioLoop:self]; 303 [_delegate mainViewDidToggleAudioLoop:self];
304 } 304 }
305 305
306 - (void)onStartCall:(id)sender { 306 - (void)onStartCall:(id)sender {
307 NSString *room = _roomText.roomText;
308 // If this is a loopback call, allow a generated room name.
309 if (!room.length && _loopbackSwitch.isOn) {
310 room = [[NSUUID UUID] UUIDString];
311 }
312 room = [room stringByReplacingOccurrencesOfString:@"-" withString:@""];
313 [_delegate mainView:self 307 [_delegate mainView:self
314 didInputRoom:room 308 didInputRoom:_roomText.roomText
315 isLoopback:_loopbackSwitch.isOn 309 isLoopback:_loopbackSwitch.isOn
316 isAudioOnly:_audioOnlySwitch.isOn 310 isAudioOnly:_audioOnlySwitch.isOn
317 shouldMakeAecDump:_aecdumpSwitch.isOn 311 shouldMakeAecDump:_aecdumpSwitch.isOn
318 shouldUseLevelControl:_levelControlSwitch.isOn 312 shouldUseLevelControl:_levelControlSwitch.isOn
319 useManualAudio:_useManualAudioSwitch.isOn]; 313 useManualAudio:_useManualAudioSwitch.isOn];
320 } 314 }
321 315
322 @end 316 @end
OLDNEW
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.m » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698