@protobase/cli 0.59.3 → 0.60.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli/package.js +1 -1
- package/dist/dev/entry.js +2 -1
- package/dist/migration/load-project.js +1 -0
- package/dist/migration/parts.js +6 -1
- package/dist/serve/lifecycle.js +2 -1
- package/package.json +7 -7
- package/skills/protobase/references/features/calls.md +1 -1
- package/skills/protobase/references/reference/calls.md +74 -21
package/dist/cli/package.js
CHANGED
package/dist/dev/entry.js
CHANGED
|
@@ -7,7 +7,7 @@ import { devRealtimePrune } from "./dev-prune.js";
|
|
|
7
7
|
import { devDatabase, loadDevConfig } from "./project.js";
|
|
8
8
|
import { withDevServiceWorker } from "./service-worker-route.js";
|
|
9
9
|
import { setMissing, supabaseEnv } from "./supabase-env.js";
|
|
10
|
-
import { apiKeySettings, assistantSettings, authSchemaDrift, authStoreTables, checkAi, checkAuthSchema, checkChanges, checkChannelSends, checkComments, checkComputed, checkNotificationsSchema, checkQueryRunner, checkRealtimeRelay, checkResourcesOutsideAuthStore, checkStatusSchema, checkWebhooksSchema, configExports, hasUsers, relayed, sqlSends } from "@protobase/server";
|
|
10
|
+
import { apiKeySettings, assistantSettings, authSchemaDrift, authStoreTables, checkAi, checkAuthSchema, checkCalls, checkChanges, checkChannelSends, checkComments, checkComputed, checkNotificationsSchema, checkQueryRunner, checkRealtimeRelay, checkResourcesOutsideAuthStore, checkStatusSchema, checkWebhooksSchema, configExports, hasUsers, relayed, sqlSends } from "@protobase/server";
|
|
11
11
|
import { upgradeWebSocket } from "@hono/node-server";
|
|
12
12
|
import { Hono } from "hono";
|
|
13
13
|
//#region src/dev/entry.ts
|
|
@@ -25,6 +25,7 @@ if (project.auth && !store.__protobaseAuthSchemaChecked) {
|
|
|
25
25
|
if (project.auth) await checkResourcesOutsideAuthStore(db, resources.map((resource) => resource.toModel()), project.auth);
|
|
26
26
|
await checkChanges(db, resources.map((resource) => resource.toModel()), project.events);
|
|
27
27
|
await checkComments(db, resources.map((resource) => resource.toModel()));
|
|
28
|
+
await checkCalls(db, project.calls);
|
|
28
29
|
await checkComputed(db, resources.map((resource) => resource.toModel()));
|
|
29
30
|
if (assistantSettings(project.options?.assistant, process.env)?.kind === "built-in") await checkQueryRunner(db, project.auth ? authStoreTables(project.auth) : {
|
|
30
31
|
tables: [],
|
|
@@ -40,6 +40,7 @@ const migrationProject = async (config, url) => {
|
|
|
40
40
|
...config.events && { events: config.events },
|
|
41
41
|
...webhooks && { webhooks },
|
|
42
42
|
...config.realtime && { realtime: config.realtime },
|
|
43
|
+
...config.calls && { calls: config.calls },
|
|
43
44
|
...notifications && { notifications },
|
|
44
45
|
...config.status && { status: checkStatusOptions(config.status) },
|
|
45
46
|
jobs,
|
package/dist/migration/parts.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { authMigrationTitle } from "../auth/migration-file.js";
|
|
2
|
-
import { authSchemaMigration, changesMigration, channelSendsMigration, commentsMigration, computedMigration, isCaptured, jobsSchemaMigration, notificationsMigration, queryRunnerMigration, realtimeRelayMigration, relayed, sqlSends, statusMigration, webhooksMigration } from "@protobase/server";
|
|
2
|
+
import { authSchemaMigration, callsMigration, changesMigration, channelSendsMigration, commentsMigration, computedMigration, isCaptured, jobsSchemaMigration, notificationsMigration, queryRunnerMigration, realtimeRelayMigration, relayed, sqlSends, statusMigration, webhooksMigration } from "@protobase/server";
|
|
3
3
|
//#region src/migration/parts.ts
|
|
4
4
|
/** Every feature the project's config enables, in the order their files are written. */
|
|
5
5
|
const migrationParts = (project) => {
|
|
@@ -51,6 +51,11 @@ const migrationParts = (project) => {
|
|
|
51
51
|
title: "The statuses table of people's own status",
|
|
52
52
|
sql: () => statusMigration(project.db, project.status, project.auth)
|
|
53
53
|
}] : [],
|
|
54
|
+
...project.calls ? [{
|
|
55
|
+
name: "calls",
|
|
56
|
+
title: "The calls on records, who is in them, and the signals between the processes serving the app",
|
|
57
|
+
sql: () => callsMigration(project.db)
|
|
58
|
+
}] : [],
|
|
54
59
|
...relayed(project.realtime) ? [{
|
|
55
60
|
name: "realtime_relay",
|
|
56
61
|
title: "The relay of Realtime broadcasts and presence between the processes serving the app",
|
package/dist/serve/lifecycle.js
CHANGED
|
@@ -9,7 +9,7 @@ import { startCleanupTimer } from "./cleanup-timer.js";
|
|
|
9
9
|
import { closeSockets } from "./close-sockets.js";
|
|
10
10
|
import { servedRelease } from "./mobile-release.js";
|
|
11
11
|
import pg from "pg";
|
|
12
|
-
import { assistantSettings, authStoreTables, backgroundSettled, checkAi, checkAuthSchema, checkChanges, checkChannelSends, checkComments, checkComputed, checkJobsSchema, checkNotificationsSchema, checkQueryRunner, checkRealtimeRelay, checkResourcesOutsideAuthStore, checkStatusSchema, checkWebhooksSchema, configExports, createFileCleanup, relayed, sqlSends, startJobs } from "@protobase/server";
|
|
12
|
+
import { assistantSettings, authStoreTables, backgroundSettled, checkAi, checkAuthSchema, checkCalls, checkChanges, checkChannelSends, checkComments, checkComputed, checkJobsSchema, checkNotificationsSchema, checkQueryRunner, checkRealtimeRelay, checkResourcesOutsideAuthStore, checkStatusSchema, checkWebhooksSchema, configExports, createFileCleanup, relayed, sqlSends, startJobs } from "@protobase/server";
|
|
13
13
|
import { createAdaptorServer, upgradeWebSocket } from "@hono/node-server";
|
|
14
14
|
//#region src/serve/lifecycle.ts
|
|
15
15
|
const listen = (server, port) => new Promise((resolve, reject) => {
|
|
@@ -31,6 +31,7 @@ const startServe = async ({ config, env, openDb = (url) => openAppDatabase(pg, u
|
|
|
31
31
|
if (env.startupChecks && project.auth) await checkResourcesOutsideAuthStore(db, resources.map((resource) => resource.toModel()), project.auth);
|
|
32
32
|
if (env.startupChecks) await checkChanges(db, resources.map((resource) => resource.toModel()), project.events);
|
|
33
33
|
if (env.startupChecks) await checkComments(db, resources.map((resource) => resource.toModel()));
|
|
34
|
+
if (env.startupChecks) await checkCalls(db, project.calls);
|
|
34
35
|
if (env.startupChecks) await checkComputed(db, resources.map((resource) => resource.toModel()));
|
|
35
36
|
if (env.startupChecks && assistantSettings(project.options?.assistant, process.env)?.kind === "built-in") await checkQueryRunner(db, project.auth ? authStoreTables(project.auth) : {
|
|
36
37
|
tables: [],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@protobase/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.60.0",
|
|
4
4
|
"description": "The protobase command: scaffold, doctor, dev, build and serve a Protobase project.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -42,12 +42,12 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@better-auth/core": "^1.7.12",
|
|
44
44
|
"@hono/node-server": "^2.1.3",
|
|
45
|
-
"@protobase/config": "0.
|
|
46
|
-
"@protobase/layout": "0.
|
|
47
|
-
"@protobase/query": "0.
|
|
48
|
-
"@protobase/schema": "0.
|
|
49
|
-
"@protobase/server": "0.
|
|
50
|
-
"@protobase/ui": "0.
|
|
45
|
+
"@protobase/config": "0.60.0",
|
|
46
|
+
"@protobase/layout": "0.60.0",
|
|
47
|
+
"@protobase/query": "0.60.0",
|
|
48
|
+
"@protobase/schema": "0.60.0",
|
|
49
|
+
"@protobase/server": "0.60.0",
|
|
50
|
+
"@protobase/ui": "0.60.0",
|
|
51
51
|
"@react-email/render": "^2.1.0",
|
|
52
52
|
"@scalar/hono-api-reference": "^0.12.10",
|
|
53
53
|
"@tailwindcss/vite": "^4.3.3",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Audio and video calls between an app's users, through LiveKit or peer to peer, with Protobase deciding who is in a call and who hears whom.
|
|
6
6
|
|
|
7
|
-
- [Calls](../reference/calls.md
|
|
7
|
+
- [Calls](../reference/calls.md) (beta): Voice and video calls on any record, with screen sharing. The record's readers see each call live, with who is in it, and you can remove someone from a call.
|
|
8
8
|
- [LiveKit](../reference/calls.md#livekit) (in development): The media goes through a LiveKit server, self-hosted or LiveKit Cloud, which Protobase speaks to for each member.
|
|
9
9
|
- [Peer to peer](../reference/calls.md#peer-to-peer) (in development): With no media server, the members' browsers send their media straight to each other, for small calls.
|
|
10
10
|
- [Admitting members](../reference/calls.md#admitting-members) (in development): A function of your own admits the caller to a call with what they may send and whose tracks they hear.
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
# Calls
|
|
4
4
|
|
|
5
|
-
Audio and video calls
|
|
5
|
+
Audio and video calls on any record of an app, through a LiveKit server or straight between browsers, with Protobase deciding who is in a call, who may send and who hears whom.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
:::caution[In development]
|
|
10
|
-
Members join through a function of your own and the browser client. Call rows, a lobby, stage mode, recording, guests and the call UI are not built yet, and only Chrome has been tested.
|
|
7
|
+
:::caution[Beta]
|
|
8
|
+
Calls live on records, with who is in them, removal and their end. A lobby, stage mode, recording, guests and the call UI are not built yet, and calls have been tested in Chromium and Firefox only.
|
|
11
9
|
:::
|
|
12
10
|
|
|
11
|
+
## Turning them on
|
|
12
|
+
|
|
13
13
|
Calls carry audio and video between an app's users. The browser runs plain WebRTC and talks only to Protobase, which relays its offers, answers and candidates to the call's media plugin, inside the Protobase server: [LiveKit](#livekit), whose server carries the media, or [peer to peer](#peer-to-peer), where the browsers send it to each other. Either way the media never passes through Protobase, which decides who is in a call, who may send and who hears whom, and apps load no media library.
|
|
14
14
|
|
|
15
15
|
```ts
|
|
@@ -26,38 +26,75 @@ export default defineConfig(({ env }) => ({
|
|
|
26
26
|
- `url`: the LiveKit server, self-hosted or LiveKit Cloud, such as `wss://livekit.example.com`.
|
|
27
27
|
- `apiKey`, `apiSecret`: the key Protobase signs each member's LiveKit token with.
|
|
28
28
|
|
|
29
|
-
Or, with no media server, `backend: { kind: 'peer' }
|
|
29
|
+
Or, with no media server, `backend: { kind: 'peer' }`: see [Peer to peer](#peer-to-peer) for its `iceServers` and `maxMembers`.
|
|
30
30
|
|
|
31
|
-
|
|
31
|
+
- `maxMinutes`: how long a call lasts at most, 240 by default. Then it ends, whoever is still in it.
|
|
32
|
+
- `processes`: `'many'` when several processes serve the app behind one address, so members that different processes serve meet in one call; `'one'`, the default, otherwise.
|
|
33
|
+
|
|
34
|
+
Without `calls`, an app has none of it: the server loads no calls code, and only a page that imports `@protobase/client/calls` bundles the browser side. With `calls`, [`protobase migration`](cli.md#migration) adds the `calls` schema, where calls and their members are kept; apply it with the project's other migrations. `protobase dev` and `protobase serve` do not start while it is missing.
|
|
32
35
|
|
|
33
36
|
Running LiveKit on your own machine: `bun run calls:up` in the Protobase repository starts one from `docker-compose.yml`, at `ws://127.0.0.1:7880` with the key `devkey` and the secret `secretsecretsecretsecretsecretsecret`.
|
|
34
37
|
|
|
35
|
-
##
|
|
38
|
+
## Calls on records
|
|
39
|
+
|
|
40
|
+
A call belongs to a record, such as a conversation or a meeting, and the record's readers see it live: who is in it, when it started and when it ended. You can remove someone from a call, a call ends by itself once everyone has left, and a peer-to-peer call has a size limit.
|
|
41
|
+
|
|
42
|
+
A record has at most one call going on: the first member to join starts it, and everyone who joins the record's call after meets them in it. Who started it, when, who joined and who was removed stay on the record once it ended, as its history.
|
|
36
43
|
|
|
37
|
-
|
|
44
|
+
### Admitting members
|
|
45
|
+
|
|
46
|
+
A member joins the call on a record through an [API function](../guides/api-functions.md) of your own, which decides whether the caller may join, then answers with `acceptWebSocket(await calls.join(member))`:
|
|
38
47
|
|
|
39
48
|
```ts
|
|
40
49
|
// functions/meeting.ts
|
|
41
50
|
import { defineFunction } from '@protobase/server'
|
|
42
51
|
|
|
43
52
|
export default defineFunction(async (request, { session, records, acceptWebSocket, calls }) => {
|
|
44
|
-
const id = new URL(request.url).searchParams.get('
|
|
45
|
-
|
|
46
|
-
const meeting = await records.get('meetings', id)
|
|
53
|
+
const id = new URL(request.url).searchParams.get('meeting')!
|
|
54
|
+
const { record: meeting } = await records.get('meetings', id)
|
|
47
55
|
return acceptWebSocket(
|
|
48
|
-
await calls.join({
|
|
56
|
+
await calls.join({
|
|
57
|
+
record: { resource: 'meetings', key: id },
|
|
58
|
+
member: String(session.user.id),
|
|
59
|
+
publish: meeting.host_id === session.user.id ? true : ['microphone'],
|
|
60
|
+
}),
|
|
49
61
|
)
|
|
50
62
|
})
|
|
51
63
|
```
|
|
52
64
|
|
|
53
65
|
| | |
|
|
54
66
|
| --- | --- |
|
|
55
|
-
| `
|
|
56
|
-
| `member` | Who joins, unique in the call, such as the
|
|
67
|
+
| `record` | The record the call is on, `{ resource, key }`. Only a signed-in caller who can read it joins: a visitor without an account is refused with 403, and one who cannot read it with the API's 404. |
|
|
68
|
+
| `member` | Who joins, unique in the call. Take it from the signed-in caller, such as `session.user.id`, never from the request: the other members know them by it. LiveKit knows the member by nothing else: no name, no metadata. |
|
|
57
69
|
| `publish` | `true` to send any source, a list of `'camera'`, `'microphone'`, `'screen'` and `'screen-audio'`, or `false` to only listen. |
|
|
58
70
|
| `hears` | Optional: which of the others' tracks the member hears, as `(track) => boolean` of `{ member, kind, source }`; every track by default. |
|
|
71
|
+
| `recheck` | Optional: the function's own checks, such as whether the caller is still invited, repeated every minute. Throw a 401, 403 or 404 problem to take the member out. |
|
|
72
|
+
|
|
73
|
+
The socket is checked again every minute, like any function's, and so is the caller's read of the record, then `recheck`: a member who can no longer read the record, or whom `recheck` refuses, is out of the call within the minute, and so is one whose check fails or takes longer than a minute. Pass your own check as `recheck` to `calls.join`, not on the events it returns, which would replace the record's check. A member who joins the same call again, from another tab, takes the place of their first socket.
|
|
74
|
+
|
|
75
|
+
### Who is in it
|
|
76
|
+
|
|
77
|
+
Each member's browser gets everyone in the call, themselves too, members who send nothing included, whenever that changes: `onMembers` of `joinCall`, and `call.members()`, as `[{ member, joined_at }]`. A change made on the process that serves a member reaches them at once; one made on another process, within a second.
|
|
78
|
+
|
|
79
|
+
The record's readers get its calls, each with who is in it now, at `GET /api/{resource}/{key}:calls`, the one going on first, then the newest, 20 at most:
|
|
80
|
+
|
|
81
|
+
```json
|
|
82
|
+
{ "items": [{ "id": "4b1f…", "started_by": "ann", "started_at": "2026-10-29T10:00:00.000Z", "ended_at": null, "members": [{ "member": "ann", "joined_at": "2026-10-29T10:00:00.000Z" }], "removed": [] }] }
|
|
83
|
+
```
|
|
59
84
|
|
|
60
|
-
|
|
85
|
+
With `?watch=true` the same comes as a `text/event-stream`, each event's data `{ items }`, at once and whenever the calls change; the stream ends once its user can no longer read the record, at the next minute's check. Who reads a record reads its calls: the same operation, tenant, row filter and record-level rule as a get, and a record the caller cannot read is a 404 whether or not it has a call. A visitor without an account is refused. `client.calls(resource, key)` and `client.watchCalls(resource, key, { onCalls })` of `@protobase/client` read and follow them, and `calls.of({ resource, key })` in a function gives them to your own code, with no access check, like `db`. Readers see who is in a call, never the members' signaling or network addresses. <gap>A list cannot show its records' calls live because a stream of several records' calls is not implemented.</gap>
|
|
86
|
+
|
|
87
|
+
### Removing someone
|
|
88
|
+
|
|
89
|
+
`calls.remove(call, member)` in a function takes the member out of the call at once, the call's `id` as `joinCall`'s `call.id` and the record's calls give it. Their sockets close, with `removed` as the reason `onState` gets, the others' browsers close their connections to them, and the call keeps the removal: the member's resume and every join of theirs to that call are refused, also one already on its way. It returns whether they were in the call; a removal from a call that ended, or of someone in another call, changes nothing. Who may remove whom is your function's to decide.
|
|
90
|
+
|
|
91
|
+
### The end of a call
|
|
92
|
+
|
|
93
|
+
A call ends when its last member left. A member whose socket was lost stays in the call for 30 seconds while their browser resumes, so a call whose members all lost their connection, or whose server process stopped, ends 30 seconds later. A call also ends at `maxMinutes`, whoever is still in it: the server closes every member out. A call that ended stays ended: a resume of it is refused, and the next join starts a new call on the record.
|
|
94
|
+
|
|
95
|
+
### Size
|
|
96
|
+
|
|
97
|
+
A peer-to-peer call admits `maxMembers` at most, 8 by default. One more is refused with the reason `full`, which `onState` gets as `{ state: 'left', reason: 'full' }`, for the app to say "This call is full". A member who joins the call again from another tab is no one more.
|
|
61
98
|
|
|
62
99
|
## Joining from the browser
|
|
63
100
|
|
|
@@ -67,8 +104,9 @@ The socket is checked again every minute like any function's: a caller who would
|
|
|
67
104
|
import { joinCall } from '@protobase/client/calls'
|
|
68
105
|
|
|
69
106
|
const call = await joinCall({
|
|
70
|
-
url: `/api/functions/meeting?
|
|
107
|
+
url: `/api/functions/meeting?meeting=${id}`,
|
|
71
108
|
onTracks: (tracks) => render(tracks), // [{ sid, member, kind, source, muted, track? }]
|
|
109
|
+
onMembers: (members) => showMembers(members), // [{ member, joined_at }]
|
|
72
110
|
onState: (state) => showState(state), // connecting, joined, resuming, or left with its reason
|
|
73
111
|
})
|
|
74
112
|
const media = await navigator.mediaDevices.getUserMedia({ video: true, audio: true })
|
|
@@ -84,11 +122,13 @@ await call.publish({ camera: media.getVideoTracks()[0], microphone: media.getAud
|
|
|
84
122
|
| `restartIce()` | New network paths, such as after a network change; a failed connection restarts by itself. |
|
|
85
123
|
| `leave()` | Leaves the call. |
|
|
86
124
|
|
|
87
|
-
`onSpeakers` gets who speaks how loudly, and `onUnpublished` a source the media server stopped, such as after the member lost the right to send.
|
|
125
|
+
`call.id` is the call, as the record's calls list it and `calls.remove` takes it. `onSpeakers` gets who speaks how loudly, and `onUnpublished` a source the media server stopped, such as after the member lost the right to send.
|
|
126
|
+
|
|
127
|
+
A call that is left rejects the join, or ends a joined call, with its reason in `onState`: `ended`, `removed` (by `calls.remove`, or by a check that refused the member), `full`, `refused` (the function refused the caller), or `unavailable`, when the server failed to take the member in `maxRetries` times in a row.
|
|
88
128
|
|
|
89
129
|
## Reconnecting
|
|
90
130
|
|
|
91
|
-
When the socket to Protobase closes, such as during a deploy, media keeps flowing and the browser opens a new socket that resumes the member from its own state
|
|
131
|
+
When the socket to Protobase closes, such as during a deploy, media keeps flowing and the browser opens a new socket that resumes the member from its own state, through the function again, so a member who can no longer read the record, or was removed, is refused. Any process serving the app can take it; when LiveKit no longer knows the member, the browser joins again and sends the same tracks. After `maxRetries` tries in a row, 8 by default, the call is left.
|
|
92
132
|
|
|
93
133
|
## LiveKit
|
|
94
134
|
|
|
@@ -96,8 +136,21 @@ When the socket to Protobase closes, such as during a deploy, media keeps flowin
|
|
|
96
136
|
|
|
97
137
|
## Peer to peer
|
|
98
138
|
|
|
99
|
-
`kind: 'peer'`. Each member's browser keeps a peer connection to every other member's and sends them its media directly; Protobase passes their descriptions and candidates between
|
|
139
|
+
`kind: 'peer'`. Each member's browser keeps a peer connection to every other member's and sends them its media directly; Protobase passes their descriptions and candidates between the members of the same call only, and tells each member who else is in the call and which tracks they hear. `hears` decides which tracks a member is told of; the media itself goes between the browsers, which Protobase cannot stop.
|
|
140
|
+
|
|
141
|
+
A peer-to-peer call holds a small group only: a browser uploads its media once per other member, so `maxMembers`, 8 by default, bounds it. Members of a peer-to-peer call can see each other's network addresses, as their browsers connect to each other; readers of the record who are not in the call cannot.
|
|
142
|
+
|
|
143
|
+
With `calls: { processes: 'many' }`, members that different processes serve meet in one call: a description or candidate for a member another process serves goes through the `calls` schema, which each process with a member in a call reads ten times a second.
|
|
144
|
+
|
|
145
|
+
```ts
|
|
146
|
+
calls: {
|
|
147
|
+
backend: { kind: 'peer', maxMembers: 8, iceServers: [{ urls: ['stun:stun.example.com:3478'] }] },
|
|
148
|
+
}
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
- `iceServers`: the STUN and TURN servers the browsers find a path to each other through, which every member's browser gets; Protobase has none by default, and the browser never chooses its own. Without a STUN server, only browsers on the same network connect: set one so that people behind ordinary home routers do.
|
|
152
|
+
- A direct connection can fail behind some strict networks, such as a company firewall that lets no UDP through, and the members then hear nothing of each other. Protobase relays no media: add a TURN server of your own to `iceServers` for them, with short-lived credentials, since every member's browser receives them.
|
|
100
153
|
|
|
101
154
|
## Contract test
|
|
102
155
|
|
|
103
|
-
The repository's contract test runs members in Chromium through both plugins, against a real LiveKit server: `bun run calls:up`, then `bun run test:calls`. `LIVEKIT_IMAGE` in the environment of `calls:up` tries another LiveKit version.
|
|
156
|
+
The repository's contract test runs members in Chromium and Firefox through both plugins, against a real LiveKit server and a Postgres test database: `bun run test:db` and `bun run calls:up`, then `bun run test:calls`. `LIVEKIT_IMAGE` in the environment of `calls:up` tries another LiveKit version.
|