OLD | NEW |
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 "webrtc/api/objc/RTCPeerConnection.h" | 11 #import "RTCPeerConnection+Private.h" |
12 | 12 |
13 #include "webrtc/base/checks.h" | 13 #include "webrtc/base/checks.h" |
14 | 14 |
15 #import "webrtc/api/objc/RTCPeerConnection+Private.h" | 15 #import "WebRTC/RTCLogging.h" |
16 #import "webrtc/api/objc/RTCConfiguration+Private.h" | 16 |
17 #import "webrtc/api/objc/RTCDataChannel+Private.h" | 17 #import "NSString+StdString.h" |
18 #import "webrtc/api/objc/RTCIceCandidate+Private.h" | 18 #import "RTCConfiguration+Private.h" |
19 #import "webrtc/api/objc/RTCMediaConstraints+Private.h" | 19 #import "RTCDataChannel+Private.h" |
20 #import "webrtc/api/objc/RTCMediaStream+Private.h" | 20 #import "RTCIceCandidate+Private.h" |
21 #import "webrtc/api/objc/RTCPeerConnectionFactory+Private.h" | 21 #import "RTCMediaConstraints+Private.h" |
22 #import "webrtc/api/objc/RTCRtpSender+Private.h" | 22 #import "RTCMediaStream+Private.h" |
23 #import "webrtc/api/objc/RTCSessionDescription+Private.h" | 23 #import "RTCPeerConnectionFactory+Private.h" |
24 #import "webrtc/api/objc/RTCStatsReport+Private.h" | 24 #import "RTCRtpSender+Private.h" |
25 #import "webrtc/base/objc/RTCLogging.h" | 25 #import "RTCSessionDescription+Private.h" |
26 #import "webrtc/base/objc/NSString+StdString.h" | 26 #import "RTCStatsReport+Private.h" |
27 | 27 |
28 NSString * const kRTCPeerConnectionErrorDomain = | 28 NSString * const kRTCPeerConnectionErrorDomain = |
29 @"org.webrtc.RTCPeerConnection"; | 29 @"org.webrtc.RTCPeerConnection"; |
30 int const kRTCPeerConnnectionSessionDescriptionError = -1; | 30 int const kRTCPeerConnnectionSessionDescriptionError = -1; |
31 | 31 |
32 namespace webrtc { | 32 namespace webrtc { |
33 | 33 |
34 class CreateSessionDescriptionObserverAdapter | 34 class CreateSessionDescriptionObserverAdapter |
35 : public CreateSessionDescriptionObserver { | 35 : public CreateSessionDescriptionObserver { |
36 public: | 36 public: |
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
487 case RTCStatsOutputLevelDebug: | 487 case RTCStatsOutputLevelDebug: |
488 return webrtc::PeerConnectionInterface::kStatsOutputLevelDebug; | 488 return webrtc::PeerConnectionInterface::kStatsOutputLevelDebug; |
489 } | 489 } |
490 } | 490 } |
491 | 491 |
492 - (rtc::scoped_refptr<webrtc::PeerConnectionInterface>)nativePeerConnection { | 492 - (rtc::scoped_refptr<webrtc::PeerConnectionInterface>)nativePeerConnection { |
493 return _peerConnection; | 493 return _peerConnection; |
494 } | 494 } |
495 | 495 |
496 @end | 496 @end |
OLD | NEW |