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 28 matching lines...) Expand all Loading... |
39 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; | 39 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; |
40 | 40 |
41 /** Initialize an RTCAudioTrack with a source and an id. */ | 41 /** Initialize an RTCAudioTrack with a source and an id. */ |
42 - (RTCAudioTrack *)audioTrackWithSource:(RTCAudioSource *)source | 42 - (RTCAudioTrack *)audioTrackWithSource:(RTCAudioSource *)source |
43 trackId:(NSString *)trackId; | 43 trackId:(NSString *)trackId; |
44 | 44 |
45 /** Initialize an RTCAVFoundationVideoSource with constraints. */ | 45 /** Initialize an RTCAVFoundationVideoSource with constraints. */ |
46 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: | 46 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: |
47 (nullable RTCMediaConstraints *)constraints; | 47 (nullable RTCMediaConstraints *)constraints; |
48 | 48 |
| 49 /** Initialize a generic RTCVideoSource. The RTCVideoSource should be passed to
a RTCVideoCapturer |
| 50 * implementation, e.g. RTCCameraVideoCapturer, in order to produce frames. |
| 51 */ |
49 - (RTCVideoSource *)videoSource; | 52 - (RTCVideoSource *)videoSource; |
50 | 53 |
51 /** Initialize an RTCVideoTrack with a source and an id. */ | 54 /** Initialize an RTCVideoTrack with a source and an id. */ |
52 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source | 55 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source |
53 trackId:(NSString *)trackId; | 56 trackId:(NSString *)trackId; |
54 | 57 |
55 /** Initialize an RTCMediaStream with an id. */ | 58 /** Initialize an RTCMediaStream with an id. */ |
56 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId; | 59 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId; |
57 | 60 |
58 /** Initialize an RTCPeerConnection with a configuration, constraints, and | 61 /** Initialize an RTCPeerConnection with a configuration, constraints, and |
59 * delegate. | 62 * delegate. |
60 */ | 63 */ |
61 - (RTCPeerConnection *)peerConnectionWithConfiguration: | 64 - (RTCPeerConnection *)peerConnectionWithConfiguration: |
62 (RTCConfiguration *)configuration | 65 (RTCConfiguration *)configuration |
63 constraints: | 66 constraints: |
64 (RTCMediaConstraints *)constraints | 67 (RTCMediaConstraints *)constraints |
65 delegate: | 68 delegate: |
66 (nullable id<RTCPeerConnectionDelegate>)delegate; | 69 (nullable id<RTCPeerConnectionDelegate>)delegate; |
67 | 70 |
68 /** Start an AecDump recording. This API call will likely change in the future.
*/ | 71 /** Start an AecDump recording. This API call will likely change in the future.
*/ |
69 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath | 72 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath |
70 maxSizeInBytes:(int64_t)maxSizeInBytes; | 73 maxSizeInBytes:(int64_t)maxSizeInBytes; |
71 | 74 |
72 /* Stop an active AecDump recording */ | 75 /* Stop an active AecDump recording */ |
73 - (void)stopAecDump; | 76 - (void)stopAecDump; |
74 | 77 |
75 @end | 78 @end |
76 | 79 |
77 NS_ASSUME_NONNULL_END | 80 NS_ASSUME_NONNULL_END |
OLD | NEW |