Index: webrtc/api/objc/RTCRtpParameters.h |
diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/api/objc/RTCRtpParameters.h |
similarity index 56% |
copy from webrtc/base/objc/RTCSSLAdapter.h |
copy to webrtc/api/objc/RTCRtpParameters.h |
index 34db8432c2ffe56640520b7a6f8d902d60ade3df..d38e9ef64749b01bbbbdf522fd9b645cb67c051a 100644 |
--- a/webrtc/base/objc/RTCSSLAdapter.h |
+++ b/webrtc/api/objc/RTCRtpParameters.h |
@@ -10,11 +10,17 @@ |
#import <Foundation/Foundation.h> |
-#import "webrtc/base/objc/RTCMacros.h" |
+#import "webrtc/api/objc/RTCRtpEncodingParameters.h" |
-/** |
- * Initialize and clean up the SSL library. Failure is fatal. These call the |
- * corresponding functions in webrtc/base/ssladapter.h. |
- */ |
-RTC_EXPORT BOOL RTCInitializeSSL(); |
-RTC_EXPORT BOOL RTCCleanupSSL(); |
+NS_ASSUME_NONNULL_BEGIN |
+ |
+@interface RTCRtpParameters : NSObject |
+ |
+/** The currently active encodings in the order of preference. */ |
+@property(nonatomic, copy) NSArray<RTCRtpEncodingParameters *> *encodings; |
+ |
+- (instancetype)init NS_DESIGNATED_INITIALIZER; |
+ |
+@end |
+ |
+NS_ASSUME_NONNULL_END |