mod_voice_agent_component provisions agents (invite/get/list/dismiss, relay-reported lifecycle, signed webhooks, an event stream); the client shows them as participants with an AI badge, speaking indicators and opt-in consent.
Agents and E2EE exclude each other; lib-jitsi-meet goes to v2233.0.0+7634be62.
The production build compiles ten webpack bundles, and ts-loader with
type checking on built a full TypeScript program of the whole
react/features tree for each of them, then checked every file, ten
times over, on webpack's main thread. That was the bulk of the build's
memory (the peak heap sat right under the cap and the branding job
started dying with "JavaScript heap out of memory") and about half of
its time.
Run the check once with `tsc --noEmit` as a prerequisite of `compile`,
where it finishes in a few seconds in its own process and fails the
build before any bundling starts, and let ts-loader only strip types.
Coverage is unchanged: `tsc` checks the same tsconfig include that
ts-loader did, and every shipping path (CI, the Debian package, the
branding build) goes through `make`. `make dev` already skipped type
checking and is unaffected.
The preload bundle ships without core-js polyfills, so a built-in missing in
an old browser would throw synchronously at the top of the script and show up
as an uncaught error, even though the app would carry on fine without the
preload. Guard the synchronous part the same way the asynchronous parts are
already guarded, and state in both the entry and the webpack rule that the
preload and the modules it imports must stick to built-ins available on the
supported browser floor, since nothing enforces that automatically.
Everything the app requests when it boots waits for the multi-megabyte app
bundle to download and parse first: config.js when it is not inlined in the
page, then the dynamic branding data, then the custom icons. On branded
deployments that chain is what keeps the default theme on screen for a while
before the customer's one appears.
Add a small script, loaded right after config.js and before lib-jitsi-meet,
that starts those requests immediately and publishes them through the
JitsiMeetPreload contract, so by the time the app boots the responses are
usually already there. The script is optional: the app works without it, and
any failure in it just means the app requests the resource itself.
Babel's core-js polyfill injection is disabled for this entry only; the app
already requires modern browsers, and the polyfills made a 7 KiB script 51 KiB.
* refactor(tests): share the grid setup and room name assembly
Factor the Selenium Grid handling out of wdio.grid.conf.ts into helpers/grid.ts so
that the Firefox grid config and other configs can reuse it (the Firefox one was
missing the remote fake-audio path rewrite), split generateRoomName into a
buildRoomName helper that applies the prefix/suffix convention to any base name,
and export the shared Chrome settings from wdio.conf.ts.
* feat(tests): let Participant drive any session and the load-test client
Participant names are no longer limited to p1..p6 and a browser session can be
injected instead of being looked up on the multiremote object, so participants can
be created for sessions (or tabs) outside the fixed multiremote setup. A loadTest
flag skips the UI-only parts of joining and hanging up (prejoin, styling, dialog
checks, toolbar hangup) for the lib-jitsi-meet only load-test client, which exposes
the conference as APP.room. Existing tests are unaffected.
* feat(load-test): bring the load-test client into the repository
The lib-jitsi-meet only client used for load testing lived in
jitsi/jitsi-meet-load-test since it was split out in 0b57bcb20. Port it back as
TypeScript, reusing the URL helpers it had copied, so the load tester (malleus)
can build and inject it into the browsers it drives. It is a separate webpack
entry (`npm run build:load-test`, config name load-test) written to build/ and is
deliberately not deployed: it is not in the Makefile or the Debian install.
Changes from the original: the room can be given as a room hash parameter and
protocol-relative XMPP URLs are absolutized (the page runs from file://), the
bare `room` references in getConnectionState and the stage view participant
selection are fixed, and jQuery/lodash are dropped in favor of DOM APIs.
* feat(tests): port malleus, the load tester, from jitsi-meet-torture
Malleus Jitsificus fills conferences on a deployment with browser-driven
participants and reports whether they all made it. It reuses the WebdriverIO suite
(Chrome setup, grid support, Participant, browser logs) but runs through its own
wdio config, which generates one browser session per participant (or per group of
tabs) from the MALLEUS_* settings, and a single spec kept out of specs/.
Ported: conferences x participants with video/audio sender counts, staggered
joins, duration, regions, extra URL params, stage view, P2P toggle, JWT; load-test
mode with several clients per tab and several tabs per browser; lite mode; P.59
speaker switching; bridge disruption via a site-specific blip script with health
checks; requesting typed grid nodes (nodename:applicationName) for senders and
receivers. The script that re-typed Grid 3 nodes over SSH is not carried over: it
does not apply to a Selenium 4 grid, where the node stereotypes declare the types.
Differences from the Java version: the entry point is a Node CLI
(`npm run malleus -- --flag=value`, scripts/malleus.sh forwards to it, the
positional form is gone); the load-test client is uploaded into the browsers
together with resources/loadTest.html rather than served by the deployment; room
names are prefix, conference index, suffix, reusing ROOM_NAME_SUFFIX (which may be
a comma-separated list spread over the conferences) so a shard name at the end of
the name keeps working; tabs per browser require load-test mode.
* fix(load-test): match jitsi-meet's current receiver constraints
The client's emulation of the receiver video constraints had drifted from what
jitsi-meet sends (react/features/video-quality/subscriber.ts):
- It set one maxHeight in defaultConstraints, i.e. for every source in the
conference, where jitsi-meet sets defaultConstraints to 0 and constrains only
the sources visible in the filmstrip (one page of tiles, 25 by default). In
large conferences that made a load-test receiver ask for every video.
- The tile quality came from a participant-count table (720/360/180); jitsi-meet
derives it from the tile height for the window size, capped at 360 beyond
maxFullResolutionParticipants. Port the tile grid selection
(calculateResponsiveTileViewDimensions) for a configurable virtual window,
1280x1024 by default like the test suite's Chrome.
- Stage view asked 2160 from everyone; it now asks the large-video quality for
the on-stage source and 180 for the first filmstrip page, like jitsi-meet.
- lastN still applied lastNLimits, which jitsi-meet dropped in 6efa4f247; send
startLastN ?? channelLastN ?? -1 instead.
- Stage view is also used below 3 participants, as in jitsi-meet, the on-stage
participant is re-elected when they leave, and no constraints are sent while
leaving.
* add a follower mode to the shared-video managers: a follower tracks the
shared playback state but never acts as the controlling player (even when
the local participant owns the video), reports no analytics or status
updates, does not dock the toolbox, does not stop the meeting's shared
video when its own player errors, and plays no audio (the audio stays
with the main window's player)
* add a role: 'sharedvideo' source that renders the meeting's shared video
on the second screen through the same managers, mounted as followers,
view-only (a local pause there would not be reflected in the meeting and
would silently desync the window until the owner's next update)
* start a follower from the shared state instead of autoplaying it, so a
second screen opened while the video is paused does not play on: a paused
video sends no further status updates, so nothing would correct it
* show a hint when no video is shared, mirroring the whiteboard source, and
another when a follower player fails, so an error that must not tear down
the meeting's shared video does not read as an unexplained black screen
* load second-screen windows from a static/secondScreen.html shell page
instead of about:blank: embeds inside the window need the page to send a
valid referrer, which about:blank cannot (YouTube fails with error 153)
* bound the wait for that shell page by a timeout and a poll for the window
being closed, and close the window when it never loads or when its entry
is removed while it is still opening, so neither case can leave an entry
with no handle behind, nor a window on the external display that nothing
is able to close
* feat(virtual-background) Adds v2 engine with worker-based inference, insertable streams and device tier detection
- VBInferenceWorker: all inference runs in a dedicated Worker thread — MEDIUM/HIGH tiers
use TF.js body-segmentation on an OffscreenCanvas WebGL/WebGPU context (immune to
Chrome's tab-visibility GPU throttle); LOW tier uses TFLite model.
- Insertable streams path: MediaStreamTrackProcessor/Generator as the default frame driver;
captureStream + Worker used as fallback
- DeviceTierDetector
- WebGLCompositor: add Gaussian blur kernel in the shader; remove dead methods and textures
- CPU-side EMA mask smoothing replaces GPU ping-pong temporal blending
- VideoFrame GC fix: stopEffect() cancels the IS reader immediately to flush buffered frames
- Benchmark logging gated on config.virtualBackground.advanced.testMode
* fix(virtual-background): improve edge quality, fix deployment issues and studio light.
* fix(virtual-background): use tier-specific edge thresholds and fix stale config docs.
Introduce per-tier defaults: LOW keeps 0.48, MEDIUM/HIGH use 0.28. Config overrides (edgeLow/edgeHigh) still take precedence.
The new release ships its own TypeScript types and a modern `exports`
map, which makes the long-standing `@ts-ignore`/`@ts-expect-error`
suppressions on `@jitsi/js-utils` imports unnecessary and lets TS verify
their usage end-to-end.
To pick up the new types correctly:
- Switch `tsconfig.{web,native}.json` to `moduleResolution: "Bundler"`
so TS honors the package's `exports` field. Legacy `Node` resolution
ignores `exports` and cannot resolve subpath imports like
`@jitsi/js-utils/random`.
- Remove the now-unused root-import `@ts-expect-error` directives across
7 files and the silent `@ts-ignore` directives on 14 subpath imports.
Drop the paired `lines-around-comment` eslint-disable comments that
only existed to silence the directive clutter.
- Update `BaseApp._initStorage` with a narrow type assertion (and a
comment) to acknowledge the RN-polyfill side channel where
`jitsiLocalStorage.getItem('_initializing')` surfaces an
AsyncStorage-loading Promise. The new package's types correctly
describe the standard Web Storage shape (`string | null`); the cast
preserves the runtime contract on RN.
- Bump the `external_api` bundle size budget from 95 to 100 KiB to
accommodate the slight per-file TS-compilation overhead in the new
package layout.
* feat(whiteboard): remove image from toolbar
* dep(@jitsi/excalidraw): update version
* firebase was already removed from excalidraw so no need to resolve it
* dep(@jitsi/excalidraw): update to 0.18.3 and patch
* feat(whiteboard): disableFileDrop
* dep(@jitsi/excalidraw): update to 0.18.4
* fix: Fixes excalidraw in the deb package.
* squash: Drops unused files and moves the fonts to the excalidraw prod folder.
* squash: Rename prod folder to excalidraw.
* squash: Fix eslint.
webpack-dev-server v5 added a cross-origin-header-check security middleware that unconditionally returns 403 Cross-Origin request blocked for any request with sec-fetch-mode: no-cors + sec-fetch-site: cross-site.
Implements Picture-in-Picture functionality for the Electron wrapper to maintain video engagement when users are not actively focused on the conference window. This feature addresses the need to keep users visually connected to the conference even when multitasking.
Key features:
- Automatic PiP mode activation and deactivation based on user interaction
- Displays large video participant's stream or renders their avatar on canvas when video unavailable
- Provides audio/video mute controls via MediaSession API directly in PiP window
- Adds API events (_pip-requested) for Electron wrapper integration
Implementation includes new pip feature module with Redux architecture, canvas-based avatar rendering with custom backgrounds support, and integration with existing mute/unmute logic. Depends on jitsi-meet-electron-sdk#479 for proper user gesture handling in Electron.
Without it, we cannot detect what features to polyfill.
Some bundles have seen a size increase, this is due to necessary
polyfills now being included as usage was detected.
The proposal never passed stage 1 and was last updated 4 years ago,
which signals it won't make it into the language: https://github.com/tc39/proposal-export-default-from
The alternative is just a couple of characters longer.
* fix(tests): Fix include/excludes of tests based on participant count.
* feat(tests): Define context globally.
The context is being created on every new suite in before hook.
* feat(tests): Drop extra char in room name.
* feat(tests): Adds an option to load iframeAPI.
* feat(tests): Adds some ts types.
* fix(tests): Fix iframeAPI helper with events received too early.
* fix(tests): Fix iframeAPI helper detecting own role changed.
* feat(tests): Adds run script to start tests with local dev server.
* feat(tests): Adds participants iframeAPI tests.
* feat(tests): Updates wdio dependencies.
* feat: Adds grid config.
* feat: Simplify iframeAPI.
Drop URL params.
* feat: Adds tenant to iframeAPI.
* feat: Adds firefox target.
Certain tests are disable as not supported on FF. Missing upload file function for iframeAPI helper. Missing option to set audio file as a mic source.
* fix: Fix using tenant from baseUrl.
* feat: Adds audio only tests.
* feat: Adds option to generate tokens for the moderator.
* feat: Adds option to test and webhooks.
* fix: Improve error stack trace on error.
* fix: Address comments.
* fix: Fix test exclusion for FF.
* squash: Revert the strophe change and add a comment.
* feat: Drops external connect optimization.
A bosh only optimization which is no longer used and does not bring any significant value when measured.
* squash: Updates ljm.
* fix(ts,connection) avoid mixing web and native code
* chore(ts) split config
The mobile part is still WIP.
* Remove default tsconfig
* Fix ts-loader - use web tsconfig
* Fix tsconfig
Use noEmit only on npm scripts (for type checking), but don't use it in webpack
* Fix
* Fix import
* Fix
Co-authored-by: Saúl Ibarra Corretgé <[email protected]>