Index: webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h |
diff --git a/webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h b/webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h |
index 0eb7b31aebbecc1726268c4ea576a97867d28af0..71049ef6fb933df2f6cab24591b5da47bcecead6 100644 |
--- a/webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h |
+++ b/webrtc/examples/objc/AppRTCMobile/ARDSettingsModel.h |
@@ -29,14 +29,16 @@ NS_ASSUME_NONNULL_BEGIN |
* The capture resolutions are represented as strings in the following format |
* [width]x[height] |
*/ |
-- (NSArray<NSString *> *)availableVideoResoultionsMediaConstraints; |
+- (NSArray<NSString *> *)availableVideoResolutions; |
/** |
* Returns current video resolution media constraint string. |
daniela-webrtc
2017/04/03 10:16:50
Remove media constraint references from documentat
sakal
2017/04/04 09:18:23
Done.
|
* If no constraint is in store, default value of 640x480 is returned. |
* When defaulting to value, the default is saved in store for consistency reasons. |
*/ |
-- (NSString *)currentVideoResoultionConstraintFromStore; |
+- (NSString *)currentVideoResolutionSettingFromStore; |
+- (int)currentVideoResolutionWidthFromStore; |
+- (int)currentVideoResolutionHeightFromStore; |
/** |
* Stores the provided video resolution media constraint string into the store. |
daniela-webrtc
2017/04/03 10:16:50
Remove media constraint references from documentat
sakal
2017/04/04 09:18:23
Done.
|
@@ -46,7 +48,7 @@ NS_ASSUME_NONNULL_BEGIN |
* @param constraint the string to be stored. |
* @return YES/NO depending on success. |
*/ |
-- (BOOL)storeVideoResoultionConstraint:(NSString *)constraint; |
+- (BOOL)storeVideoResolutionSetting:(NSString *)resolution; |
/** |
* Returns array of available video codecs. |
@@ -69,14 +71,6 @@ NS_ASSUME_NONNULL_BEGIN |
- (BOOL)storeVideoCodecSetting:(NSString *)videoCodec; |
/** |
- * Converts the current media constraints from store into dictionary with RTCMediaConstraints |
- * values. |
- * |
- * @return NSDictionary with RTC width and height parameters |
- */ |
-- (nullable NSDictionary *)currentMediaConstraintFromStoreAsRTCDictionary; |
- |
-/** |
* Returns current max bitrate setting from store if present. |
*/ |
- (nullable NSNumber *)currentMaxBitrateSettingFromStore; |