Update method by which we check for remote device count.

This commit is contained in:
Alex Hart
2024-11-13 10:37:56 -04:00
committed by Greyson Parrelli
parent a44c18d13f
commit 39a5bc21dd
2 changed files with 2 additions and 2 deletions

View File

@@ -320,7 +320,7 @@ public class WebRtcCallViewModel extends ViewModel {
webRtcViewModel.isRemoteVideoEnabled(),
webRtcViewModel.isRemoteVideoOffer(),
localParticipant.isMoreThanOneCameraAvailable(),
Util.hasItems(webRtcViewModel.getRemoteParticipants()),
webRtcViewModel.getRemoteDevicesCount().orElse(0L) > 0,
webRtcViewModel.getActiveDevice(),
webRtcViewModel.getAvailableDevices(),
webRtcViewModel.getRemoteDevicesCount().orElse(0),

View File

@@ -126,7 +126,7 @@ public class GroupPreJoinActionProcessor extends GroupActionProcessor {
WebRtcServiceStateBuilder.CallInfoStateBuilder builder = currentState.builder()
.changeCallInfoState()
.remoteDevicesCount(peekInfo.getDeviceCount())
.remoteDevicesCount(peekInfo.getDeviceCountExcludingPendingDevices())
.participantLimit(peekInfo.getMaxDevices())
.clearParticipantMap();