Force relays only if remote user is not a 'Signal Connection'.
This commit is contained in:
parent
767261152a
commit
f16827d9ec
2 changed files with 3 additions and 2 deletions
|
@ -94,7 +94,7 @@ public class IncomingCallActionProcessor extends DeviceAwareActionProcessor {
|
|||
return currentState;
|
||||
}
|
||||
|
||||
boolean hideIp = !activePeer.getRecipient().isSystemContact() || callSetupState.isAlwaysTurnServers();
|
||||
boolean hideIp = !activePeer.getRecipient().isProfileSharing() || callSetupState.isAlwaysTurnServers();
|
||||
VideoState videoState = currentState.getVideoState();
|
||||
CallParticipant callParticipant = Objects.requireNonNull(currentState.getCallInfoState().getRemoteCallParticipant(activePeer.getRecipient()));
|
||||
|
||||
|
|
|
@ -144,6 +144,7 @@ public class OutgoingCallActionProcessor extends DeviceAwareActionProcessor {
|
|||
return currentState;
|
||||
}
|
||||
|
||||
boolean hideIp = !activePeer.getRecipient().isProfileSharing() || callSetupState.isAlwaysTurnServers();
|
||||
VideoState videoState = currentState.getVideoState();
|
||||
CallParticipant callParticipant = Objects.requireNonNull(currentState.getCallInfoState().getRemoteCallParticipant(activePeer.getRecipient()));
|
||||
|
||||
|
@ -157,7 +158,7 @@ public class OutgoingCallActionProcessor extends DeviceAwareActionProcessor {
|
|||
callParticipant.getVideoSink(),
|
||||
videoState.requireCamera(),
|
||||
callSetupState.getIceServers(),
|
||||
callSetupState.isAlwaysTurnServers(),
|
||||
hideIp,
|
||||
NetworkUtil.getCallingDataMode(context),
|
||||
AUDIO_LEVELS_INTERVAL,
|
||||
currentState.getCallSetupState(activePeer).isEnableVideoOnCreate());
|
||||
|
|
Loading…
Add table
Reference in a new issue