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

Unified 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, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/examples/objc/AppRTCMobile/ios/ARDMainViewController.m » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/examples/objc/AppRTCMobile/ios/ARDMainView.m
diff --git a/webrtc/examples/objc/AppRTCMobile/ios/ARDMainView.m b/webrtc/examples/objc/AppRTCMobile/ios/ARDMainView.m
index fd93250adb1513b9600b513fd27dbf0d620d8b41..0308ea0cfd97958331b6c3b07107e71e3e1164f8 100644
--- a/webrtc/examples/objc/AppRTCMobile/ios/ARDMainView.m
+++ b/webrtc/examples/objc/AppRTCMobile/ios/ARDMainView.m
@@ -304,19 +304,13 @@ static CGFloat const kCallControlMargin = 8;
}
- (void)onStartCall:(id)sender {
- NSString *room = _roomText.roomText;
- // If this is a loopback call, allow a generated room name.
- if (!room.length && _loopbackSwitch.isOn) {
- room = [[NSUUID UUID] UUIDString];
- }
- room = [room stringByReplacingOccurrencesOfString:@"-" withString:@""];
[_delegate mainView:self
- didInputRoom:room
- isLoopback:_loopbackSwitch.isOn
- isAudioOnly:_audioOnlySwitch.isOn
- shouldMakeAecDump:_aecdumpSwitch.isOn
- shouldUseLevelControl:_levelControlSwitch.isOn
- useManualAudio:_useManualAudioSwitch.isOn];
+ didInputRoom:_roomText.roomText
+ isLoopback:_loopbackSwitch.isOn
+ isAudioOnly:_audioOnlySwitch.isOn
+ shouldMakeAecDump:_aecdumpSwitch.isOn
+ shouldUseLevelControl:_levelControlSwitch.isOn
+ useManualAudio:_useManualAudioSwitch.isOn];
}
@end
« 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