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 8b19dd679a9be4dae91050c065ff95eea7850861..723a5cd71fc36974c632f11950a598630a2af9c8 100644 |
--- a/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h |
+++ b/webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h |
@@ -42,10 +42,15 @@ RTC_EXPORT |
- (RTCAudioTrack *)audioTrackWithSource:(RTCAudioSource *)source |
trackId:(NSString *)trackId; |
-/** Initialize an RTCAVFoundationVideoSource with constraints. */ |
+/** Initialize an RTCAVFoundationVideoSource with constraints. |
+ * Deprecated. Use a generic RTCVideoSource together with RTCCameraVideoCapturer instead. |
+ */ |
daniela-webrtc
2017/04/11 08:10:08
Do we want to add compiler annotation as well?
-
magjed_webrtc
2017/04/11 11:11:30
That's probably a good idea to do in the future. O
|
- (RTCAVFoundationVideoSource *)avFoundationVideoSourceWithConstraints: |
(nullable RTCMediaConstraints *)constraints; |
+/** Initialize a generic RTCVideoSource. The RTCVideoSource should be passed to a RTCVideoCapturer |
+ * implementation, e.g. RTCCameraVideoCapturer, in order to produce frames. |
+ */ |
- (RTCVideoSource *)videoSource; |
/** Initialize an RTCVideoTrack with a source and an id. */ |