Index: talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java |
diff --git a/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java b/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java |
index 158cc3447f012cd4644e82ed6378ffb6a35a65fb..ad4105352251437c67173a19a4f5172d525eaf79 100644 |
--- a/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java |
+++ b/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java |
@@ -28,19 +28,13 @@ |
package org.webrtc; |
/** Java version of cricket::VideoCapturer. */ |
+// TODO(perkj): Merge VideoCapturer and VideoCapturerAndroid. |
public class VideoCapturer { |
private long nativeVideoCapturer; |
protected VideoCapturer() { |
} |
- public static VideoCapturer create(String deviceName) { |
- Object capturer = nativeCreateVideoCapturer(deviceName); |
- if (capturer != null) |
- return (VideoCapturer) (capturer); |
- return null; |
- } |
- |
// Sets |nativeCapturer| to be owned by VideoCapturer. |
protected void setNativeCapturer(long nativeCapturer) { |
this.nativeVideoCapturer = nativeCapturer; |
@@ -64,7 +58,5 @@ public class VideoCapturer { |
} |
} |
- private static native Object nativeCreateVideoCapturer(String deviceName); |
- |
private static native void free(long nativeVideoCapturer); |
} |