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

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

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
Index: webrtc/api/java/jni/peerconnection_jni.cc
diff --git a/webrtc/api/java/jni/peerconnection_jni.cc b/webrtc/api/java/jni/peerconnection_jni.cc
index 1ff471b9bc711e913ea9a009175bb1a557c5367b..d2fe15a0e5ce7b2f5cf10679afbccd62a3b6eb47 100644
--- a/webrtc/api/java/jni/peerconnection_jni.cc
+++ b/webrtc/api/java/jni/peerconnection_jni.cc
@@ -1956,14 +1956,6 @@ JOW(jobject, MediaStreamTrack_nativeState)(JNIEnv* jni, jclass, jlong j_p) {
reinterpret_cast<MediaStreamTrackInterface*>(j_p)->state());
}
-JOW(jboolean, MediaStreamTrack_nativeSetState)(
- JNIEnv* jni, jclass, jlong j_p, jint j_new_state) {
- MediaStreamTrackInterface::TrackState new_state =
- (MediaStreamTrackInterface::TrackState)j_new_state;
- return reinterpret_cast<MediaStreamTrackInterface*>(j_p)
- ->set_state(new_state);
-}
-
JOW(jboolean, MediaStreamTrack_nativeSetEnabled)(
JNIEnv* jni, jclass, jlong j_p, jboolean enabled) {
return reinterpret_cast<MediaStreamTrackInterface*>(j_p)
« no previous file with comments | « talk/app/webrtc/objc/public/RTCMediaStreamTrack.h ('k') | webrtc/api/java/src/org/webrtc/MediaStreamTrack.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698