how do i change room.name
# ask-ai
l
how do i change room.name
t
Thanks for reaching out, Pavan. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I wanted to share that the
room.name
in LiveKit is set when the room is created and can’t be changed afterward, as it serves as a unique identifier for the room. But don’t worry! If you want to update some details about the room, here are a couple of friendly options you can try: • You can update the room’s metadata using the
UpdateRoomMetadata
API, which everyone in the room will be able to see. • If it’s about the participant’s name, you can change the local participant’s name using SDK methods like
set_name()
in the Rust SDK or
SetLocalNameRequest
in the Node.js and Python SDKs. And if you really need a room with a different name, creating a new room with a unique name is the way to go. Please feel free to reach out if you’d like a hand with any of these steps—I’m here to help! Sources: Rooms, participants, and tracks | LiveKit Docs | Avoiding Room ID Reuse When Re-Creating Rooms With the Same Name | Agents telephony integration | LiveKit Docs | Room metadata | LiveKit Docs | livekit/src/room/participant/local_participant.rs