OptionalcloudOverride the cloud API base URL
OptionalcloudCloud environment: 'production' (default) or 'development'
OptionalcloudStatic cloud token (ct_xxx). Use generateCloudToken instead for auto-refresh.
OptionalconnectInitial device IDs to use when connecting
OptionalgenerateAsync function that returns a cloud token. The SDK passes { userId } so the callback can forward it to the backend.
OptionalgenerateAsync function that returns a Hiyve room token. Defaults to POSTing to /api/generate-room-token.
OptionallocalID of the HTML video element for local video preview (default: 'local-video')
OptionalonCallback invoked when a client error occurs
OptionalpersistPersist device changes to localStorage (default: false)
OptionalpresenceEnable automatic presence heartbeat. When true, the CloudClient signals the server that the current user is online. Heartbeat starts when the user authenticates and stops on unmount or logout.
Options for creating a HiyveStore instance