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

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

Issue 1854393002: Objective C API to read and set RtpParameters (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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
Index: webrtc/api/objc/RTCRtpEncodingParameters+Private.h
diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/api/objc/RTCRtpEncodingParameters+Private.h
similarity index 52%
copy from webrtc/base/objc/RTCSSLAdapter.h
copy to webrtc/api/objc/RTCRtpEncodingParameters+Private.h
index 34db8432c2ffe56640520b7a6f8d902d60ade3df..499f2a1b7e6e2c09d451d3b107cdb9ae1b5e65a6 100644
--- a/webrtc/base/objc/RTCSSLAdapter.h
+++ b/webrtc/api/objc/RTCRtpEncodingParameters+Private.h
@@ -9,12 +9,20 @@
*/
#import <Foundation/Foundation.h>
+#import "webrtc/api/objc/RTCRtpEncodingParameters.h"
tkchin_webrtc 2016/04/05 18:48:15 nit: blank line after system imports
skvlad 2016/04/05 23:21:27 Done.
-#import "webrtc/base/objc/RTCMacros.h"
+#include "webrtc/api/rtpparameters.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 RTCRtpEncodingParameters ()
+
+@property(nonatomic, readonly) webrtc::RtpEncodingParameters nativeParameters;
+
+- (instancetype)initWithNativeParameters:
+ (const webrtc::RtpEncodingParameters&)nativeParameters
+ NS_DESIGNATED_INITIALIZER;
+
+@end
+
+NS_ASSUME_NONNULL_END

Powered by Google App Engine
This is Rietveld 408576698