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..a1d270ad22bff9bc11b48cadb4f80a855c1ef14a 100644 |
--- a/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java |
+++ b/talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java |
@@ -34,13 +34,6 @@ public class VideoCapturer { |
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 +57,5 @@ public class VideoCapturer { |
} |
} |
- private static native Object nativeCreateVideoCapturer(String deviceName); |
- |
private static native void free(long nativeVideoCapturer); |
} |