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

Unified Diff: webrtc/api/android/jni/peerconnection_jni.cc

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 | « webrtc/api/android/java/src/org/webrtc/VideoSource.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/android/jni/peerconnection_jni.cc
diff --git a/webrtc/api/android/jni/peerconnection_jni.cc b/webrtc/api/android/jni/peerconnection_jni.cc
index 9efe037c9ff2d036976dce06c2e8029ff146a696..d1afa332c63e5b5325471d982a01fdb01d7a8f6c 100644
--- a/webrtc/api/android/jni/peerconnection_jni.cc
+++ b/webrtc/api/android/jni/peerconnection_jni.cc
@@ -2024,15 +2024,6 @@ JOW(void, VideoRenderer_nativeCopyPlane)(
}
}
-JOW(void, VideoSource_stop)(JNIEnv* jni, jclass, jlong j_p) {
- reinterpret_cast<VideoTrackSourceInterface*>(j_p)->Stop();
-}
-
-JOW(void, VideoSource_restart)(
- JNIEnv* jni, jclass, jlong j_p_source, jlong j_p_format) {
- reinterpret_cast<VideoTrackSourceInterface*>(j_p_source)->Restart();
-}
-
JOW(jstring, MediaStreamTrack_nativeId)(JNIEnv* jni, jclass, jlong j_p) {
return JavaStringFromStdString(
jni, reinterpret_cast<MediaStreamTrackInterface*>(j_p)->id());
« no previous file with comments | « webrtc/api/android/java/src/org/webrtc/VideoSource.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698