Room Scope
Establishes a room scope which remembers a Room object which can be accessed through the RoomLocal composition local.
Parameters
the url of the livekit server to connect to.
the token to connect to livekit with.
enable or disable audio. Defaults to false.
enable or disable video. Defaults to false.
whether the room should connect to the server. Defaults to true.
options to pass to the Room.
overrides to pass to the Room. Will not reflect changes beyond the initial creation.
options to use when connecting. Will not reflect changes if already connected.
a listener to be called upon room connection.
a listener to be called upon room disconnection.
a listener to be called upon room error.
if a Room is provided, it will be used. If null, a new Room will be created instead.