Quick mode New

Package, App Key, init: video and voice calls with no backend.

No backend needed: add your App Key in the app and start calling. A server is optional, for production hardening.

Available onnpmpub.devJitPackSwift Package ManagerGitHub

What Quick mode is

Three things, and nothing on your server:

  1. The package for your platform, from its public registry (pub.dev, npm, JitPack or Swift Package Manager).
  2. The App Key, from the console under Projects → Quick mode.
  3. init with the App Key and your own id of the signed-in user, then startCall or joinCall.
terminal
flutter pub add titli_video_sdk

# or in pubspec.yaml
dependencies:
  titli_video_sdk: ^0.2.0

The same App Key also reaches Live Hosts, Live Streams, gifts and chat from the app. Every route and parameter it can use is on the Client API (Quick mode) page; a step-by-step first call is in the Quickstart.

The App Key is publishable, not a secret: it can only reach the app-facing routes, it is bound to your package name, bundle ID or website, and spend and usage caps fence it. The binding is a deterrent, not a lock (a determined attacker can copy an app's identity), so the caps are what limit the damage. For strict control, add server tokens (production hardening below).

Set in your dashboard vs. set in code

SettingWhere
App Key, its bindings (package name, bundle ID, website, signing certificate) and Quick-mode capsDashboard: Console → Projects → Quick mode
Daily spend cap of a projectDashboard: Console → Projects
Minutes per user per day and the longest Quick-mode callDashboard: Console → Projects → Quick mode
Who the user is (user id, display name)Code: init / setUser in the app
Call lengthCode: max_duration_seconds when you create the call, or the project default

Bindings: which apps may use the key

Add every app that may use the App Key in the console. A request from anything else is refused with APP_NOT_ALLOWED (AB-403).

PlatformWhat you add
AndroidPackage name (applicationId), and if you like the SHA-256 of your signing certificate
iOSBundle ID
WebWebsite origin, for example https://app.example.com (or http://localhost:5173 while you develop)

The binding is a deterrent, not a lock: an app's identity can be copied. The caps below are what limit any damage.

Caps

  • Daily spend cap for Quick mode, per project: when it is reached, new calls get QUICK_DAILY_CAP_REACHED (QC-402).
  • Minutes per user per day: when a user has used them, END_USER_DAILY_LIMIT (UM-429); a running call ends with that reason.
  • Longest call: max_duration_seconds is capped by the Quick-mode call length.
  • Rate limits per IP and per device.

Quick-mode calls are paid from the same prepaid balance at the same prices as any other call.

Error codes

Every SDK raises one error type with a short message you can show your users as is (userMessage, userMessageHi). The full text of each code is on Error codes.

CodeShort codeHTTPWhen
APP_KEY_INVALIDAK-401401The App Key is missing, wrong, rotated away or disabled.
QUICK_DAILY_CAP_REACHEDQC-402402The project's Quick-mode daily spend cap is reached.
QUICK_MODE_OFFQM-403403Quick mode is switched off for the project, or paused by us.
APP_NOT_ALLOWEDAB-403403The package name, bundle ID, website or signing certificate is not on the key's allowlist.
END_USER_DAILY_LIMITUM-429429This user used today's minutes (also the end reason when a call is cut).

Never retry a 4xx answer except 429 (wait for Retry-After); back off 1 s, 2 s, 4 s on a 5xx answer.

When to move to server tokens

Stay on Quick mode while the caps are enough control. Move to server tokens when you need any of these:

  • your server must decide who joins which call, for how long and in which role (paid consultations, verified users only);
  • you cannot accept that anyone holding the App Key can claim any user id;
  • you need the server-only routes anyway: balance, usage, receipts, webhooks setup, gift prices, keys.

Production hardening (optional): server tokens

You do not need a server to start: Quick mode works with the App Key alone. Add a server when you want strict control over every call (who joins which call, for how long, in which role): keep the project key on your server and mint a short-lived join token per person there. The app uses the same SDK and hands it a token instead of the App Key. Both ways can run side by side.

The move needs no new SDK: keep init for the user, have your server create calls and mint tokens (Authentication, REST API) and pass the token to the existing connect call. Switch Quick mode off in the console once every app version uses server tokens (QUICK_MODE_OFF, QM-403).

Start free