Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(19)

Unified Diff: webrtc/api/objc/RTCRtpEncodingParameters.h

Issue 1854393002: Objective C API to read and set RtpParameters (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: CR feedback Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/objc/RTCPeerConnection.mm ('k') | webrtc/api/objc/RTCRtpEncodingParameters.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webrtc/api/objc/RTCPeerConnection.mm ('k') | webrtc/api/objc/RTCRtpEncodingParameters.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698