I would like to list hidden participants from my f...
# ask-ai
i
I would like to list hidden participants from my frontend, using livekit js sdk, is it possible
g
It seems likely that listing hidden participants directly from the frontend using the LiveKit JS SDK is not explicitly mentioned in the data sources. The
hidden
property in the VideoGrant interface allows a participant to be invisible to others, but there is no direct mention of listing such participants from the frontend. Would you like more details on how to manage participant visibility or permissions using LiveKit's server-side capabilities? Sources: - VideoGrant interface 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.
i
@millions-hair-24956 Do i need to query the api from my frontend to get the list of hidden participants ?
g
It seems likely that querying the API from your frontend to get a list of hidden participants is not directly supported by the LiveKit JS SDK. The
hidden
property is typically managed server-side, and there is no explicit mention in the data sources about retrieving hidden participants from the frontend. If you need to manage or list hidden participants, it might be necessary to handle this logic on the server side and then expose the necessary data to your frontend through a custom API endpoint. Would you like more information on how to set up such a server-side solution? Sources: - https://docs.livekit.io/home/server/managing-participants/ - https://docs.livekit.io/server/room-management/ Note: I wasn’t able to find highly relevant data sources, but above are a few potentially relevant links. 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.