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 "RTCPeerConnection+Private.h" | 11 #import "RTCPeerConnection+Private.h" |
12 | 12 |
13 #import "NSString+StdString.h" | 13 #import "NSString+StdString.h" |
14 #import "RTCConfiguration+Private.h" | 14 #import "RTCConfiguration+Private.h" |
15 #import "RTCDataChannel+Private.h" | 15 #import "RTCDataChannel+Private.h" |
16 #import "RTCIceCandidate+Private.h" | 16 #import "RTCIceCandidate+Private.h" |
17 #import "RTCLegacyStatsReport+Private.h" | 17 #import "RTCLegacyStatsReport+Private.h" |
18 #import "RTCMediaConstraints+Private.h" | 18 #import "RTCMediaConstraints+Private.h" |
19 #import "RTCMediaStream+Private.h" | 19 #import "RTCMediaStream+Private.h" |
20 #import "RTCPeerConnectionFactory+Private.h" | 20 #import "RTCPeerConnectionFactory+Private.h" |
21 #import "RTCRtpReceiver+Private.h" | 21 #import "RTCRtpReceiver+Private.h" |
22 #import "RTCRtpSender+Private.h" | 22 #import "RTCRtpSender+Private.h" |
23 #import "RTCSessionDescription+Private.h" | 23 #import "RTCSessionDescription+Private.h" |
24 #import "WebRTC/RTCLogging.h" | 24 #import "WebRTC/RTCLogging.h" |
25 | 25 |
26 #include <memory> | 26 #include <memory> |
27 | 27 |
28 #include "webrtc/api/jsepicecandidate.h" | 28 #include "webrtc/pc/jsepicecandidate.h" |
29 #include "webrtc/base/checks.h" | 29 #include "webrtc/base/checks.h" |
30 | 30 |
31 NSString * const kRTCPeerConnectionErrorDomain = | 31 NSString * const kRTCPeerConnectionErrorDomain = |
32 @"org.webrtc.RTCPeerConnection"; | 32 @"org.webrtc.RTCPeerConnection"; |
33 int const kRTCPeerConnnectionSessionDescriptionError = -1; | 33 int const kRTCPeerConnnectionSessionDescriptionError = -1; |
34 | 34 |
35 namespace webrtc { | 35 namespace webrtc { |
36 | 36 |
37 class CreateSessionDescriptionObserverAdapter | 37 class CreateSessionDescriptionObserverAdapter |
38 : public CreateSessionDescriptionObserver { | 38 : public CreateSessionDescriptionObserver { |
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
583 case RTCStatsOutputLevelDebug: | 583 case RTCStatsOutputLevelDebug: |
584 return webrtc::PeerConnectionInterface::kStatsOutputLevelDebug; | 584 return webrtc::PeerConnectionInterface::kStatsOutputLevelDebug; |
585 } | 585 } |
586 } | 586 } |
587 | 587 |
588 - (rtc::scoped_refptr<webrtc::PeerConnectionInterface>)nativePeerConnection { | 588 - (rtc::scoped_refptr<webrtc::PeerConnectionInterface>)nativePeerConnection { |
589 return _peerConnection; | 589 return _peerConnection; |
590 } | 590 } |
591 | 591 |
592 @end | 592 @end |
OLD | NEW |