| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. | |
| 3 * | |
| 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 | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #import "WebRTC/RTCConfiguration.h" | |
| 12 | |
| 13 #include "webrtc/api/peerconnectioninterface.h" | |
| 14 | |
| 15 NS_ASSUME_NONNULL_BEGIN | |
| 16 | |
| 17 @interface RTCConfiguration () | |
| 18 | |
| 19 + (webrtc::PeerConnectionInterface::IceTransportsType) | |
| 20 nativeTransportsTypeForTransportPolicy:(RTCIceTransportPolicy)policy; | |
| 21 | |
| 22 + (RTCIceTransportPolicy)transportPolicyForTransportsType: | |
| 23 (webrtc::PeerConnectionInterface::IceTransportsType)nativeType; | |
| 24 | |
| 25 + (NSString *)stringForTransportPolicy:(RTCIceTransportPolicy)policy; | |
| 26 | |
| 27 + (webrtc::PeerConnectionInterface::BundlePolicy)nativeBundlePolicyForPolicy: | |
| 28 (RTCBundlePolicy)policy; | |
| 29 | |
| 30 + (RTCBundlePolicy)bundlePolicyForNativePolicy: | |
| 31 (webrtc::PeerConnectionInterface::BundlePolicy)nativePolicy; | |
| 32 | |
| 33 + (NSString *)stringForBundlePolicy:(RTCBundlePolicy)policy; | |
| 34 | |
| 35 + (webrtc::PeerConnectionInterface::RtcpMuxPolicy)nativeRtcpMuxPolicyForPolicy: | |
| 36 (RTCRtcpMuxPolicy)policy; | |
| 37 | |
| 38 + (RTCRtcpMuxPolicy)rtcpMuxPolicyForNativePolicy: | |
| 39 (webrtc::PeerConnectionInterface::RtcpMuxPolicy)nativePolicy; | |
| 40 | |
| 41 + (NSString *)stringForRtcpMuxPolicy:(RTCRtcpMuxPolicy)policy; | |
| 42 | |
| 43 + (webrtc::PeerConnectionInterface::TcpCandidatePolicy) | |
| 44 nativeTcpCandidatePolicyForPolicy:(RTCTcpCandidatePolicy)policy; | |
| 45 | |
| 46 + (RTCTcpCandidatePolicy)tcpCandidatePolicyForNativePolicy: | |
| 47 (webrtc::PeerConnectionInterface::TcpCandidatePolicy)nativePolicy; | |
| 48 | |
| 49 + (NSString *)stringForTcpCandidatePolicy:(RTCTcpCandidatePolicy)policy; | |
| 50 | |
| 51 + (webrtc::PeerConnectionInterface::CandidateNetworkPolicy) | |
| 52 nativeCandidateNetworkPolicyForPolicy:(RTCCandidateNetworkPolicy)policy; | |
| 53 | |
| 54 + (RTCCandidateNetworkPolicy)candidateNetworkPolicyForNativePolicy: | |
| 55 (webrtc::PeerConnectionInterface::CandidateNetworkPolicy)nativePolicy; | |
| 56 | |
| 57 + (NSString *)stringForCandidateNetworkPolicy:(RTCCandidateNetworkPolicy)policy; | |
| 58 | |
| 59 + (rtc::KeyType)nativeEncryptionKeyTypeForKeyType:(RTCEncryptionKeyType)keyType; | |
| 60 | |
| 61 /** | |
| 62 * RTCConfiguration struct representation of this RTCConfiguration. This is | |
| 63 * needed to pass to the underlying C++ APIs. | |
| 64 */ | |
| 65 - (webrtc::PeerConnectionInterface::RTCConfiguration *) | |
| 66 createNativeConfiguration; | |
| 67 | |
| 68 - (instancetype)initWithNativeConfiguration: | |
| 69 (const webrtc::PeerConnectionInterface::RTCConfiguration &)config NS_DESIGNA
TED_INITIALIZER; | |
| 70 | |
| 71 @end | |
| 72 | |
| 73 NS_ASSUME_NONNULL_END | |
| OLD | NEW |