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

Unified Diff: webrtc/examples/objc/AppRTCMobile/ARDSettingsStore.m

Issue 2778163005: Use new RTCCameraVideoCapturer in AppRTCMobile. (Closed)
Patch Set: Remove localCapturer property from ARDVideoCallViewController. Created 3 years, 8 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/ARDSettingsStore.m
diff --git a/webrtc/examples/objc/AppRTCMobile/ARDSettingsStore.m b/webrtc/examples/objc/AppRTCMobile/ARDSettingsStore.m
index 6d9fa5bb26a2274bfaa4569b18a02a582760c44a..e25b28860c05204ee1aa0f7cc626a641515e4c5a 100644
--- a/webrtc/examples/objc/AppRTCMobile/ARDSettingsStore.m
+++ b/webrtc/examples/objc/AppRTCMobile/ARDSettingsStore.m
@@ -10,7 +10,7 @@
#import "ARDSettingsStore.h"
-static NSString *const kMediaConstraintsKey = @"rtc_video_resolution_media_constraints_key";
+static NSString *const kVideoResolutionKey = @"rtc_video_resolution_key";
static NSString *const kVideoCodecKey = @"rtc_video_codec_key";
static NSString *const kBitrateKey = @"rtc_max_bitrate_key";
@@ -30,12 +30,12 @@ NS_ASSUME_NONNULL_BEGIN
return _storage;
}
-- (nullable NSString *)videoResolutionConstraints {
- return [self.storage objectForKey:kMediaConstraintsKey];
+- (NSString *)videoResolution {
+ return [self.storage objectForKey:kVideoResolutionKey];
}
-- (void)setVideoResolutionConstraints:(NSString *)constraintsString {
- [self.storage setObject:constraintsString forKey:kMediaConstraintsKey];
+- (void)setVideoResolution:(NSString *)resolution {
+ [self.storage setObject:resolution forKey:kVideoResolutionKey];
[self.storage synchronize];
}

Powered by Google App Engine
This is Rietveld 408576698