| Index: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h
|
| diff --git a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h
|
| index abf2373f3c092e12c4435e11eb6602d530593967..03279a3c7bfc3926ebc9a4220786604ee8236d1c 100644
|
| --- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h
|
| +++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h
|
| @@ -15,6 +15,7 @@
|
| NS_ASSUME_NONNULL_BEGIN
|
|
|
| @class RTCAVFoundationVideoSource;
|
| +@class RTCAudioSource;
|
| @class RTCAudioTrack;
|
| @class RTCConfiguration;
|
| @class RTCMediaConstraints;
|
| @@ -29,13 +30,22 @@ RTC_EXPORT
|
|
|
| - (instancetype)init NS_DESIGNATED_INITIALIZER;
|
|
|
| +/** Initialize an RTCAudioSource with constraints. */
|
| +- (RTCAudioSource *)audioSourceWithConstraints:(nullable RTCMediaConstraints *)constraints;
|
| +
|
| +/** Initialize an RTCAudioTrack with an id. Convenience ctor to use an audio source with no
|
| + * constraints.
|
| + */
|
| +- (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId;
|
| +
|
| +/** Initialize an RTCAudioTrack with a source and an id. */
|
| +- (RTCAudioTrack *)audioTrackWithSource:(RTCAudioSource *)source
|
| + trackId:(NSString *)trackId;
|
| +
|
| /** Initialize an RTCAVFoundationVideoSource with constraints. */
|
| - (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints:
|
| (nullable RTCMediaConstraints *)constraints;
|
|
|
| -/** Initialize an RTCAudioTrack with an id. */
|
| -- (RTCAudioTrack *)audioTrackWithTrackId:(NSString *)trackId;
|
| -
|
| /** Initialize an RTCVideoTrack with a source and an id. */
|
| - (RTCVideoTrack *)videoTrackWithSource:(RTCVideoSource *)source
|
| trackId:(NSString *)trackId;
|
|
|