| 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 17 matching lines...) Expand all Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |