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 |
(...skipping 11 matching lines...) Expand all Loading... | |
22 @class RTCPeerConnection; | 22 @class RTCPeerConnection; |
23 @class RTCVideoSource; | 23 @class RTCVideoSource; |
24 @class RTCVideoTrack; | 24 @class RTCVideoTrack; |
25 @protocol RTCPeerConnectionDelegate; | 25 @protocol RTCPeerConnectionDelegate; |
26 | 26 |
27 RTC_EXPORT | 27 RTC_EXPORT |
28 @interface RTCPeerConnectionFactory : NSObject | 28 @interface RTCPeerConnectionFactory : NSObject |
29 | 29 |
30 - (instancetype)init NS_DESIGNATED_INITIALIZER; | 30 - (instancetype)init NS_DESIGNATED_INITIALIZER; |
31 | 31 |
32 - (BOOL) startAecDump:(NSString *)filename; | |
tkchin_webrtc
2016/08/19 17:31:42
These are part of public APIs. Is this something w
peah-webrtc
2016/08/23 11:45:15
I changed this to follow what is done in the Andro
| |
33 | |
34 - (void)stopAecDump; | |
35 | |
32 /** Initialize an RTCAVFoundationVideoSource with constraints. */ | 36 /** Initialize an RTCAVFoundationVideoSource with constraints. */ |
33 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: | 37 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: |
34 (nullable RTCMediaConstraints *)constraints; | 38 (nullable RTCMediaConstraints *)constraints; |
35 | 39 |
36 /** Initialize an RTCAudioTrack with an id. */ | 40 /** Initialize an RTCAudioTrack with an id. */ |
37 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; | 41 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; |
38 | 42 |
39 /** Initialize an RTCVideoTrack with a source and an id. */ | 43 /** Initialize an RTCVideoTrack with a source and an id. */ |
40 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source | 44 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source |
41 trackId:(NSString *)trackId; | 45 trackId:(NSString *)trackId; |
42 | 46 |
43 /** Initialize an RTCMediaStream with an id. */ | 47 /** Initialize an RTCMediaStream with an id. */ |
44 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId; | 48 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId; |
45 | 49 |
46 /** Initialize an RTCPeerConnection with a configuration, constraints, and | 50 /** Initialize an RTCPeerConnection with a configuration, constraints, and |
47 * delegate. | 51 * delegate. |
48 */ | 52 */ |
49 - (RTCPeerConnection *)peerConnectionWithConfiguration: | 53 - (RTCPeerConnection *)peerConnectionWithConfiguration: |
50 (RTCConfiguration *)configuration | 54 (RTCConfiguration *)configuration |
51 constraints: | 55 constraints: |
52 (RTCMediaConstraints *)constraints | 56 (RTCMediaConstraints *)constraints |
53 delegate: | 57 delegate: |
54 (nullable id<RTCPeerConnectionDelegate>)delegate; | 58 (nullable id<RTCPeerConnectionDelegate>)delegate; |
55 | 59 |
56 @end | 60 @end |
57 | 61 |
58 NS_ASSUME_NONNULL_END | 62 NS_ASSUME_NONNULL_END |
OLD | NEW |