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

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

Issue 3012443002: ObjC: Add support for injectable native audio and video codecs (Closed)
Patch Set: Created 3 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
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Native.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 17 matching lines...) Expand all
28 @protocol RTCVideoEncoderFactory; 28 @protocol RTCVideoEncoderFactory;
29 29
30 RTC_EXPORT 30 RTC_EXPORT
31 @interface RTCPeerConnectionFactory : NSObject 31 @interface RTCPeerConnectionFactory : NSObject
32 32
33 /* Initialize object with default H264 video encoder/decoder factories */ 33 /* Initialize object with default H264 video encoder/decoder factories */
34 - (instancetype)init; 34 - (instancetype)init;
35 35
36 /* Initialize object with injectable video encoder/decoder factories */ 36 /* Initialize object with injectable video encoder/decoder factories */
37 - (instancetype)initWithEncoderFactory:(nullable id<RTCVideoEncoderFactory>)enco derFactory 37 - (instancetype)initWithEncoderFactory:(nullable id<RTCVideoEncoderFactory>)enco derFactory
38 decoderFactory:(nullable id<RTCVideoDecoderFactory>)deco derFactory 38 decoderFactory:(nullable id<RTCVideoDecoderFactory>)deco derFactory;
39 NS_DESIGNATED_INITIALIZER;
40 39
41 /** Initialize an RTCAudioSource with constraints. */ 40 /** Initialize an RTCAudioSource with constraints. */
42 - (RTCAudioSource *)audioSourceWithConstraints:(nullable RTCMediaConstraints *)c onstraints; 41 - (RTCAudioSource *)audioSourceWithConstraints:(nullable RTCMediaConstraints *)c onstraints;
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. */
(...skipping 29 matching lines...) Expand all
79 /** Start an AecDump recording. This API call will likely change in the future. */ 78 /** Start an AecDump recording. This API call will likely change in the future. */
80 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath 79 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath
81 maxSizeInBytes:(int64_t)maxSizeInBytes; 80 maxSizeInBytes:(int64_t)maxSizeInBytes;
82 81
83 /* Stop an active AecDump recording */ 82 /* Stop an active AecDump recording */
84 - (void)stopAecDump; 83 - (void)stopAecDump;
85 84
86 @end 85 @end
87 86
88 NS_ASSUME_NONNULL_END 87 NS_ASSUME_NONNULL_END
OLDNEW
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/PeerConnection/RTCPeerConnectionFactory+Native.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698