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); |
} |