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

Unified Diff: webrtc/api/java/src/org/webrtc/MediaStreamTrack.java

Issue 1816143002: Removed MediaStreamTrackInterface::set_state (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@track_state_listen_on_source2
Patch Set: Rebased Created 4 years, 9 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/java/jni/peerconnection_jni.cc ('k') | webrtc/api/mediastream_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/java/src/org/webrtc/MediaStreamTrack.java
diff --git a/webrtc/api/java/src/org/webrtc/MediaStreamTrack.java b/webrtc/api/java/src/org/webrtc/MediaStreamTrack.java
index a0063fbd51ec1260fd2cf1ab2053fc4431b74972..49b2210cf9c474c772e29996f6a18938651b6bd8 100644
--- a/webrtc/api/java/src/org/webrtc/MediaStreamTrack.java
+++ b/webrtc/api/java/src/org/webrtc/MediaStreamTrack.java
@@ -41,10 +41,6 @@ public class MediaStreamTrack {
return nativeState(nativeTrack);
}
- public boolean setState(State newState) {
- return nativeSetState(nativeTrack, newState.ordinal());
- }
-
public void dispose() {
free(nativeTrack);
}
@@ -60,8 +56,5 @@ public class MediaStreamTrack {
private static native State nativeState(long nativeTrack);
- private static native boolean nativeSetState(
- long nativeTrack, int newState);
-
private static native void free(long nativeTrack);
}
« no previous file with comments | « webrtc/api/java/jni/peerconnection_jni.cc ('k') | webrtc/api/mediastream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698