Construct an RTCForgeClient with sensible defaults: reconnect on and a warn-level console consoleLogger when none is supplied, so silent drops and validation failures are visible during development. Anything you set overrides the defaults.
warn
Standard RTCForgeClientOptions; serverUrl is required.
serverUrl
A ready client — call RTCForgeClient.joinRoom to join.
import { createClient } from 'rtcforge-sdk'const room = await createClient({ serverUrl, token }).joinRoom('general') Copy
import { createClient } from 'rtcforge-sdk'const room = await createClient({ serverUrl, token }).joinRoom('general')
Construct an RTCForgeClient with sensible defaults: reconnect on and a
warn-level console consoleLogger when none is supplied, so silent drops and validation failures are visible during development. Anything you set overrides the defaults.