| 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; | 17 @class RTCAVFoundationVideoSource; |
| 18 @class RTCAudioSource; | 18 @class RTCAudioSource; |
| 19 @class RTCAudioTrack; | 19 @class RTCAudioTrack; |
| 20 @class RTCConfiguration; | 20 @class RTCConfiguration; |
| 21 @class RTCMediaConstraints; | 21 @class RTCMediaConstraints; |
| 22 @class RTCMediaStream; | 22 @class RTCMediaStream; |
| 23 @class RTCPeerConnection; | 23 @class RTCPeerConnection; |
| 24 @class RTCVideoSource; | 24 @class RTCVideoSource; |
| 25 @class RTCVideoTrack; | 25 @class RTCVideoTrack; |
| 26 @protocol RTCPeerConnectionDelegate; | 26 @protocol RTCPeerConnectionDelegate; |
| 27 @protocol RTCVideoDecoderFactory; |
| 27 @protocol RTCVideoEncoderFactory; | 28 @protocol RTCVideoEncoderFactory; |
| 28 @protocol RTCVideoDecoderFactory; | |
| 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 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 /** Start an AecDump recording. This API call will likely change in the future.
*/ | 79 /** Start an AecDump recording. This API call will likely change in the future.
*/ |
| 80 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath | 80 - (BOOL)startAecDumpWithFilePath:(NSString *)filePath |
| 81 maxSizeInBytes:(int64_t)maxSizeInBytes; | 81 maxSizeInBytes:(int64_t)maxSizeInBytes; |
| 82 | 82 |
| 83 /* Stop an active AecDump recording */ | 83 /* Stop an active AecDump recording */ |
| 84 - (void)stopAecDump; | 84 - (void)stopAecDump; |
| 85 | 85 |
| 86 @end | 86 @end |
| 87 | 87 |
| 88 NS_ASSUME_NONNULL_END | 88 NS_ASSUME_NONNULL_END |
| OLD | NEW |