livekit icon indicating copy to clipboard operation
livekit copied to clipboard

Feature Request: Filter option for remoteParticipants of Room.

Open edutilos6666 opened this issue 11 months ago • 2 comments

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?

edutilos6666 avatar Mar 05 '24 10:03 edutilos6666

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'.

davidzhao avatar Mar 06 '24 01:03 davidzhao

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.

edutilos6666 avatar Mar 06 '24 10:03 edutilos6666