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

Unified Diff: webrtc/api/objc/RTCRtpParameters.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.h
diff --git a/webrtc/base/objc/RTCSSLAdapter.h b/webrtc/api/objc/RTCRtpParameters.h
similarity index 63%
copy from webrtc/base/objc/RTCSSLAdapter.h
copy to webrtc/api/objc/RTCRtpParameters.h
index 34db8432c2ffe56640520b7a6f8d902d60ade3df..d86344e8e41b3a411d52b96e8fcf8b160268baf5 100644
--- a/webrtc/base/objc/RTCSSLAdapter.h
+++ b/webrtc/api/objc/RTCRtpParameters.h
@@ -9,12 +9,16 @@
*/
#import <Foundation/Foundation.h>
+#import "webrtc/api/objc/RTCRtpEncodingParameters.h"
tkchin_webrtc 2016/04/05 18:48:15 ditto blank line
skvlad 2016/04/05 23:21:28 Done.
-#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 RTCRtpParameters : NSObject
+
+@property(nonatomic, copy) NSArray<RTCRtpEncodingParameters*>* encodings;
tkchin_webrtc 2016/04/05 18:48:15 rs *> *encodings;
skvlad 2016/04/05 23:21:28 Done.
+
+- (instancetype)init NS_UNAVAILABLE;
tkchin_webrtc 2016/04/05 18:48:15 this is non-init-able yet the encodings is a setta
skvlad 2016/04/05 23:21:28 I don't think there is any harm in allowing the ap
+
+@end
+
+NS_ASSUME_NONNULL_END

Powered by Google App Engine
This is Rietveld 408576698