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 8e274a4721e10b41d4cb44052160a467775da99e..cafac906bbe85810b42a52b000e2172a6163aea4 100644 |
--- a/talk/app/webrtc/java/jni/peerconnection_jni.cc |
+++ b/talk/app/webrtc/java/jni/peerconnection_jni.cc |
@@ -1409,6 +1409,9 @@ JOW(jlong, PeerConnectionFactory_nativeCreatePeerConnection)( |
"Lorg/webrtc/PeerConnection$KeyType;"); |
jobject j_key_type = GetObjectField(jni, j_rtc_config, j_key_type_id); |
+ jfieldID j_ice_continue_getting_ports_id = |
+ GetFieldID(jni, j_rtc_config_class, "iceContinueGettingPorts", "Z"); |
+ |
PeerConnectionInterface::RTCConfiguration rtc_config; |
rtc_config.type = |
JavaIceTransportsTypeToNativeType(jni, j_ice_transports_type); |
@@ -1424,6 +1427,8 @@ JOW(jlong, PeerConnectionFactory_nativeCreatePeerConnection)( |
jni, j_rtc_config, j_audio_jitter_buffer_fast_accelerate_id); |
rtc_config.ice_connection_receiving_timeout = |
GetIntField(jni, j_rtc_config, j_ice_connection_receiving_timeout_id); |
+ rtc_config.ice_continue_getting_ports = |
+ GetBooleanField(jni, j_rtc_config, j_ice_continue_getting_ports_id); |
// Create ECDSA certificate. |
if (JavaKeyTypeToNativeType(jni, j_key_type) == rtc::KT_ECDSA) { |