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 04289a92b0f818e331ab25f1f4a695ae51066dd0..b23a34b756e524105fd33b8dfc8fcfb8f5adb4e1 100644 |
--- a/talk/app/webrtc/java/jni/peerconnection_jni.cc |
+++ b/talk/app/webrtc/java/jni/peerconnection_jni.cc |
@@ -1479,6 +1479,13 @@ JOW(void, PeerConnection_setRemoteDescription)( |
observer, JavaSdpToNativeSdp(jni, j_sdp)); |
} |
+JOW(void, PeerConnection_setIceConnectionReceivingTimeout)(JNIEnv* jni, |
+ jobject j_pc, |
+ jint timeout_ms) { |
+ return ExtractNativePC(jni, j_pc) |
+ ->SetIceConnectionReceivingTimeout(timeout_ms); |
+} |
+ |
JOW(jboolean, PeerConnection_updateIce)( |
JNIEnv* jni, jobject j_pc, jobject j_ice_servers, jobject j_constraints) { |
PeerConnectionInterface::IceServers ice_servers; |