Index: webrtc/api/objc/RTCVideoTrack+Private.h |
diff --git a/webrtc/api/objc/RTCVideoTrack+Private.h b/webrtc/api/objc/RTCVideoTrack+Private.h |
index cd7de48ebc54760d99728d544d2ab06aafd41f56..be041246c3ae95fbdf3a6600a7625dae05f119d6 100644 |
--- a/webrtc/api/objc/RTCVideoTrack+Private.h |
+++ b/webrtc/api/objc/RTCVideoTrack+Private.h |
@@ -20,6 +20,11 @@ NS_ASSUME_NONNULL_BEGIN |
@property(nonatomic, readonly) |
rtc::scoped_refptr<webrtc::VideoTrackInterface> nativeVideoTrack; |
+/** Initialize an RTCVideoTrack with its source and an id. */ |
+- (instancetype)initWithFactory:(RTCPeerConnectionFactory *)factory |
+ source:(RTCVideoSource *)source |
+ trackId:(NSString *)trackId; |
+ |
@end |
NS_ASSUME_NONNULL_END |