| 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/base/objc/RTCMacros.h" |
| 14 |
| 13 NS_ASSUME_NONNULL_BEGIN | 15 NS_ASSUME_NONNULL_BEGIN |
| 14 | 16 |
| 15 @class RTCAVFoundationVideoSource; | 17 @class RTCAVFoundationVideoSource; |
| 16 @class RTCAudioTrack; | 18 @class RTCAudioTrack; |
| 17 @class RTCConfiguration; | 19 @class RTCConfiguration; |
| 18 @class RTCMediaConstraints; | 20 @class RTCMediaConstraints; |
| 19 @class RTCMediaStream; | 21 @class RTCMediaStream; |
| 20 @class RTCPeerConnection; | 22 @class RTCPeerConnection; |
| 21 @class RTCVideoSource; | 23 @class RTCVideoSource; |
| 22 @class RTCVideoTrack; | 24 @class RTCVideoTrack; |
| 23 @protocol RTCPeerConnectionDelegate; | 25 @protocol RTCPeerConnectionDelegate; |
| 24 | 26 |
| 27 RTC_EXPORT |
| 25 @interface RTCPeerConnectionFactory : NSObject | 28 @interface RTCPeerConnectionFactory : NSObject |
| 26 | 29 |
| 27 - (instancetype)init NS_DESIGNATED_INITIALIZER; | 30 - (instancetype)init NS_DESIGNATED_INITIALIZER; |
| 28 | 31 |
| 29 /** Initialize an RTCAVFoundationVideoSource with constraints. */ | 32 /** Initialize an RTCAVFoundationVideoSource with constraints. */ |
| 30 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: | 33 - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: |
| 31 (nullable RTCMediaConstraints *)constraints; | 34 (nullable RTCMediaConstraints *)constraints; |
| 32 | 35 |
| 33 /** Initialize an RTCAudioTrack with an id. */ | 36 /** Initialize an RTCAudioTrack with an id. */ |
| 34 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; | 37 - (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 46 - (RTCPeerConnection *)peerConnectionWithConfiguration: | 49 - (RTCPeerConnection *)peerConnectionWithConfiguration: |
| 47 (RTCConfiguration *)configuration | 50 (RTCConfiguration *)configuration |
| 48 constraints: | 51 constraints: |
| 49 (RTCMediaConstraints *)constraints | 52 (RTCMediaConstraints *)constraints |
| 50 delegate: | 53 delegate: |
| 51 (nullable id<RTCPeerConnectionDelegate>)delegate; | 54 (nullable id<RTCPeerConnectionDelegate>)delegate; |
| 52 | 55 |
| 53 @end | 56 @end |
| 54 | 57 |
| 55 NS_ASSUME_NONNULL_END | 58 NS_ASSUME_NONNULL_END |
| OLD | NEW |