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

Unified Diff: talk/app/webrtc/java/src/org/webrtc/VideoCapturer.java

Issue 1652123002: Remove Java PC support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 11 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: 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);
}

Powered by Google App Engine
This is Rietveld 408576698