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 - (RTCVideoSource *)videoSource; |
| 50 |
49 /** Initialize an RTCVideoTrack with a source and an id. */ | 51 /** Initialize an RTCVideoTrack with a source and an id. */ |
50 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source | 52 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source |
51 trackId:(NSString *)trackId; | 53 trackId:(NSString *)trackId; |
52 | 54 |
53 /** Initialize an RTCMediaStream with an id. */ | 55 /** Initialize an RTCMediaStream with an id. */ |
54 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId; | 56 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId; |
55 | 57 |
56 /** Initialize an RTCPeerConnection with a configuration, constraints, and | 58 /** Initialize an RTCPeerConnection with a configuration, constraints, and |
57 * delegate. | 59 * delegate. |
58 */ | 60 */ |
59 - (RTCPeerConnection *)peerConnectionWithConfiguration: | 61 - (RTCPeerConnection *)peerConnectionWithConfiguration: |
60 (RTCConfiguration *)configuration | 62 (RTCConfiguration *)configuration |
61 constraints: | 63 constraints: |
62 (RTCMediaConstraints *)constraints | 64 (RTCMediaConstraints *)constraints |
63 delegate: | 65 delegate: |
64 (nullable id<RTCPeerConnectionDelegate>)delegate; | 66 (nullable id<RTCPeerConnectionDelegate>)delegate; |
65 | 67 |
66 /** Start an AecDump recording. This API call will likely change in the future.
*/ | 68 /** Start an AecDump recording. This API call will likely change in the future.
*/ |
67 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath | 69 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath |
68 maxSizeInBytes:(int64_t)maxSizeInBytes; | 70 maxSizeInBytes:(int64_t)maxSizeInBytes; |
69 | 71 |
70 /* Stop an active AecDump recording */ | 72 /* Stop an active AecDump recording */ |
71 - (void)stopAecDump; | 73 - (void)stopAecDump; |
72 | 74 |
73 @end | 75 @end |
74 | 76 |
75 NS_ASSUME_NONNULL_END | 77 NS_ASSUME_NONNULL_END |
OLD | NEW |