This message was deleted.
# helpdesk
s
This message was deleted.
d
Can you specify what SDK you are using? and show a snippet of code of how you are constructing the Room.
b
@dry-elephant-14928 I'm using nodejs-server sdk to create the room.
Copy code
const roomOptions = {
      name: firebaseRoomDocId, // using firebase room doc id as livekit room name
      emptyTimeout: 60, // timeout in seconds
    };
    svc.createRoom(roomOptions).then((room) => {
      console.log(`LiveKit Room created - ${room}`);
      res.json({ msg: "Room created Successfully", room: room });
    });
d
server SDK does not control what gets published. those need to be set on the client side. you can restrict what clients can publish via token permissions. https://docs.livekit.io/concepts/authentication/
b
Okay. Thanks @dry-elephant-14928