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

Side by Side Diff: webrtc/api/objc/RTCConfiguration+Private.h

Issue 1649533002: Make ECDSA default for RTCPeerConnection (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Update comment Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « webrtc/api/objc/RTCConfiguration.mm ('k') | webrtc/api/objc/RTCSessionDescription.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #import "RTCConfiguration.h" 11 #import "RTCConfiguration.h"
12 12
13 #include "talk/app/webrtc/peerconnectioninterface.h" 13 #include "talk/app/webrtc/peerconnectioninterface.h"
14 14
15 NS_ASSUME_NONNULL_BEGIN 15 NS_ASSUME_NONNULL_BEGIN
16 16
17 @interface RTCConfiguration () 17 @interface RTCConfiguration ()
18 18
19 /** 19 /**
20 * RTCConfiguration struct representation of this RTCConfiguration. This is 20 * RTCConfiguration struct representation of this RTCConfiguration. This is
21 * needed to pass to the underlying C++ APIs. 21 * needed to pass to the underlying C++ APIs.
22 */ 22 */
23 @property(nonatomic, readonly) 23 @property(nonatomic, readonly)
24 webrtc::PeerConnectionInterface::RTCConfiguration nativeConfiguration; 24 webrtc::PeerConnectionInterface::RTCConfiguration nativeConfiguration;
25 25
26 - (instancetype)initWithNativeConfiguration:
27 (webrtc::PeerConnectionInterface::RTCConfiguration)nativeConfiguration;
28
29 + (webrtc::PeerConnectionInterface::IceTransportsType) 26 + (webrtc::PeerConnectionInterface::IceTransportsType)
30 nativeTransportsTypeForTransportPolicy:(RTCIceTransportPolicy)policy; 27 nativeTransportsTypeForTransportPolicy:(RTCIceTransportPolicy)policy;
31 28
32 + (RTCIceTransportPolicy)transportPolicyForTransportsType: 29 + (RTCIceTransportPolicy)transportPolicyForTransportsType:
33 (webrtc::PeerConnectionInterface::IceTransportsType)nativeType; 30 (webrtc::PeerConnectionInterface::IceTransportsType)nativeType;
34 31
35 + (NSString *)stringForTransportPolicy:(RTCIceTransportPolicy)policy; 32 + (NSString *)stringForTransportPolicy:(RTCIceTransportPolicy)policy;
36 33
37 + (webrtc::PeerConnectionInterface::BundlePolicy)nativeBundlePolicyForPolicy: 34 + (webrtc::PeerConnectionInterface::BundlePolicy)nativeBundlePolicyForPolicy:
38 (RTCBundlePolicy)policy; 35 (RTCBundlePolicy)policy;
(...skipping 15 matching lines...) Expand all
54 nativeTcpCandidatePolicyForPolicy:(RTCTcpCandidatePolicy)policy; 51 nativeTcpCandidatePolicyForPolicy:(RTCTcpCandidatePolicy)policy;
55 52
56 + (RTCTcpCandidatePolicy)tcpCandidatePolicyForNativePolicy: 53 + (RTCTcpCandidatePolicy)tcpCandidatePolicyForNativePolicy:
57 (webrtc::PeerConnectionInterface::TcpCandidatePolicy)nativePolicy; 54 (webrtc::PeerConnectionInterface::TcpCandidatePolicy)nativePolicy;
58 55
59 + (NSString *)stringForTcpCandidatePolicy:(RTCTcpCandidatePolicy)policy; 56 + (NSString *)stringForTcpCandidatePolicy:(RTCTcpCandidatePolicy)policy;
60 57
61 @end 58 @end
62 59
63 NS_ASSUME_NONNULL_END 60 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/api/objc/RTCConfiguration.mm ('k') | webrtc/api/objc/RTCSessionDescription.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698