Index: talk/app/webrtc/java/src/org/webrtc/PeerConnection.java |
diff --git a/talk/app/webrtc/java/src/org/webrtc/PeerConnection.java b/talk/app/webrtc/java/src/org/webrtc/PeerConnection.java |
index 829f0fb297b458395f978c0773648bb80597e455..bb1940778b4cf904567c7b4cbad889dede52bc76 100644 |
--- a/talk/app/webrtc/java/src/org/webrtc/PeerConnection.java |
+++ b/talk/app/webrtc/java/src/org/webrtc/PeerConnection.java |
@@ -138,6 +138,7 @@ public class PeerConnection { |
public TcpCandidatePolicy tcpCandidatePolicy; |
public int audioJitterBufferMaxPackets; |
public boolean audioJitterBufferFastAccelerate; |
+ public int iceConnectionReceivingTimeout; |
public RTCConfiguration(List<IceServer> iceServers) { |
iceTransportsType = IceTransportsType.ALL; |
@@ -147,6 +148,7 @@ public class PeerConnection { |
this.iceServers = iceServers; |
audioJitterBufferMaxPackets = 50; |
audioJitterBufferFastAccelerate = false; |
+ iceConnectionReceivingTimeout = 2500; |
juberti
2015/08/27 18:51:30
Can we set these to -1 and have the default values
honghaiz3
2015/08/27 20:06:22
Good point! I also set the value in peerconnection
|
} |
}; |
@@ -180,8 +182,6 @@ public class PeerConnection { |
public native void setRemoteDescription( |
SdpObserver observer, SessionDescription sdp); |
- public native void setIceConnectionReceivingTimeout(int timeoutMs); |
- |
public native boolean updateIce( |
List<IceServer> iceServers, MediaConstraints constraints); |