Skip to content

Add total participant count to stateful client#2679

Merged
JamesBurnside merged 6 commits intomainfrom
jaburnsi/add-total-participant-count-to-stateful-client
Jan 27, 2023
Merged

Add total participant count to stateful client#2679
JamesBurnside merged 6 commits intomainfrom
jaburnsi/add-total-participant-count-to-stateful-client

Conversation

@JamesBurnside
Copy link
Copy Markdown
Member

@JamesBurnside JamesBurnside commented Jan 25, 2023

What

Add Call object's totalParticipantCount to stateful client

Why

RemoteParticipants array maxes out at 100. TotalParticipantCount allows for UI affordance to show when there are more participants than that and display some sort of "+X more"

How Tested

From testing, I saw that if you are the only person in the call the totalParticipantCount is undefined, here is the logs when someone joined, went from undefined (only me in the call), to two:
image

otherwise was reporting as expected, participant joins:
image

participant leaves:
image

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 25, 2023

Chat bundle size is not changed.

  • Current size: 5643543
  • Base size: 5643543
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 25, 2023

Calling bundle size is increased❗.

  • Current size: 5558916
  • Base size: 5558411
  • Diff size: 505

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 25, 2023

CallWithChat bundle size is increased❗.

  • Current size: 5943417
  • Base size: 5942912
  • Diff size: 505

@JamesBurnside JamesBurnside enabled auto-merge (squash) January 27, 2023 23:27
@github-actions
Copy link
Copy Markdown
Contributor

@JamesBurnside JamesBurnside merged commit 6f25064 into main Jan 27, 2023
@JamesBurnside JamesBurnside deleted the jaburnsi/add-total-participant-count-to-stateful-client branch January 27, 2023 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants