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

Unified Diff: webrtc/api/objc/RTCRtpParameters+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/RTCRtpParameters+Private.h
diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/api/objc/RTCRtpParameters+Private.h
similarity index 55%
copy from webrtc/base/objc/RTCSSLAdapter.h
copy to webrtc/api/objc/RTCRtpParameters+Private.h
index 34db8432c2ffe56640520b7a6f8d902d60ade3df..3c441fedbd3921d57bb73a5bc99fad20c205de1f 100644
--- a/webrtc/base/objc/RTCSSLAdapter.h
+++ b/webrtc/api/objc/RTCRtpParameters+Private.h
@@ -9,12 +9,19 @@
*/
#import <Foundation/Foundation.h>
+#import "webrtc/api/objc/RTCRtpParameters.h"
-#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 RTCRtpParameters ()
+
+@property(nonatomic, readonly) webrtc::RtpParameters nativeParameters;
+
+- (instancetype)initWithNativeParameters:
+ (const webrtc::RtpParameters&)nativeParameters NS_DESIGNATED_INITIALIZER;
+
+@end
+
+NS_ASSUME_NONNULL_END

Powered by Google App Engine
This is Rietveld 408576698