@cubickle/web
v0.2.0
Published
Browser and LiveKit web session adapter for the Cubickle SDK.
Maintainers
Readme
@cubickle/web
Browser adapter for Cubickle.
What it contains:
- LiveKit web session wrapper
- connect and disconnect helpers
- camera, microphone, and screen share controls
- Cubickle room event helpers for chat and raise hand
Typical usage:
import { CubickleClient } from "@cubickle/core";
import { CubickleWebSession } from "@cubickle/web";
const client = new CubickleClient({
baseUrl: "http://localhost:8000",
appToken: "<key_id>.<raw_secret>",
});
const session = new CubickleWebSession({
client,
serverUrl: "wss://your-livekit-server",
});