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