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 "RTCPeerConnection.h" |
| 12 |
| 13 #include "talk/app/webrtc/peerconnectioninterface.h" |
| 14 |
| 15 NS_ASSUME_NONNULL_BEGIN |
| 16 |
| 17 @interface RTCPeerConnection () |
| 18 |
| 19 /** The native PeerConnectionInterface created during construction. */ |
| 20 @property(nonatomic, readonly) |
| 21 rtc::scoped_refptr<webrtc::PeerConnectionInterface> nativePeerConnection; |
| 22 |
| 23 + (webrtc::PeerConnectionInterface::SignalingState)nativeSignalingStateForState: |
| 24 (RTCSignalingState)state; |
| 25 |
| 26 + (RTCSignalingState)signalingStateForNativeState: |
| 27 (webrtc::PeerConnectionInterface::SignalingState)nativeState; |
| 28 |
| 29 + (NSString *)stringForSignalingState:(RTCSignalingState)state; |
| 30 |
| 31 + (webrtc::PeerConnectionInterface::IceConnectionState) |
| 32 nativeIceConnectionStateForState:(RTCIceConnectionState)state; |
| 33 |
| 34 + (RTCIceConnectionState)iceConnectionStateForNativeState: |
| 35 (webrtc::PeerConnectionInterface::IceConnectionState)nativeState; |
| 36 |
| 37 + (NSString *)stringForIceConnectionState:(RTCIceConnectionState)state; |
| 38 |
| 39 + (webrtc::PeerConnectionInterface::IceGatheringState) |
| 40 nativeIceGatheringStateForState:(RTCIceGatheringState)state; |
| 41 |
| 42 + (RTCIceGatheringState)iceGatheringStateForNativeState: |
| 43 (webrtc::PeerConnectionInterface::IceGatheringState)nativeState; |
| 44 |
| 45 + (NSString *)stringForIceGatheringState:(RTCIceGatheringState)state; |
| 46 |
| 47 + (webrtc::PeerConnectionInterface::StatsOutputLevel) |
| 48 nativeStatsOutputLevelForLevel:(RTCStatsOutputLevel)level; |
| 49 |
| 50 @end |
| 51 |
| 52 NS_ASSUME_NONNULL_END |
OLD | NEW |