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 3924cdd053d2a72ee5f2b41b9064f7e6d6e7916a..b6a13c1bb034411e9822f41cf80aae16f8d3d856 100644 |
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h |
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h |
@@ -24,11 +24,19 @@ NS_ASSUME_NONNULL_BEGIN |
@class RTCVideoSource; |
@class RTCVideoTrack; |
@protocol RTCPeerConnectionDelegate; |
+@protocol RTCVideoEncoderFactory; |
+@protocol RTCVideoDecoderFactory; |
Chuck
2017/07/21 15:59:48
Alpha
|
RTC_EXPORT |
@interface RTCPeerConnectionFactory : NSObject |
-- (instancetype)init NS_DESIGNATED_INITIALIZER; |
+/* Initialize object with default H264 video encoder/decoder factories */ |
+- (instancetype)init; |
+ |
+/* Initialize object with injectable video encoder/decoder factories */ |
+- (instancetype)initWithEncoderFactory:(nullable id<RTCVideoEncoderFactory>)encoderFactory |
+ decoderFactory:(nullable id<RTCVideoDecoderFactory>)decoderFactory |
+ NS_DESIGNATED_INITIALIZER; |
/** Initialize an RTCAudioSource with constraints. */ |
- (RTCAudioSource *)audioSourceWithConstraints:(nullable RTCMediaConstraints *)constraints; |