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 <Foundation/Foundation.h> | 11 #import <Foundation/Foundation.h> |
12 | 12 |
13 #import <WebRTC/RTCMacros.h> | 13 #import <WebRTC/RTCMacros.h> |
14 | 14 |
15 NS_ASSUME_NONNULL_BEGIN | 15 NS_ASSUME_NONNULL_BEGIN |
16 | 16 |
17 @class RTCAVFoundationVideoSource; | |
18 @class RTCAudioSource; | 17 @class RTCAudioSource; |
19 @class RTCAudioTrack; | 18 @class RTCAudioTrack; |
20 @class RTCConfiguration; | 19 @class RTCConfiguration; |
21 @class RTCMediaConstraints; | 20 @class RTCMediaConstraints; |
22 @class RTCMediaStream; | 21 @class RTCMediaStream; |
23 @class RTCPeerConnection; | 22 @class RTCPeerConnection; |
24 @class RTCVideoSource; | 23 @class RTCVideoSource; |
25 @class RTCVideoTrack; | 24 @class RTCVideoTrack; |
26 @protocol RTCPeerConnectionDelegate; | 25 @protocol RTCPeerConnectionDelegate; |
27 @protocol RTCVideoEncoderFactory; | 26 @protocol RTCVideoEncoderFactory; |
(...skipping 15 matching lines...) Expand all Loading... |
43 | 42 |
44 /** Initialize an RTCAudioTrack with an id. Convenience ctor to use an audio sou
rce with no | 43 /** Initialize an RTCAudioTrack with an id. Convenience ctor to use an audio sou
rce with no |
45 * constraints. | 44 * constraints. |
46 */ | 45 */ |
47 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; | 46 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; |
48 | 47 |
49 /** Initialize an RTCAudioTrack with a source and an id. */ | 48 /** Initialize an RTCAudioTrack with a source and an id. */ |
50 - (RTCAudioTrack *)audioTrackWithSource:(RTCAudioSource *)source | 49 - (RTCAudioTrack *)audioTrackWithSource:(RTCAudioSource *)source |
51 trackId:(NSString *)trackId; | 50 trackId:(NSString *)trackId; |
52 | 51 |
53 /** Initialize an RTCAVFoundationVideoSource with constraints. */ | |
54 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: | |
55 (nullable RTCMediaConstraints *)constraints; | |
56 | |
57 /** Initialize a generic RTCVideoSource. The RTCVideoSource should be passed to
a RTCVideoCapturer | 52 /** Initialize a generic RTCVideoSource. The RTCVideoSource should be passed to
a RTCVideoCapturer |
58 * implementation, e.g. RTCCameraVideoCapturer, in order to produce frames. | 53 * implementation, e.g. RTCCameraVideoCapturer, in order to produce frames. |
59 */ | 54 */ |
60 - (RTCVideoSource *)videoSource; | 55 - (RTCVideoSource *)videoSource; |
61 | 56 |
62 /** Initialize an RTCVideoTrack with a source and an id. */ | 57 /** Initialize an RTCVideoTrack with a source and an id. */ |
63 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source | 58 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source |
64 trackId:(NSString *)trackId; | 59 trackId:(NSString *)trackId; |
65 | 60 |
66 /** Initialize an RTCMediaStream with an id. */ | 61 /** Initialize an RTCMediaStream with an id. */ |
(...skipping 12 matching lines...) Expand all Loading... |
79 /** Start an AecDump recording. This API call will likely change in the future.
*/ | 74 /** Start an AecDump recording. This API call will likely change in the future.
*/ |
80 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath | 75 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath |
81 maxSizeInBytes:(int64_t)maxSizeInBytes; | 76 maxSizeInBytes:(int64_t)maxSizeInBytes; |
82 | 77 |
83 /* Stop an active AecDump recording */ | 78 /* Stop an active AecDump recording */ |
84 - (void)stopAecDump; | 79 - (void)stopAecDump; |
85 | 80 |
86 @end | 81 @end |
87 | 82 |
88 NS_ASSUME_NONNULL_END | 83 NS_ASSUME_NONNULL_END |
OLD | NEW |