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

Unified Diff: webrtc/api/android/java/src/org/webrtc/VideoSource.java

Issue 2280873002: Remove VideoSource.stop() and VideoSource.restart() from the Java API. (Closed)
Patch Set: Created 4 years, 4 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
« no previous file with comments | « no previous file | webrtc/api/android/jni/peerconnection_jni.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/android/java/src/org/webrtc/VideoSource.java
diff --git a/webrtc/api/android/java/src/org/webrtc/VideoSource.java b/webrtc/api/android/java/src/org/webrtc/VideoSource.java
index ba5d2ca6af0574c41a020e4ca0de274b4478f400..f664f19d2c6842ffc313c729dab05b6d4dc8eda0 100644
--- a/webrtc/api/android/java/src/org/webrtc/VideoSource.java
+++ b/webrtc/api/android/java/src/org/webrtc/VideoSource.java
@@ -19,23 +19,7 @@ package org.webrtc;
* its output to the encoder) can be too high to bear.
*/
public class VideoSource extends MediaSource {
-
public VideoSource(long nativeSource) {
super(nativeSource);
}
-
- // Stop capture feeding this source.
- public void stop() {
- stop(nativeSource);
- }
-
- // Restart capture feeding this source. stop() must have been called since
- // the last call to restart() (if any). Note that this isn't "start()";
- // sources are started by default at birth.
- public void restart() {
- restart(nativeSource);
- }
-
- private static native void stop(long nativeSource);
- private static native void restart(long nativeSource);
}
« no previous file with comments | « no previous file | webrtc/api/android/jni/peerconnection_jni.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698