Show accurate current group call participants in lobby header.

This commit is contained in:
Cody Henthorne
2020-12-09 11:53:59 -05:00
committed by GitHub
parent 974c33fe37
commit 5d4922ed8d
2 changed files with 5 additions and 3 deletions

View File

@@ -114,7 +114,8 @@ public class GroupPreJoinActionProcessor extends GroupActionProcessor {
WebRtcServiceStateBuilder.CallInfoStateBuilder builder = currentState.builder()
.changeCallInfoState()
.remoteDevicesCount(peekInfo.getDeviceCount())
.participantLimit(peekInfo.getMaxDevices());
.participantLimit(peekInfo.getMaxDevices())
.clearParticipantMap();
for (Recipient recipient : callParticipants) {
builder.putParticipant(recipient, CallParticipant.createRemote(new CallParticipantId(recipient), recipient, null, new BroadcastVideoSink(null), true, true, 0, false, 0));