Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Filter option for remoteParticipants of Room. #2547

Open
edutilos6666 opened this issue Mar 5, 2024 · 2 comments
Open

Feature Request: Filter option for remoteParticipants of Room. #2547

edutilos6666 opened this issue Mar 5, 2024 · 2 comments

Comments

@edutilos6666
Copy link

Hi guys,
I have following question:
Currently in react-components, when we call const participants = useParticipants(); we are getting all participants. But let's say, we have 10.000 viewers(participants) in the room. I would like to get only filtered participants (e.g. first 50 who joined first). Is it possible currently?

@davidzhao
Copy link
Member

With so many viewers, the only solution that could handle that many concurrent viewers is LiveKit Cloud.

We have a Livestream mode where viewers' metadata would not be sent to everyone, only publishers'.

@edutilos6666
Copy link
Author

I understand this part. But let's say , I want to display only 100 people when user clicks on the participant list in frontend. I want to have server side filtering option. Because if we load 10.000 users to frontend and filter in frontend, it will have performance impact on our application.

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

No branches or pull requests

2 participants