Index: talk/app/webrtc/java/jni/peerconnection_jni.cc |
diff --git a/talk/app/webrtc/java/jni/peerconnection_jni.cc b/talk/app/webrtc/java/jni/peerconnection_jni.cc |
index 69078e6b7e9cbaf7cbc76b512185548174825bd5..cc362ef07118e2f34496ced82bc1735a7386badf 100644 |
--- a/talk/app/webrtc/java/jni/peerconnection_jni.cc |
+++ b/talk/app/webrtc/java/jni/peerconnection_jni.cc |
@@ -250,6 +250,14 @@ class PCOJava : public PeerConnectionObserver { |
CHECK_EXCEPTION(jni()) << "error during CallVoidMethod"; |
} |
+ void OnIceFlakinessChange(bool flaky) override { |
pthatcher1
2015/06/24 23:42:52
We need to think of a better name than "IceFlakine
|
+ ScopedLocalRefFrame local_ref_frame(jni()); |
+ jmethodID m = GetMethodID( |
+ jni(), *j_observer_class_, "onIceFlakinessChange", "(Z)V"); |
+ jni()->CallVoidMethod(*j_observer_global_, m, flaky); |
+ CHECK_EXCEPTION(jni()) << "error during CallVoidMethod"; |
+ } |
+ |
void OnIceGatheringChange( |
PeerConnectionInterface::IceGatheringState new_state) override { |
ScopedLocalRefFrame local_ref_frame(jni()); |