Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(59)

Unified Diff: webrtc/sdk/objc/Framework/Headers/WebRTC/RTCPeerConnectionFactory.h

Issue 2812533003: ObjC: RTCVideoSource cleanup (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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. */
« no previous file with comments | « webrtc/sdk/objc/Framework/Classes/objcvideotracksource.h ('k') | webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoCapturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698