OptionalonCallback for when the connection status changes. The listener is removed when the component unmounts.
The change object.
OptionalonCallback for when the room status changes. The listener is removed when the component unmounts.
The change object.
The parameters for the useRoom hook.