The audio-translation picker offered a fixed list of 13 languages, the set
OpenAI's speech-to-speech model accepts. The translation service can now run
on a provider that accepts any BCP-47 tag, and the client learns nothing
about the server's list (the language is chosen before the translator socket
exists), so a deployment had no way to offer more, or fewer.
config.audioTranslation.translationLanguages replaces the offered list with
the codes the deployment's provider accepts, sent to the bridge verbatim.
Unset, or null (how a configOverwrite resets a key), keeps the 13 defaults.
config.audioTranslation.translationLanguagesHead pins some of them to the
top. The keys match transcription.translationLanguages{,Head}; unlike that
head this one only reorders: an entry is matched case-insensitively, takes
the list's spelling, and one not in the list is ignored, so it can neither
add a language the provider may reject nor change the code sent.
A code must be 1-20 ASCII letters, exactly what prosody's
mod_audio_translation_component accepts (is_valid_language). A code it
refuses fails the whole request with bad-request, and a meeting-wide request
covers every speaker, so one bad configured code would break translation for
all of them; such codes are dropped from the list with one logged warning,
and bad-request now maps to a notification that points at the configuration
instead of the generic "try again". A list that is set but unusable (not an
array, empty, or every entry dropped) is logged once and offers nothing
rather than 13 languages the deployer did not choose. Codes are kept as
spelled but deduplicated case-insensitively; the selected language stays in
the picker by exact string so the active row still highlights.
Labels: the 13 defaults keep their hand-written native-script labels on every
platform. A configured extra is labelled with the language's own name from
Intl.DisplayNames where the platform has the API and locale data for that
language (every supported browser; Hermes implements no Intl.DisplayNames,
so the mobile apps fall through), first letter upper-cased since CLDR gives
Latin-script names in lower case; else the English name from
lang/translation-languages.json; else the code. The supportedLocalesOf check
matters: without it the API resolves to the viewer's locale and returns the
viewer-language name ("Klingon" for tlh on an English browser). The defaults
stay hand-written because CLDR matches twelve of them and has only
"Indonesia" for the thirteenth, where we keep "Bahasa Indonesia".
Both dialogs select only the audioTranslation config block and derive the
ordered list in a useMemo. SUPPORTED_TRANSLATION_LANGUAGES is renamed
DEFAULT_TRANSLATION_LANGUAGES, since it is no longer the supported set.
Bumps lib-jitsi-meet to v2236.0.0+51058e35 for jitsi/lib-jitsi-meet#3159,
which fixed the source-name parsers for a translated source whose language
suffix contains a hyphen. Region- and script-tagged targets still need
prosody's is_valid_language relaxed; that is a separate change.
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.
* docs(config): drop the scalabilityModeEnabled videoQuality example
scalabilityModeEnabled is derived from browser support in lib-jitsi-meet and is
no longer read from config.js, so remove it from the per-codec videoQuality
examples.
See https://github.com/jitsi/lib-jitsi-meet/pull/3121
* chore(deps): bump lib-jitsi-meet to v2214.0.0+d18b02a4
Includes https://github.com/jitsi/lib-jitsi-meet/pull/3121 (derive scalability mode from browser support, not config.js).
This script runs webpack directly rather than through `make`, so it no
longer gets a type check now that ts-loader only transpiles. Run the
same `tsc` step first to keep it covered.
* 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.
* fix(audio-translation): hide the UI when the component is not deployed
The feature was gated on config alone, so a deployment with
audioTranslation.enabled but no prosody module offered the UI and every
request failed with 'no audio-translation component discovered'.
* chore(deps) lib-jitsi-meet@latest
https://github.com/jitsi/lib-jitsi-meet/compare/v2208.0.0+c0c591e0...v2209.0.0+98a6b72f
* feat(tests): add a standalone tests/package.json for the e2e suite
Add a package.json directly in tests/, listing only the wdio-side
runtime dependencies (webdriverio, the @wdio/* family, allure-commandline,
etc.) needed to run the WebdriverIO e2e suite. `cd tests && npm install`
pulls in ~165MB instead of the full monorepo's ~1.2GB, letting the suite
run against a jitsi-meet checkout without installing its
webpack/react-native/eslint/... dependencies. Everything under tests/
(specs, helpers, wdio configs) is unchanged - it keeps running straight
from source via the same on-the-fly TypeScript transpilation `npm test`
already used.
The equivalent scripts (test, test-grid, test-grid-single, ...) and their
now test-only dependencies were removed from the root package.json, since
they duplicated what tests/package.json now covers on its own; every
removed dependency was confirmed to have zero usage anywhere under
react/features/ before being dropped.
One thing worth calling out: react/features/base/util/uri.ts (reachable
from tests/ via a couple of relative imports) imports
@braintree/sanitize-url and @jitsi/js-utils from npm - real packages, not
just types. Node resolves those relative to uri.ts's own location, not
tests/'s, so tests/node_modules alone isn't on that resolution path.
Confirmed directly: without NODE_PATH pointed at tests/node_modules,
requiring tests/helpers/Participant.ts throws Cannot find module
'@braintree/sanitize-url'; with it, the same require succeeds - which is
why every script in tests/package.json sets
NODE_PATH="$(pwd)/node_modules".
Verified: a real `npm install` in tests/ (165MB) and a full
`npm run test-grid-single` run against a local spec - config loads,
TestProperties works via the existing loadTestFiles mechanism, a worker
spawns, and the report generates cleanly.
* fix(tests): resolve fixture paths relative to wdio.conf.ts, not the CWD
Three hardcoded 'tests/...' paths in wdio.conf.ts assumed the process
always runs with the repo root as CWD, which was true when `npm test`
ran from there, but no longer holds now that tests/package.json's own
scripts run from tests/ itself.
The uploadFile() one is what actually broke PR testing for #17800: an
ENOENT for 'tests/resources/iframeAPITest.html' (really looking for
tests/tests/resources/... under the new CWD) threw as an unhandled
'error' event and crashed the worker outright, in the global before()
hook that runs for every spec - hence every single chrome-chrome spec
failing in the PR-test run. The chromeArgs fake-audio-capture path and
the testName computation had the same latent bug (the former only
affects non-grid local runs, since wdio.grid.conf.ts overrides it with
REMOTE_RESOURCE_PATH for grid runs; the latter is silent - it produces
the wrong testName/room-name-seed rather than crashing - so it wouldn't
have shown up as a hard CI failure, but is still wrong).
Fixed by resolving all three via path.join(__dirname, ...) instead,
which points at wherever wdio.conf.ts itself lives regardless of the
process's CWD.
Adds @eloqnt/cli with a config for the lang/ catalogs and a lint:i18n
script, wired into the existing CI lint job next to lint:lang so it runs
whenever lang files change.