accessToken.addGrants(new RoomJoin(true), new Room...
# ask-ai
a
accessToken.addGrants(new RoomJoin(true), new RoomName("room-test"), new Hidden(true), new CanSubscribe(true),CanPublish(false), new CanPublishData(false)); Set user A to only subscribe to streams when entering the livekit room, without publishing streams, and keep them hidden. Will other users subscribe to User A's stream at this time, and will User A notify other users when they leave the room
t
Thanks for reaching out, 徐旭. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I'm sorry, but I don't have the information you need at the moment. If you would like a member of the LiveKit team to respond, please ask your question in one of the other channels.