Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(463)

Side by Side Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h

Issue 2812533003: ObjC: RTCVideoSource cleanup (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 24 matching lines...) Expand all
35 35
36 /** Initialize an RTCAudioTrack with an id. Convenience ctor to use an audio sou rce with no 36 /** Initialize an RTCAudioTrack with an id. Convenience ctor to use an audio sou rce with no
37 * constraints. 37 * constraints.
38 */ 38 */
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 * Deprecated. Use a generic RTCVideoSource together with RTCCameraVideoCapture r instead.
47 */
daniela-webrtc 2017/04/11 08:10:08 Do we want to add compiler annotation as well? -
magjed_webrtc 2017/04/11 11:11:30 That's probably a good idea to do in the future. O
46 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: 48 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints:
47 (nullable RTCMediaConstraints *)constraints; 49 (nullable RTCMediaConstraints *)constraints;
48 50
51 /** Initialize a generic RTCVideoSource. The RTCVideoSource should be passed to a RTCVideoCapturer
52 * implementation, e.g. RTCCameraVideoCapturer, in order to produce frames.
53 */
49 - (RTCVideoSource *)videoSource; 54 - (RTCVideoSource *)videoSource;
50 55
51 /** Initialize an RTCVideoTrack with a source and an id. */ 56 /** Initialize an RTCVideoTrack with a source and an id. */
52 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source 57 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source
53 trackId:(NSString *)trackId; 58 trackId:(NSString *)trackId;
54 59
55 /** Initialize an RTCMediaStream with an id. */ 60 /** Initialize an RTCMediaStream with an id. */
56 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId; 61 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId;
57 62
58 /** Initialize an RTCPeerConnection with a configuration, constraints, and 63 /** Initialize an RTCPeerConnection with a configuration, constraints, and
59 * delegate. 64 * delegate.
60 */ 65 */
61 - (RTCPeerConnection *)peerConnectionWithConfiguration: 66 - (RTCPeerConnection *)peerConnectionWithConfiguration:
62 (RTCConfiguration *)configuration 67 (RTCConfiguration *)configuration
63 constraints: 68 constraints:
64 (RTCMediaConstraints *)constraints 69 (RTCMediaConstraints *)constraints
65 delegate: 70 delegate:
66 (nullable id<RTCPeerConnectionDelegate>)delegate; 71 (nullable id<RTCPeerConnectionDelegate>)delegate;
67 72
68 /** Start an AecDump recording. This API call will likely change in the future. */ 73 /** Start an AecDump recording. This API call will likely change in the future. */
69 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath 74 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath
70 maxSizeInBytes:(int64_t)maxSizeInBytes; 75 maxSizeInBytes:(int64_t)maxSizeInBytes;
71 76
72 /* Stop an active AecDump recording */ 77 /* Stop an active AecDump recording */
73 - (void)stopAecDump; 78 - (void)stopAecDump;
74 79
75 @end 80 @end
76 81
77 NS_ASSUME_NONNULL_END 82 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/objcvideotracksource.h ('k') | webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCapturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698