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

Unified Diff: webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m

Issue 2770113004: Pass settings model to ARDAppClient instead of individual settings. (Closed)
Patch Set: Undo change 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
Index: webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m
diff --git a/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m b/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m
index bcf26b258e745076693a60778653b98b5cc83dbf..ab95aaa7f39c3118f9bb325eb1003b56a8cf009c 100644
--- a/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m
+++ b/webrtc/examples/objc/AppRTCMobile/mac/APPRTCViewController.m
@@ -369,9 +369,9 @@ static NSUInteger const kBottomViewHeight = 200;
}
[_client disconnect];
- ARDAppClient *client = [[ARDAppClient alloc] initWithDelegate:self
- preferVideoCodec:@"H264"];
+ ARDAppClient* client = [[ARDAppClient alloc] initWithDelegate:self];
[client connectToRoomWithId:roomId
+ usingSettings:[[ARDSettingsModel alloc] init]
isLoopback:isLoopback
isAudioOnly:NO
shouldMakeAecDump:NO

Powered by Google App Engine
This is Rietveld 408576698