| Index: webrtc/api/objc/RTCRtpEncodingParameters.h
|
| diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/api/objc/RTCRtpEncodingParameters.h
|
| similarity index 52%
|
| copy from webrtc/base/objc/RTCSSLAdapter.h
|
| copy to webrtc/api/objc/RTCRtpEncodingParameters.h
|
| index 34db8432c2ffe56640520b7a6f8d902d60ade3df..8f7f22e04df1d35857dc46b2631805555c4189f5 100644
|
| --- a/webrtc/base/objc/RTCSSLAdapter.h
|
| +++ b/webrtc/api/objc/RTCRtpEncodingParameters.h
|
| @@ -10,11 +10,20 @@
|
|
|
| #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.
|
| +@interface RTCRtpEncodingParameters : NSObject
|
| +
|
| +/** Controls whether the encoding is currently transmitted. */
|
| +@property(nonatomic, assign) BOOL isActive;
|
| +
|
| +/** The maximum bitrate to use for the encoding, or nil if there is no
|
| + * limit.
|
| */
|
| -RTC_EXPORT BOOL RTCInitializeSSL();
|
| -RTC_EXPORT BOOL RTCCleanupSSL();
|
| +@property(nonatomic, copy, nullable) NSNumber *maxBitrateBps;
|
| +
|
| +- (instancetype)init NS_DESIGNATED_INITIALIZER;
|
| +
|
| +@end
|
| +
|
| +NS_ASSUME_NONNULL_END
|
|
|