Chromium Code Reviews| Index: webrtc/api/objc/RTCRtpEncodingParameters.h |
| diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/api/objc/RTCRtpEncodingParameters.h |
| similarity index 64% |
| copy from webrtc/base/objc/RTCSSLAdapter.h |
| copy to webrtc/api/objc/RTCRtpEncodingParameters.h |
| index 34db8432c2ffe56640520b7a6f8d902d60ade3df..a37df2a8009ae1fb1027fa924eda9f0e0ac32050 100644 |
| --- a/webrtc/base/objc/RTCSSLAdapter.h |
| +++ b/webrtc/api/objc/RTCRtpEncodingParameters.h |
| @@ -10,11 +10,15 @@ |
| #import <Foundation/Foundation.h> |
| -#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 RTCRtpEncodingParameters : NSObject |
| + |
| +@property(nonatomic, copy, nullable) NSNumber* maxBitrateBps; |
|
tkchin_webrtc
2016/04/05 18:48:15
not common to use NSNumber outside of collection c
skvlad
2016/04/05 23:21:27
As discussed offline - this property contains an o
|
| +@property(nonatomic, assign) BOOL active; |
|
Taylor Brandstetter
2016/04/05 17:48:03
nit: could put "active" first, since it's first el
tkchin_webrtc
2016/04/05 18:48:15
ObjC style (at least in our codebase) is to prefix
skvlad
2016/04/05 23:21:27
Done.
skvlad
2016/04/05 23:21:27
Done.
|
| + |
| +- (instancetype)init NS_UNAVAILABLE; |
| + |
| +@end |
| + |
| +NS_ASSUME_NONNULL_END |