Enable WebRTC-BindUsingInterfaceName/Enabled/

This makes 464XLAT networks (such as T-Mobile LTE) work.

https://bugs.chromium.org/p/webrtc/issues/detail?id=10707
This commit is contained in:
Stephen Paul Weber 2022-03-08 15:14:08 -05:00 committed by Daniel Gultsch
parent 330980391c
commit 78048bbd3d

View file

@ -233,7 +233,9 @@ public class WebRTCWrapper {
public void setup(final XmppConnectionService service, final AppRTCAudioManager.SpeakerPhonePreference speakerPhonePreference) throws InitializationException { public void setup(final XmppConnectionService service, final AppRTCAudioManager.SpeakerPhonePreference speakerPhonePreference) throws InitializationException {
try { try {
PeerConnectionFactory.initialize( PeerConnectionFactory.initialize(
PeerConnectionFactory.InitializationOptions.builder(service).createInitializationOptions() PeerConnectionFactory.InitializationOptions.builder(service)
.setFieldTrials("WebRTC-BindUsingInterfaceName/Enabled/")
.createInitializationOptions()
); );
} catch (final UnsatisfiedLinkError e) { } catch (final UnsatisfiedLinkError e) {
throw new InitializationException("Unable to initialize PeerConnectionFactory", e); throw new InitializationException("Unable to initialize PeerConnectionFactory", e);