From 268862c5e418e5c05e8f10d6338dc89f14d282d1 Mon Sep 17 00:00:00 2001 From: sakal Date: Tue, 11 Apr 2017 05:36:43 -0700 Subject: [PATCH] Address denicija's comments for AppRTCMobile video codec setting. Comments in review: https://codereview.webrtc.org/2735303004/ BUG=webrtc:7316 Review-Url: https://codereview.webrtc.org/2807533004 Cr-Commit-Position: refs/heads/master@{#17650} --- webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h | 2 +- .../objc/AppRTCMobile/ios/ARDSettingsViewController.m | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h b/webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h index 1787bb2911..0f07389b15 100644 --- a/webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h +++ b/webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h @@ -53,7 +53,7 @@ NS_ASSUME_NONNULL_BEGIN - (NSArray *)availableVideoCodecs; /** - * Returns current video codec setting from store if present. + * Returns current video codec setting from store if present or default (H264) otherwise. */ - (NSString *)currentVideoCodecSettingFromStore; diff --git a/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m b/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m index 3944480b0d..09a3d6d744 100644 --- a/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m +++ b/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsViewController.m @@ -54,10 +54,6 @@ typedef NS_ENUM(int, ARDSettingsSections) { selecting:[_settingsModel currentVideoCodecSettingFromStore]]; } -- (void)viewDidAppear:(BOOL)animated { - [super viewDidAppear:animated]; -} - #pragma mark - Data source - (NSArray *)videoResolutionArray {