Remove the possibility to disable IPv6 in Java and ObjC.

It's deprecated and has been removed from Chrome. Let's follow suite.

// Passing all but unrelated bots
NOTRY=True

Bug: webrtc:14608
Change-Id: I6f2601af5b1dc08164230ebf15db2d2f1754f9e5
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/280740
Reviewed-by: Harald Alvestrand <hta@webrtc.org>
Commit-Queue: Henrik Boström <hbos@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#38488}
This commit is contained in:
Henrik Boström
2022-10-27 13:36:02 +02:00
committed by WebRTC LUCI CQ
parent e6ec81a89c
commit f36d607c4a
7 changed files with 5 additions and 44 deletions

View File

@ -524,7 +524,6 @@ public class PeerConnection {
// These values will be overridden by MediaStream constraints if deprecated constraints-based
// create peerconnection interface is used.
public boolean disableIpv6;
public boolean enableDscp;
public boolean enableCpuOveruseDetection;
public boolean suspendBelowMinBitrate;
@ -604,7 +603,6 @@ public class PeerConnection {
stableWritableConnectionPingIntervalMs = null;
disableIPv6OnWifi = false;
maxIPv6Networks = 5;
disableIpv6 = false;
enableDscp = false;
enableCpuOveruseDetection = true;
suspendBelowMinBitrate = false;
@ -769,11 +767,6 @@ public class PeerConnection {
return turnCustomizer;
}
@CalledByNative("RTCConfiguration")
boolean getDisableIpv6() {
return disableIpv6;
}
@CalledByNative("RTCConfiguration")
boolean getEnableDscp() {
return enableDscp;