Skip to main content
useRoom() : Object | null Returns room, domain, and token configuration properties, or null if no room has been set for the call.

Return value

One of the following objects:
  • An object detailing information about the room that has been specified, but not yet joined
  • An object detailing information about the current Daily room
For the full shape of the returned object, see room().

Example

See also

daily-js methods