Chromium Code Reviews| Index: webrtc/api/objc/RTCRtpParameters.h |
| diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/api/objc/RTCRtpParameters.h |
| similarity index 63% |
| copy from webrtc/base/objc/RTCSSLAdapter.h |
| copy to webrtc/api/objc/RTCRtpParameters.h |
| index 34db8432c2ffe56640520b7a6f8d902d60ade3df..d86344e8e41b3a411d52b96e8fcf8b160268baf5 100644 |
| --- a/webrtc/base/objc/RTCSSLAdapter.h |
| +++ b/webrtc/api/objc/RTCRtpParameters.h |
| @@ -9,12 +9,16 @@ |
| */ |
| #import <Foundation/Foundation.h> |
| +#import "webrtc/api/objc/RTCRtpEncodingParameters.h" |
|
tkchin_webrtc
2016/04/05 18:48:15
ditto blank line
skvlad
2016/04/05 23:21:28
Done.
|
| -#import "webrtc/base/objc/RTCMacros.h" |
| +NS_ASSUME_NONNULL_BEGIN |
| -/** |
| - * 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(); |
| +@interface RTCRtpParameters : NSObject |
| + |
| +@property(nonatomic, copy) NSArray<RTCRtpEncodingParameters*>* encodings; |
|
tkchin_webrtc
2016/04/05 18:48:15
rs *> *encodings;
skvlad
2016/04/05 23:21:28
Done.
|
| + |
| +- (instancetype)init NS_UNAVAILABLE; |
|
tkchin_webrtc
2016/04/05 18:48:15
this is non-init-able yet the encodings is a setta
skvlad
2016/04/05 23:21:28
I don't think there is any harm in allowing the ap
|
| + |
| +@end |
| + |
| +NS_ASSUME_NONNULL_END |