Index: talk/app/webrtc/objc/public/RTCPeerConnectionInterface.h |
diff --git a/talk/app/webrtc/objc/public/RTCPeerConnectionInterface.h b/talk/app/webrtc/objc/public/RTCPeerConnectionInterface.h |
index 44b971c85e5e725ec2ea3abdb97b0c9bdbc95946..1bab99ab37b200fe49f3d839485184cf9c28ba1d 100644 |
--- a/talk/app/webrtc/objc/public/RTCPeerConnectionInterface.h |
+++ b/talk/app/webrtc/objc/public/RTCPeerConnectionInterface.h |
@@ -54,6 +54,11 @@ typedef NS_ENUM(NSInteger, RTCTcpCandidatePolicy) { |
kRTCTcpCandidatePolicyDisabled, |
}; |
+typedef NS_ENUM(NSInteger, RTCEncryptionKeyType) { |
+ kRTCEncryptionKeyTypeRSA, |
+ kRTCEncryptionKeyTypeECDSA, |
+}; |
+ |
// Configuration object used for creating a peer connection. |
@interface RTCConfiguration : NSObject |
@@ -65,6 +70,7 @@ typedef NS_ENUM(NSInteger, RTCTcpCandidatePolicy) { |
@property(nonatomic, assign) int audioJitterBufferMaxPackets; |
@property(nonatomic, assign) int iceConnectionReceivingTimeout; |
@property(nonatomic, assign) int iceBackupCandidatePairPingInterval; |
+@property(nonatomic, assign) RTCEncryptionKeyType keyType; |
- (instancetype)initWithIceTransportsType:(RTCIceTransportsType)iceTransportsType |
bundlePolicy:(RTCBundlePolicy)bundlePolicy |