KingRTCKitDocs

ResourcesMigrate from Livqeno

Migrate from Livqeno

Livqeno is now KingRTCKit. What changed in package names, the CLI and environment variables, and what stays the same.

Livqeno is now KingRTCKit. This page lists what was renamed, what keeps working under the old name, and what did not change at all, so you can move over at your own pace.

What changed

AreaBeforeNow
npm scope@livqeno/*@kingrtckit/*
CLI commandlivqenokingrtckit (the livqeno command is kept as an alias)
Environment variablesLIVQENO_*KINGRTCKIT_*
TypeScript main classLivqenoKingRTCKit (same class, so instanceof works with both names)
React components and hooksLivqenoRoom, LivqenoChat, useLivqeno()KingRTCKitRoom, KingRTCKitChat, useKingRTCKit()
Chat errorsLivqenoChatError and friendsKingRTCKitChatError and friends

Packages

Swap the scope in your package.json and your imports:

// before
import { Livqeno } from '@livqeno/server';
// after
import { KingRTCKit } from '@kingrtckit/server';

The old @livqeno/* packages stay installed and keep working. The old export names (Livqeno, LivqenoRoom, ...) are still exported by the new packages as aliases of the same values, so you can rename imports file by file.

CLI

Use kingrtckit from now on. livqeno runs the same program, so scripts and CI jobs need no change.

Environment variables

Set KINGRTCKIT_API_KEY, KINGRTCKIT_API_URL and the rest of the KINGRTCKIT_* names.

  • The CLI reads KINGRTCKIT_* first, then falls back to LIVQENO_*, then SWALVO_*. Existing CI jobs keep working.
  • The server SDKs never read environment variables themselves. Your code reads them and passes the values in, so nothing falls back for you. Rename the variable where you read it.

What did not change

  • API hosts, such as api.livqeno.com. They move later; you do not need to change anything now.
  • Error codes, such as INVALID_TOKEN or RATE_LIMITED, and the HTTP error body.
  • Webhook header names (Swalvo-Signature, Swalvo-Event-Id, Swalvo-Event-Type, plus the older Raven-* copies). Verifiers keep reading them.
  • Data-channel and wire strings used between the SDKs, the SFU and the chat service.
  • Python and Go. The Python package is still livqeno with the Livqeno and AsyncLivqeno classes, and the Go package is still livqeno. Flutter, Android and iOS package and class names are unchanged too.

Checklist

  1. Install the @kingrtckit/* packages once they are published.
  2. Change imports from @livqeno/* to @kingrtckit/*.
  3. Rename Livqeno* identifiers to KingRTCKit* when convenient. Both work.
  4. Rename LIVQENO_* variables to KINGRTCKIT_* in your own code and deploy configuration.
  5. Use kingrtckit in new scripts.