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

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

Issue 2253013006: Adding AecDump functionality to AppRTCDemo for iOS (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Fixed failing test Created 4 years, 3 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 11 matching lines...) Expand all
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 /** Start an aecdump recording with a file descriptor and
tkchin_webrtc 2016/08/25 17:25:40 nit: place this after the rest of the methods.
peah-webrtc 2016/08/25 21:23:36 Done.
33 a specified maximum size limit (-1 specifies that no
34 limit should be used). */
35 - (BOOL)startAecDumpWithFileDescriptor:(int)fileDescriptor
36 maxFileSizeInBytes:(int)maxFileSizeInBytes;
37
38 - (void)stopAecDump;
39
32 /** Initialize an RTCAVFoundationVideoSource with constraints. */ 40 /** Initialize an RTCAVFoundationVideoSource with constraints. */
33 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: 41 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints:
34 (nullable RTCMediaConstraints *)constraints; 42 (nullable RTCMediaConstraints *)constraints;
35 43
36 /** Initialize an RTCAudioTrack with an id. */ 44 /** Initialize an RTCAudioTrack with an id. */
37 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; 45 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId;
38 46
39 /** Initialize an RTCVideoTrack with a source and an id. */ 47 /** Initialize an RTCVideoTrack with a source and an id. */
40 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source 48 - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source
41 trackId:(NSString *)trackId; 49 trackId:(NSString *)trackId;
42 50
43 /** Initialize an RTCMediaStream with an id. */ 51 /** Initialize an RTCMediaStream with an id. */
44 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId; 52 - (RTCMediaStream *)mediaStreamWithStreamId:(NSString *)streamId;
45 53
46 /** Initialize an RTCPeerConnection with a configuration, constraints, and 54 /** Initialize an RTCPeerConnection with a configuration, constraints, and
47 * delegate. 55 * delegate.
48 */ 56 */
49 - (RTCPeerConnection *)peerConnectionWithConfiguration: 57 - (RTCPeerConnection *)peerConnectionWithConfiguration:
50 (RTCConfiguration *)configuration 58 (RTCConfiguration *)configuration
51 constraints: 59 constraints:
52 (RTCMediaConstraints *)constraints 60 (RTCMediaConstraints *)constraints
53 delegate: 61 delegate:
54 (nullable id<RTCPeerConnectionDelegate>)delegate; 62 (nullable id<RTCPeerConnectionDelegate>)delegate;
55 63
56 @end 64 @end
57 65
58 NS_ASSUME_NONNULL_END 66 NS_ASSUME_NONNULL_END
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698