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 "RTCPeerConnectionFactory+Private.h" | 11 #import "RTCPeerConnectionFactory+Private.h" |
12 | 12 |
13 #import "NSString+StdString.h" | 13 #import "NSString+StdString.h" |
14 #import "RTCAVFoundationVideoSource+Private.h" | |
15 #import "RTCAudioSource+Private.h" | 14 #import "RTCAudioSource+Private.h" |
16 #import "RTCAudioTrack+Private.h" | 15 #import "RTCAudioTrack+Private.h" |
17 #import "RTCMediaConstraints+Private.h" | 16 #import "RTCMediaConstraints+Private.h" |
18 #import "RTCMediaStream+Private.h" | 17 #import "RTCMediaStream+Private.h" |
19 #import "RTCPeerConnection+Private.h" | 18 #import "RTCPeerConnection+Private.h" |
20 #import "RTCVideoSource+Private.h" | 19 #import "RTCVideoSource+Private.h" |
21 #import "RTCVideoTrack+Private.h" | 20 #import "RTCVideoTrack+Private.h" |
| 21 #import "RTCAVFoundationVideoSource+Private.h" |
22 #import "WebRTC/RTCLogging.h" | 22 #import "WebRTC/RTCLogging.h" |
23 | 23 |
24 #include "objcvideotracksource.h" | 24 #include "Video/objcvideotracksource.h" |
25 #include "videotoolboxvideocodecfactory.h" | 25 #include "VideoToolbox/videocodecfactory.h" |
26 | 26 |
27 @implementation RTCPeerConnectionFactory { | 27 @implementation RTCPeerConnectionFactory { |
28 std::unique_ptr<rtc::Thread> _networkThread; | 28 std::unique_ptr<rtc::Thread> _networkThread; |
29 std::unique_ptr<rtc::Thread> _workerThread; | 29 std::unique_ptr<rtc::Thread> _workerThread; |
30 std::unique_ptr<rtc::Thread> _signalingThread; | 30 std::unique_ptr<rtc::Thread> _signalingThread; |
31 BOOL _hasStartedAecDump; | 31 BOOL _hasStartedAecDump; |
32 } | 32 } |
33 | 33 |
34 @synthesize nativeFactory = _nativeFactory; | 34 @synthesize nativeFactory = _nativeFactory; |
35 | 35 |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 _hasStartedAecDump = _nativeFactory->StartAecDump(fd, maxSizeInBytes); | 135 _hasStartedAecDump = _nativeFactory->StartAecDump(fd, maxSizeInBytes); |
136 return _hasStartedAecDump; | 136 return _hasStartedAecDump; |
137 } | 137 } |
138 | 138 |
139 - (void)stopAecDump { | 139 - (void)stopAecDump { |
140 _nativeFactory->StopAecDump(); | 140 _nativeFactory->StopAecDump(); |
141 _hasStartedAecDump = NO; | 141 _hasStartedAecDump = NO; |
142 } | 142 } |
143 | 143 |
144 @end | 144 @end |
OLD | NEW |