Add pruneTurnPorts to the java RTCConfiguration.
And adds a log about the flag. BUG= R=pthatcher@webrtc.org Review URL: https://codereview.webrtc.org/2118873002 . Cr-Commit-Position: refs/heads/master@{#13369}
This commit is contained in:
@ -146,6 +146,7 @@ public class PeerConnection {
|
||||
public KeyType keyType;
|
||||
public ContinualGatheringPolicy continualGatheringPolicy;
|
||||
public int iceCandidatePoolSize;
|
||||
public boolean pruneTurnPorts;
|
||||
public boolean presumeWritableWhenFullyRelayed;
|
||||
|
||||
public RTCConfiguration(List<IceServer> iceServers) {
|
||||
@ -162,6 +163,7 @@ public class PeerConnection {
|
||||
keyType = KeyType.ECDSA;
|
||||
continualGatheringPolicy = ContinualGatheringPolicy.GATHER_ONCE;
|
||||
iceCandidatePoolSize = 0;
|
||||
pruneTurnPorts = false;
|
||||
presumeWritableWhenFullyRelayed = false;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user