Browser SDK
Build voice, video and chat applications for the browser
v3
Deprecated
keys
Promise<void>
Deletes the specified keys from the metadata for this RoomSession.
The keys to remove.
room.set_meta
You need to specify the permissions when creating the Video Room Token on the server side.
1roomSession.on("room.updated", (e) => {2 // We can set an event listener to log changes to the metadata.3 console.log(e.room.meta);4});56await roomSession.setMeta({ foo: "bar", baz: true });7// The logger will now print `{ foo: "bar", baz: true }`89await roomSession.deleteMeta(["foo"]);10// The logger will now print `{ baz: true }`