Move setting switches in AppRTCMobile to Settings screen

All setting switches except "Loopback mode" is now in the Settings
screen instead of the main screen. They are also persisted across app
launches.

Bug: webrtc:7748
Change-Id: Iafd84e5e39639770118e2503148d1bf7fb9c3d8d
Reviewed-on: https://chromium-review.googlesource.com/527034
Commit-Queue: Magnus Jedvert <magjed@webrtc.org>
Reviewed-by: Magnus Jedvert <magjed@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#18626}
This commit is contained in:
Anders Carlsson
2017-06-15 16:05:13 +02:00
committed by Commit Bot
parent 7c303907a4
commit e150058236
16 changed files with 350 additions and 246 deletions

View File

@ -402,10 +402,7 @@ static NSUInteger const kBottomViewHeight = 200;
ARDAppClient* client = [[ARDAppClient alloc] initWithDelegate:self];
[client connectToRoomWithId:roomId
settings:[[ARDSettingsModel alloc] init] // Use default settings.
isLoopback:isLoopback
isAudioOnly:NO
shouldMakeAecDump:NO
shouldUseLevelControl:NO];
isLoopback:isLoopback];
_client = client;
}