Index: webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m |
diff --git a/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel.m b/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m |
similarity index 89% |
rename from webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel.m |
rename to webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m |
index 0299301525615eb8fe52b70b864b3fba69b8e02d..61b5c506bd3bce9ace07d8db66a021ceeea97c18 100644 |
--- a/webrtc/examples/objc/AppRTCMobile/ios/ARDMediaConstraintsModel.m |
+++ b/webrtc/examples/objc/AppRTCMobile/ios/ARDSettingsModel.m |
@@ -8,8 +8,8 @@ |
* be found in the AUTHORS file in the root of the source tree. |
*/ |
-#import "ARDMediaConstraintsModel+Private.h" |
-#import "ARDMediaConstraintsSettingsStore.h" |
+#import "ARDSettingsModel+Private.h" |
+#import "ARDSettingsStore.h" |
#import "WebRTC/RTCMediaConstraints.h" |
NS_ASSUME_NONNULL_BEGIN |
@@ -17,12 +17,12 @@ static NSArray<NSString *> *videoResolutionsStaticValues() { |
return @[ @"640x480", @"960x540", @"1280x720" ]; |
} |
-@interface ARDMediaConstraintsModel () { |
- ARDMediaConstraintsSettingsStore *_settingsStore; |
+@interface ARDSettingsModel () { |
+ ARDSettingsStore *_settingsStore; |
} |
@end |
-@implementation ARDMediaConstraintsModel |
+@implementation ARDSettingsModel |
- (NSArray<NSString *> *)availableVideoResoultionsMediaConstraints { |
return videoResolutionsStaticValues(); |
@@ -48,9 +48,9 @@ static NSArray<NSString *> *videoResolutionsStaticValues() { |
#pragma mark - Testable |
-- (ARDMediaConstraintsSettingsStore *)settingsStore { |
+- (ARDSettingsStore *)settingsStore { |
if (!_settingsStore) { |
- _settingsStore = [[ARDMediaConstraintsSettingsStore alloc] init]; |
+ _settingsStore = [[ARDSettingsStore alloc] init]; |
} |
return _settingsStore; |
} |