Compare commits

..
Author SHA1 Message Date
Robin 6af72f4c90 Format 2026-06-18 11:42:02 +02:00
Robin 3a598ffe43 Restore ability to play sound with custom volume
This was missing from the revert in 8b0f5054dd.
2026-06-18 11:35:46 +02:00
Robin 05797097c6 Only consider a call accepted if the *intended* recipient picks up 2026-06-18 11:05:55 +02:00
Robin 8b0f5054dd Revert to original fix for duplicate leave sounds
My attempted simpler fix of applying takeUntil(autoLeave$) to leaveSoundEffect$ didn't work.
2026-06-18 11:05:55 +02:00
Robin 8cda9777a5 Merge branch 'livekit' into ringing-intent 2026-06-18 06:41:17 +02:00
Johannes Marbach 3ea89e8275 Merge pull request #4043 from element-hq/johannes/update-plugin-react
Update @vitejs/plugin-react to 0.6.2
2026-06-17 16:39:19 +02:00
Johannes Marbach 0410be33cd Merge branch 'livekit' into johannes/update-plugin-react 2026-06-17 16:06:54 +02:00
Johannes Marbach 002f9b0cea Merge pull request #4042 from element-hq/johannes/pnpm-11
Switch to pnpm 11.6.0
2026-06-17 15:52:18 +02:00
Johannes Marbach 669f4264c7 Reformat
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2026-06-17 15:35:47 +02:00
Johannes Marbach dc6511b99e Document why we override resolved versions 2026-06-17 15:33:36 +02:00
Johannes Marbach 032968ea2d Merge branch 'livekit' into johannes/pnpm-11 2026-06-17 15:07:28 +02:00
Johannes Marbach 6ce79d8a52 Merge pull request #4045 from element-hq/renovate/npm-vite-vulnerability
Update dependency vite to v8.0.16 [SECURITY]
2026-06-16 15:22:21 +02:00
renovate[bot] b68abb7df4 Update dependency vite to v8.0.16 [SECURITY] 2026-06-16 12:45:26 +00:00
Timo 1281ed31df Merge pull request #3816 from element-hq/toger5/fix-depnedabot-security-alerts
Dependabot security alerts: Bump flatted and unidici
2026-06-16 20:34:17 +08:00
Timo K e7377fb104 fix prettier 2026-06-16 14:17:25 +02:00
Timo K edb4dfa9ed Merge branch 'livekit' into toger5/fix-depnedabot-security-alerts 2026-06-16 14:16:02 +02:00
Timo K 7db13e1fc0 Merge branch 'livekit' into toger5/fix-depnedabot-security-alerts 2026-06-16 14:13:16 +02:00
Johannes Marbach df7451c2cf Update @vitejs/plugin-react to 0.6.2 2026-06-15 13:59:54 +02:00
Johannes Marbach 9537c7657c Switch to pnpm 11.6.0 2026-06-15 12:34:32 +02:00
Johannes Marbach 6c105e971e Merge pull request #4041 from element-hq/renovate/compound
Update Compound to v10.2.2
2026-06-15 08:06:20 +02:00
renovate[bot] cbbe6a812e Update Compound to v10.2.2 2026-06-15 01:03:21 +00:00
Robin 3ef3ebe897 Merge pull request #4036 from element-hq/metadata-leak
Fix a minor resource leak with display names and avatars
2026-06-12 10:05:50 +02:00
Timo 0c284ed75b Merge pull request #4004 from element-hq/toger5/controls-api-onPipMediaOrientation
Controls api `onPipMediaOrientation`
2026-06-12 16:03:35 +08:00
TimoandJohannes Marbach 838d2f3c5d Update src/state/media/observeRtpStreamStats.ts
Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2026-06-12 09:47:13 +02:00
Timo 2a24fbcee1 Merge pull request #4038 from element-hq/toger5/fix-logging-indexDB
Fix Logging indexDB EC/EW collision
2026-06-12 15:29:33 +08:00
Timo K be8a76868b rename db 2026-06-11 18:38:54 +02:00
Johannes Marbach d1ea63587b Merge pull request #4035 from element-hq/johannes/knife-content-type
Remove deprecated @types/content-type dependency
2026-06-11 12:22:49 +02:00
Robin 96a9115ee7 Fix a minor resource leak with display names and avatars
I noticed that calls to createDisplayNameBehavior$ and createAvatarUrlBehavior$ were technically leaking resources since they reused the ObservableScope from their outer scope, which in practice lasts for the entire lifetime of the CallViewModel. This would not have had any noticeable effect unless you had other participants leave and rejoin the same call many thousands of times.
2026-06-11 12:21:07 +02:00
Robin 2ac6cdeb46 Improve internal model of ringing, expose ringing intent to call UI
I found our code's internal model of ringing a little overgrown (it had superfluous states like 'unknown') and difficult to extend with metadata or callbacks relating to ring attempts. By modeling ringing instead as a stream of ring attempts, where each attempt has an intent, a recipient, and an eventual outcome (accept/decline/timeout), I find it more natural to work with.

This makes room for a future 'try again' callback to allow ringing someone again after a timeout, and also forced me to look for a simpler solution to the duplicate leave sound effects. I exposed the intent of the ringing attempt to the call UI so I can later use it in the header.
2026-06-11 12:12:27 +02:00
Johannes Marbach 3af160bb02 Remove deprecated @types/content-type dependency 2026-06-11 08:36:25 +02:00
fkwp 73ccc5f483 Show typed error when matrix_2_0 mode is forced without homeserver MSC4354 support (#4017)
Show typed error when matrix_2_0 mode is forced without homeserver MSC4354 support
2026-06-10 18:48:16 +02:00
Johannes Marbach 3a824dfff0 Merge pull request #4029 from element-hq/johannes/i18next-cli
Replace deprecated i18next-parser with i18next-cli
2026-06-10 15:00:45 +02:00
Timo 7ffa585f0d Merge pull request #4027 from element-hq/johannes/knife-uuid-types
Remove deprecated @types/uuid
2026-06-10 20:51:11 +08:00
Johannes Marbach 0690387b70 Merge pull request #4009 from element-hq/johannes/raised-color
Fix missing text color for remote raised hand duration
2026-06-10 10:17:13 +02:00
renovate[bot] 7fa3febf55 Update LiveKit client to v2.19.2 (#4031)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-08 21:13:59 +02:00
Johannes Marbach 11b08c9a9f Replace deprecated i18next-parser with i18next-cli 2026-06-08 15:32:34 +02:00
Johannes Marbach c1f528e120 Remove deprecated @types/uuid 2026-06-08 13:57:01 +02:00
Johannes Marbach 65bd51fe92 Merge pull request #4022 from element-hq/renovate/compound
Update Compound
2026-06-08 10:25:11 +02:00
Johannes Marbach 2dc664b323 Merge branch 'livekit' into renovate/compound 2026-06-08 10:05:00 +02:00
Johannes Marbach 65737ef4a5 Merge pull request #4023 from element-hq/renovate/livekit-client
Update LiveKit client to v2.19.1
2026-06-08 10:02:00 +02:00
renovate[bot] 753613dcdc Update LiveKit client to v2.19.1 2026-06-08 07:35:21 +00:00
Johannes Marbach a412d0c230 Merge branch 'livekit' into renovate/compound 2026-06-08 09:26:29 +02:00
Johannes Marbach 33e847c1a3 Merge pull request #4024 from element-hq/johannes/codecov
Update codecov-action to v7
2026-06-08 09:25:38 +02:00
Johannes Marbach ac2f5fe7d6 Update codecov-action to v7 2026-06-08 09:00:12 +02:00
Johannes Marbach 4c2c068c3a Update dev settings snapshot 2026-06-08 08:48:46 +02:00
renovate[bot] 102a7e2650 Update Compound 2026-06-08 01:07:22 +00:00
Valere Fedronic ba40490ca4 Merge pull request #4013 from element-hq/valere/fix_repeated_click_to_unmute
feat(mute): add syncing state and disable toggle during async mute
2026-06-05 12:58:23 +02:00
Valere 62a3ec8319 review: cleanup removed redundant default properties 2026-06-05 12:50:25 +02:00
Valere a430e87104 review: add test for busy behavior for Mic and Video buttons 2026-06-05 12:48:04 +02:00
Valere acc5a440c7 review: remove unneeded early return 2026-06-05 12:35:21 +02:00
fkwpandJohannes Marbach b99c8821d3 Add matrix_rtc_mode config option (#4014)
* Move MatrixRTCMode enum from settings.ts to ConfigOptions.ts

* Add matrix_rtc_mode config option

* add matrix_rtc_mode to config.sample.json

* Update src/settings/DeveloperSettingsTab.tsx

Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>

* Update src/settings/DeveloperSettingsTab.test.tsx

Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>

* reviewer comments

---------

Co-authored-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2026-06-05 09:49:43 +00:00
Valere dc03d9b358 fix: Initial unmute is reverted 2026-06-05 10:29:36 +02:00
Valere Fedronic 3a6579f78d Merge pull request #4012 from element-hq/valere/livekit_error_boundary
feat(errors): Report livekit error as such instead of generic unknown errors
2026-06-05 09:31:46 +02:00
Valere 55b2537129 fixup: Update snapshot with button busy state 2026-06-04 19:14:12 +02:00
Valere b5b238ffd3 storybook: Add storybook for audio/video busy 2026-06-04 19:13:27 +02:00
Valere 4606373e5b feat(mute): add syncing state and disable toggle during async mute 2026-06-04 18:55:31 +02:00
Valere 4353f09e54 fixup snapshots 2026-06-04 15:48:30 +02:00
ElementRobot fc3c4bf566 Merge pull request #3911 from element-hq/actions/localazy-download
Localazy Download
2026-06-04 15:34:46 +02:00
Valere c05c523182 fixup: ensure dynamic keys are extracted by i18n parser 2026-06-04 15:30:59 +02:00
Johannes Marbach 629c012f48 Reorder entries 2026-06-04 15:17:34 +02:00
Valere e7d37f87bb feat(errors): Report livekit as such rather than like unknown errors 2026-06-04 11:54:42 +02:00
Johannes Marbach 664a10c724 Fix illegible text color for raised hand duration
Fixes: https://github.com/element-hq/voip-internal/issues/579
2026-06-04 11:33:55 +02:00
Timo K 308a042076 fix error with no media 2026-06-03 10:43:47 +02:00
Timo K b554ce4a87 Update CallViewModel.test.ts 2026-06-03 10:18:45 +02:00
Johannes Marbach 5f257da4f6 Merge pull request #4005 from element-hq/johannes/dry
Avoid usage of SWIFT_RELEASE_TOKEN in dry runs
2026-06-03 08:14:28 +02:00
Johannes Marbach 1196ba5959 Merge pull request #4000 from element-hq/johannes/pip-corners
Fix corner radius on screenshare overlay in widget mode
2026-06-03 08:12:48 +02:00
Johannes Marbach 067a70d19f Fix corner radius on screenshare overlay in widget mode
Signed-off-by: Johannes Marbach <n0-0ne+github@mailbox.org>
2026-06-02 15:18:19 +02:00
Robin c021fc1548 Merge pull request #3995 from element-hq/toger5/fix-double-leave-sound
Fix play of second leave sound
2026-06-02 14:46:43 +02:00
Johannes Marbach 2e95c2cc15 Avoid usage of SWIFT_RELEASE_TOKEN in dry runs 2026-06-02 14:41:59 +02:00
Timo K 692a55c84c fix race 2026-06-02 14:06:28 +02:00
Timo K c5ffdea370 lint 2026-06-02 13:56:16 +02:00
Timo K 9117b40e7b fix tests 2026-06-02 13:52:43 +02:00
Timo 25a6cefa34 Merge pull request #3905 from manfrommedan/fix/promise-withresolvers-polyfill
Add Promise.withResolvers polyfill for older WebViews (Chrome < 119)
2026-06-02 19:43:12 +08:00
Robin 399b7d83da Merge pull request #3988 from element-hq/renovate/livekit-client
Update dependency livekit-client to v2.19.0
2026-06-02 11:50:10 +02:00
Timo e2128776b3 Merge pull request #3935 from element-hq/toger5/contribut-issue-first
Contributing.md explain "issue first" contribution approach
2026-06-02 17:35:56 +08:00
Timo 327a0ad9b0 Merge pull request #3951 from element-hq/valere/improve_error_message
Improve error messages for sfu auth problems
2026-06-02 17:33:56 +08:00
Robin 47326c28d3 Fix type error 2026-06-02 11:33:17 +02:00
Robin 084fa20b3d Merge pull request #4003 from element-hq/device-switch-fixes
Show the right labels in device switcher menus
2026-06-02 11:29:28 +02:00
Timo K e05af09c28 Add test 2026-06-02 11:27:59 +02:00
Timo K b86909af52 temp add tests 2026-06-02 10:56:34 +02:00
Robin faa34aeaaa Merge pull request #3987 from element-hq/renovate/compound
Update dependency @vector-im/compound-design-tokens to v10.2.0
2026-06-02 10:48:44 +02:00
renovate[bot] 489492d9b9 Update dependency livekit-client to v2.19.0 2026-06-02 06:50:03 +00:00
renovate[bot] bec34ee360 Update dependency @vector-im/compound-design-tokens to v10.2.0 2026-06-02 06:49:28 +00:00
Timo K d6635b7818 add docs 2026-06-01 16:13:03 +02:00
Timo K a6fc710d8c Add onPipMediaOrientationUpdate to controls api. 2026-06-01 16:12:57 +02:00
Valere 3799ea2b4e fixup: Missing translation 2026-05-28 14:43:42 +02:00
Valere 2bd16beccf Merge branch 'livekit' into valere/improve_error_message 2026-05-28 14:27:17 +02:00
Timo K ea4144ccc7 Fix play of second leave sound 2026-05-28 12:04:42 +02:00
Timo K 5dfd1648c5 remove yarn lock 2026-05-11 16:30:57 +02:00
Timo K 1d5ac67324 Merge branch 'livekit' into toger5/fix-depnedabot-security-alerts 2026-05-11 16:28:48 +02:00
Valere d0bfef0682 Improve error messages for sfu auth problems 2026-05-07 16:21:30 +02:00
Timo K 121d87b1d0 Merge branch 'livekit' into toger5/contribut-issue-first 2026-05-05 14:39:52 +02:00
Timo K d5b218283d add max reply SLA 2026-04-30 13:14:13 +02:00
Timo K d4a3c8bd80 Contributing.md update. Issue First policy 2026-04-27 13:57:38 +02:00
fkwp f919cfa4c8 Translations updates 2026-04-22 12:29:57 +00:00
manfrommedan d1b14d8bfb Add Promise.withResolvers polyfill for older WebViews (Chrome < 119) 2026-04-21 23:29:47 +03:00
Timo K 2faab3280a bump flatted and unidici 2026-03-25 16:07:01 +01:00
99 changed files with 5559 additions and 3197 deletions
+18 -11
View File
@@ -1,4 +1,11 @@
<!-- Thanks for submitting a PR! Please ensure the following requirements are met in order for us to review your PR --> <!-- Thanks for submitting a PR! Please read CONTRIBUTING.md before you start. -->
> [!IMPORTANT]
> **Features and UI changes require a pre-approved issue.**
> Every PR must have a linked issue
> that a maintainer has reviewed and approved **before you started writing code**.
> PRs that don't meet this requirement will not be reviewed.
> See [CONTRIBUTING.md](https://github.com/element-hq/element-call/blob/livekit/CONTRIBUTING.md) for ElementCall decided for this approach.
## Content ## Content
@@ -6,34 +13,34 @@
## Motivation and context ## Motivation and context
<!-- Provide link to the corresponding issue if applicable or explain the context --> <!-- Provide a link to the pre-approved issue, or explain the context for a bug fix -->
## Screenshots / GIFs ## Screenshots / GIFs
<!-- <!--
You can use a table like this to show screenshots comparison. You can use a table like this to show a before/after comparison.
Uncomment this markdown table below and edit the last line `|||`: Uncomment the markdown table below and fill in the last line:
|copy screenshot of before here|copy screenshot of after here|
|Before|After| |Before|After|
|-|-| |-|-|
||| |||
-->
-->
## Tests ## Tests
<!-- Explain how you tested your development --> <!-- Explain how you tested your changes -->
- Step 1 - Step 1
- Step 2 - Step 2
- Step ... - Step ...
-
## Checklist ## Checklist
- [ ] I have read through [CONTRIBUTING.md](https://github.com/element-hq/element-call/blob/livekit/CONTRIBUTING.md). - [ ] A linked, pre-approved issue exists for this feature or UI change.
- [ ] Pull request includes screenshots or videos if containing UI changes - [ ] I have read [CONTRIBUTING.md](https://github.com/element-hq/element-call/blob/livekit/CONTRIBUTING.md) in full.
- [ ] Tests written for new code (and old code if feasible). - [ ] Pull request includes screenshots or videos for any UI changes.
- [ ] Tests written for new code (and existing touched code where feasible).
- [ ] Linter and other CI checks pass. - [ ] Linter and other CI checks pass.
- [ ] I have licensed the changes to Element by completing the [Contributor License Agreement (CLA)](https://cla-assistant.io/element-hq/element-call) - [ ] I have licensed the changes to Element by completing the [Contributor License Agreement (CLA)](https://cla-assistant.io/element-hq/element-call)
@@ -237,7 +237,6 @@ jobs:
with: with:
repository: element-hq/element-call-swift repository: element-hq/element-call-swift
path: element-call-swift path: element-call-swift
token: ${{ secrets.SWIFT_RELEASE_TOKEN }}
persist-credentials: false persist-credentials: false
- name: Copy files - name: Copy files
@@ -268,9 +267,10 @@ jobs:
GITHUB_EVENT_RELEASE_HTML_URL: ${{ github.event.release.html_url }} GITHUB_EVENT_RELEASE_HTML_URL: ${{ github.event.release.html_url }}
- name: Push - name: Push
if: ${{ needs.versioning.outputs.DRY_RUN == 'false' }}
working-directory: element-call-swift working-directory: element-call-swift
run: | run: |
git push "https://x-access-token:${SWIFT_RELEASE_TOKEN}@github.com/element-hq/element-call-swift.git" --tags ${{ needs.versioning.outputs.DRY_RUN == 'true' && '--dry-run' || '' }} git push "https://x-access-token:${SWIFT_RELEASE_TOKEN}@github.com/element-hq/element-call-swift.git" --tags
env: env:
SWIFT_RELEASE_TOKEN: ${{ secrets.SWIFT_RELEASE_TOKEN }} SWIFT_RELEASE_TOKEN: ${{ secrets.SWIFT_RELEASE_TOKEN }}
+1 -1
View File
@@ -29,7 +29,7 @@ jobs:
- name: Vitest - name: Vitest
run: "pnpm run test:coverage" run: "pnpm run test:coverage"
- name: Upload to codecov - name: Upload to codecov
uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe # v5 uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7
env: env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with: with:
+125
View File
@@ -0,0 +1,125 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": ["jsdoc", "jsx-a11y", "react", "typescript"],
"jsPlugins": [
"eslint-plugin-matrix-org"
// TODO: Re-enable once oxlint supports lint rules that rely on TypeScript type-awareness.
// "eslint-plugin-rxjs"
],
"categories": {
"correctness": "off"
},
"options": {
"typeAware": true
},
"env": {
"builtin": true
},
"rules": {
"jsdoc/empty-tags": "error",
"jsdoc/check-property-names": "error",
"jsdoc/require-param-description": "warn",
"matrix-org/require-copyright-header": [
"error",
"/*\nCopyright %%CURRENT_YEAR%% New Vector Ltd.\n\nSPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial\nPlease see LICENSE in the repository root for full details.\n*/\n\n"
],
"react/display-name": "error",
// TODO: Re-enable once oxlint supports lint rules that rely on TypeScript type-awareness.
// "rxjs/no-exposed-subjects": "error",
// "rxjs/finnish": [
// "error",
// {
// "names": {
// "^this$": false
// }
// }
// ],
"no-restricted-imports": [
"error",
{
"paths": [
{
"name": "matrix-widget-api/src",
"message": "Please use matrix-widget-api instead"
},
{
"name": "matrix-widget-api/src/",
"message": "Please use matrix-widget-api instead"
},
{
"name": "matrix-widget-api/src/index",
"message": "Please use matrix-widget-api instead"
},
{
"name": "matrix-widget-api/lib",
"message": "Please use matrix-widget-api instead"
},
{
"name": "matrix-widget-api/lib/",
"message": "Please use matrix-widget-api instead"
},
{
"name": "matrix-widget-api/lib/index",
"message": "Please use matrix-widget-api instead"
},
{
"name": "matrix-js-sdk/src",
"message": "Please use matrix-js-sdk instead"
},
{
"name": "matrix-js-sdk/src/",
"message": "Please use matrix-js-sdk instead"
},
{
"name": "matrix-js-sdk/src/index",
"message": "Please use matrix-js-sdk instead"
},
{
"name": "matrix-js-sdk/lib",
"message": "Please use matrix-js-sdk instead"
},
{
"name": "matrix-js-sdk/lib/",
"message": "Please use matrix-js-sdk instead"
},
{
"name": "matrix-js-sdk/lib/index",
"message": "Please use matrix-js-sdk instead"
}
],
"patterns": [
{
"group": [
"matrix-widget-api/src",
"matrix-widget-api/src/",
"matrix-widget-api/src/**",
"matrix-widget-api/lib",
"matrix-widget-api/lib/",
"matrix-widget-api/lib/**"
],
"message": "Please use matrix-widget-api instead"
},
{
"group": [
"matrix-js-sdk/src",
"matrix-js-sdk/src/",
"matrix-js-sdk/src/**"
],
"message": "Please use matrix-js-sdk instead"
}
]
}
],
"typescript/no-floating-promises": "error",
"typescript/no-misused-promises": "error",
"typescript/promise-function-async": "error",
"typescript/require-await": "error",
"typescript/await-thenable": "error",
"typescript/consistent-type-imports": [
"error",
{
"fixStyle": "inline-type-imports"
}
]
}
}
+68
View File
@@ -1,3 +1,71 @@
# Contributing code to Element # Contributing code to Element
Element follows the same pattern as the [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md). Element follows the same pattern as the [matrix-js-sdk](https://github.com/matrix-org/matrix-js-sdk/blob/develop/CONTRIBUTING.md).
# Contributing to Element Call
Element Call is a native Matrix video conferencing application built on
[MatrixRTC (MSC4143)](https://github.com/matrix-org/matrix-spec-proposals/pull/4143)
and [LiveKit](https://livekit.io/). It runs in multiple deployment contexts — as a
standalone web app and as a widget embedded in Element Web, Element X iOS, and
Element X Android. It is also the primary R&D foundation for MatrixRTC, which means
its architecture, maintainability, and flexibility are held to a high standard.
We welcome contributions from the community. This document explains how to
contribute effectively so that both you and the maintainers get the best outcome.
## Issue First Policy
> [!IMPORTANT]
> Before writing a single line of code for a new feature or UI change, you **must**
> open an issue and have the approach agreed with the maintainers.
>
> **We will not review or merge feature or UI pull requests that arrive without a
> corresponding, pre-approved issue.**
This is not gatekeeping — it's how we prevent wasted effort on both sides. Element
Call must work correctly across multiple deployment contexts and meet specific product
and design requirements. It is also a fast-moving codebase that underpins ongoing
MatrixRTC development. A PR that looks reasonable in isolation can easily conflict
with in-progress work, planned architecture changes, or design decisions that haven't
been publicly documented yet.
The issue is where we resolve all of that **before** anyone writes code.
**Bug fixes** are no exception — most confirmed bugs should already have an issue anyways, existing issues that are marked as bugs have an implicit maintainer approval. If the solution for the bug is controversial it is highly recommended to discuss the approach in the issue before opening a PR.
## Contribution Workflow
1. **Open an issue** using the [Enhancement request](https://github.com/element-hq/element-call/issues/new?template=enhancement.yml) template.
2. **Wait for feedback.** A maintainer will comment on the issue **within two weeks**. The use case and approach will get dicussed.
This may involve questions, suggestions, or a request to adjust scope.
This also allows to bring design and product into the loop before code gets created.
3. **Get a green light.** Wait for explicit approval from a maintainer before starting
implementation.
4. **Implement.** Write the code against the agreed approach.
5. **Open a PR.** Link to the issue in your PR description and satisfy the checklist
in the PR template.
## Code Quality
Element Call moves fast and the codebase must stay clean and maintainable.
- **Take responsibility for AI-generated code.** AI tools can be a useful aid, but we expect all the generated code to be understood and reasoned about by the contributor. Questions by the maintainers should be answered without just forwarding them to AI. The maintainers also have access to AI tools. If your contribution is just transporting messages between LLM <-> maintaines all our time is better used if the maintainers decide to interact with AI for this specific problem by themselves.
- **Think across deployment contexts.** Changes must work correctly in both standalone
and widget modes. Consider how your change interacts with Element Web, Element X
iOS, and Element X Android.
- **Write tests.** New functionality should be covered by tests. Where it is feasible,
existing uncovered code touched by your PR should also gain tests.
## Contributor License Agreement
All contributors must sign the
[Element Contributor License Agreement](https://cla-assistant.io/element-hq/element-call)
before their contribution can be merged. The CLA assistant bot will prompt you
automatically when you open a PR.
## Getting Help
The best place to ask questions about Element Call development is the MatrixRTC room:
**[#matrixRtc:matrix.org](https://matrix.to/#/#matrixrtc:matrix.org)**
+8
View File
@@ -252,6 +252,14 @@ pnpm backend
> browser's trusted certificates or by simply copying and pasting each URL into > browser's trusted certificates or by simply copying and pasting each URL into
> your browser’s address bar and follow the prompts to add the exception. > your browser’s address bar and follow the prompts to add the exception.
### Updating snapshots
To update snapshots used in tests, use Vitest's `-u` flag, e.g.:
```sh
pnpm test DeveloperSettingsTab -u
```
### Playwright tests ### Playwright tests
Our Playwright tests run automatically as part of our CI along with our other Our Playwright tests run automatically as part of our CI along with our other
-20
View File
@@ -1,20 +0,0 @@
module.exports = {
presets: [
[
"@babel/preset-env",
{
targets: {
node: "current",
},
},
],
[
"@babel/preset-react",
{
runtime: "automatic",
},
],
"@babel/preset-typescript",
],
plugins: ["babel-plugin-transform-vite-meta-env"],
};
+1
View File
@@ -12,6 +12,7 @@
"feature_use_device_session_member_events": true "feature_use_device_session_member_events": true
}, },
"ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf", "ssla": "https://static.element.io/legal/element-software-and-services-license-agreement-uk-1.pdf",
"matrix_rtc_mode": "legacy",
"matrix_rtc_session": { "matrix_rtc_session": {
"wait_for_key_rotation_ms": 3000, "wait_for_key_rotation_ms": 3000,
"membership_event_expiry_ms": 180000000, "membership_event_expiry_ms": 180000000,
+3
View File
@@ -7,6 +7,9 @@ A few aspects of Element Call's interface can be controlled through a global API
- `controls.canEnterPip(): boolean` Determines whether it's possible to enter picture-in-picture mode. - `controls.canEnterPip(): boolean` Determines whether it's possible to enter picture-in-picture mode.
- `controls.enablePip(): void` Puts the call interface into picture-in-picture mode. Throws if not in a call. - `controls.enablePip(): void` Puts the call interface into picture-in-picture mode. Throws if not in a call.
- `controls.disablePip(): void` Takes the call interface out of picture-in-picture mode, restoring it to its natural display mode. Throws if not in a call. - `controls.disablePip(): void` Takes the call interface out of picture-in-picture mode, restoring it to its natural display mode. Throws if not in a call.
- `controls.onPipMediaOrientationUpdate: ((orientation: "landscape"|"portrait") => void) | undefined` Callback called whenever the PiP media orientation changes.
The client should track this value to already initiate the pip in the right orientation.
It should update the orientation of the current Pip window when called.
## Audio devices ## Audio devices
-32
View File
@@ -1,32 +0,0 @@
import type { UserConfig } from "i18next-parser";
const config: UserConfig = {
keySeparator: ".",
namespaceSeparator: false,
contextSeparator: "|",
pluralSeparator: "_",
createOldCatalogs: false,
defaultNamespace: "app",
lexers: {
ts: [
{
lexer: "JavascriptLexer",
functions: ["t", "translatedError"],
namespaceFunctions: ["useTranslation", "withTranslation"],
},
],
tsx: [
{
lexer: "JsxLexer",
functions: ["t", "translatedError"],
namespaceFunctions: ["useTranslation", "withTranslation"],
},
],
},
locales: ["en"],
output: "locales/$LOCALE/$NAMESPACE.json",
input: ["src/**/*.{ts,tsx}"],
sort: true,
};
export default config;
+20
View File
@@ -0,0 +1,20 @@
import { defineConfig } from "i18next-cli";
export default defineConfig({
locales: ["en"],
extract: {
input: ["src/**/*.{ts,tsx}"],
output: "locales/{{language}}/{{namespace}}.json",
defaultNS: "app",
keySeparator: ".",
nsSeparator: false,
contextSeparator: "|",
extractFromComments: false,
functions: ["t", "*.t", "translatedError", "i18nKey"],
transComponents: ["Trans"],
},
types: {
input: ["locales/{{language}}/{{namespace}}.json"],
output: "src/types/i18next.d.ts",
},
});
+13
View File
@@ -16,6 +16,19 @@
<script> <script>
window.global = window; window.global = window;
</script> </script>
<!-- Polyfill for Chrome < 119 (Huawei WebView, etc.) -->
<script>
if (!Promise.withResolvers) {
Promise.withResolvers = function () {
var resolve, reject;
var promise = new Promise(function (a, b) {
resolve = a;
reject = b;
});
return { promise: promise, resolve: resolve, reject: reject };
};
}
</script>
<% if (packageType === "full") { %> <% if (packageType === "full") { %>
<!-- Open graph meta tags --> <!-- Open graph meta tags -->
+1 -7
View File
@@ -11,7 +11,7 @@ export default {
vite: { vite: {
config: ["vite.config.ts", "vite-embedded.config.ts", "vite-sdk.config.ts"], config: ["vite.config.ts", "vite-embedded.config.ts", "vite-sdk.config.ts"],
}, },
entry: ["src/main.tsx", "i18next-parser.config.ts"], entry: ["src/main.tsx", "i18next.config.ts"],
ignoreBinaries: [ ignoreBinaries: [
// This is deprecated, so Knip doesn't actually recognize it as a globally // This is deprecated, so Knip doesn't actually recognize it as a globally
// installed binary. TODO We should switch to Compose v2: // installed binary. TODO We should switch to Compose v2:
@@ -24,13 +24,7 @@ export default {
"normalize.css", "normalize.css",
// Used for its global type declarations // Used for its global type declarations
"@types/grecaptcha", "@types/grecaptcha",
// Because we use matrix-js-sdk as a Git dependency rather than consuming
// the proper release artifacts, and also import directly from src/, we're
// forced to re-install some of the types that it depends on even though
// these look unused to Knip
"@types/content-type",
"@types/sdp-transform", "@types/sdp-transform",
"@types/uuid",
// We obviously use this, but if the package has been linked with pnpm link, // We obviously use this, but if the package has been linked with pnpm link,
// then Knip will flag it as a false positive // then Knip will flag it as a false positive
// https://github.com/webpro-nl/knip/issues/766 // https://github.com/webpro-nl/knip/issues/766
+9 -2
View File
@@ -11,22 +11,29 @@
"register": "Регистрация", "register": "Регистрация",
"remove": "Премахни", "remove": "Премахни",
"sign_in": "Влез", "sign_in": "Влез",
"sign_out": "Излез" "sign_out": "Излез",
"submit": "Израти"
}, },
"analytics_notice": "Когато участвате в тази бета, вие съгласявате се с събирането на анонимни данни, които използваме, за да подобрим продукта. Повечето информация за данните, които следим, можете да намерите в нашата <2>Политика за поверителност</2> и нашата <6>Политика за бисквитки</6>.",
"call_ended_view": { "call_ended_view": {
"create_account_button": "Създай акаунт", "create_account_button": "Създай акаунт",
"create_account_prompt": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>", "create_account_prompt": "<0>Защо не настройте парола за да запазите акаунта си?</0><1>Ще можете да запазите името и аватара си за бъдещи разговори</1>",
"not_now_button": "Не сега, върни се на началния екран" "feedback_done": "<0>Благодаря за обратната връзка!</0>",
"headline": "{{displayName}}, разговорът Ви приключи.",
"not_now_button": "Не сега, върни се на началния екран",
"survey_prompt": "Как мина?"
}, },
"common": { "common": {
"audio": "Звук", "audio": "Звук",
"avatar": "Аватар", "avatar": "Аватар",
"display_name": "Име/псевдоним", "display_name": "Име/псевдоним",
"encrypted": "Шифровано",
"home": "Начало", "home": "Начало",
"loading": "Зареждане…", "loading": "Зареждане…",
"password": "Парола", "password": "Парола",
"profile": "Профил", "profile": "Профил",
"settings": "Настройки", "settings": "Настройки",
"unencrypted": "Нешифровано",
"username": "Потребителско име", "username": "Потребителско име",
"video": "Видео" "video": "Видео"
}, },
+28 -6
View File
@@ -49,6 +49,7 @@
"profile": "Profil", "profile": "Profil",
"reaction": "Reakce", "reaction": "Reakce",
"reactions": "Reakce", "reactions": "Reakce",
"reconnecting": "Opětovné spojení...",
"settings": "Nastavení", "settings": "Nastavení",
"unencrypted": "Nešifrováno", "unencrypted": "Nešifrováno",
"username": "Uživatelské jméno", "username": "Uživatelské jméno",
@@ -57,6 +58,14 @@
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Zobrazit možnost sluchátek pro iPhone na všech platformách", "always_show_iphone_earpiece": "Zobrazit možnost sluchátek pro iPhone na všech platformách",
"crypto_version": "Kryptografická verze: {{version}}", "crypto_version": "Kryptografická verze: {{version}}",
"custom_livekit_url": {
"current_url": "Aktuálně nastaveno na: ",
"from_config": "Aktuálně není nastaveno žádné přepsání. Používá se URL z well-known nebo konfigurace.",
"label": "Vlastní Livekit-url",
"reset": "Resetovat přepsání",
"save": "Uložit",
"saving": "Ukládání..."
},
"debug_tile_layout_label": "Ladění rozložení dlaždic", "debug_tile_layout_label": "Ladění rozložení dlaždic",
"device_id": "ID zařízení: {{id}}", "device_id": "ID zařízení: {{id}}",
"duplicate_tiles_label": "Počet dalších kopií dlaždic na účastníka", "duplicate_tiles_label": "Počet dalších kopií dlaždic na účastníka",
@@ -64,13 +73,25 @@
"hostname": "Název hostitele: {{hostname}}", "hostname": "Název hostitele: {{hostname}}",
"livekit_server_info": "Informace o serveru LiveKit", "livekit_server_info": "Informace o serveru LiveKit",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Kompatibilní s domovskými servery, které nepodporují přilnavé události (ale všechny ostatní EC klienti jsou v0.17.0 nebo novější)",
"label": "Kompatibilita: stavové události a více SFU"
},
"Legacy": {
"description": "Kompatibilní se starými verzemi EC, které nepodporují multi SFU",
"label": "Zastaralé: stavové události a nejstarší členské SFU"
},
"Matrix_2_0": {
"description": "Kompatibilní pouze s domovskými servery podporujícími přilnavé události a všemi klienty EC v0.17.0 nebo novějšími.",
"label": "Matrix 2.0: přilnavé události a multi SFU"
},
"title": "Režim MatrixRTC"
},
"matrix_id": "Matrix ID: {{id}}", "matrix_id": "Matrix ID: {{id}}",
"mute_all_audio": "Ztlumit všechny zvuky (účastníci, reakce, zvuky připojení)", "mute_all_audio": "Ztlumit všechny zvuky (účastníci, reakce, zvuky připojení)",
"show_connection_stats": "Zobrazit statistiky připojení", "show_connection_stats": "Zobrazit statistiky připojení",
"show_non_member_tiles": "Zobrazit dlaždice pro nečlenská média", "url_params": "Parametry URL"
"url_params": "Parametry URL",
"use_new_membership_manager": "Použijte novou implementaci volání MembershipManager",
"use_to_device_key_transport": "Použít přenos klíčů do zařízení. Tím se vrátíte k přenosu klíčů do místnosti, když jiný účastník hovoru pošle klíč místnosti"
}, },
"disconnected_banner": "Připojení k serveru bylo ztraceno.", "disconnected_banner": "Připojení k serveru bylo ztraceno.",
"error": { "error": {
@@ -85,9 +106,11 @@
"generic_description": "Odeslání protokolů ladění nám pomůže vystopovat problém.", "generic_description": "Odeslání protokolů ladění nám pomůže vystopovat problém.",
"insufficient_capacity": "Nedostatečná kapacita", "insufficient_capacity": "Nedostatečná kapacita",
"insufficient_capacity_description": "Server dosáhl své maximální kapacity a v tuto chvíli se nemůžete připojit k hovoru. Zkuste to později nebo se obraťte na správce serveru, pokud problém přetrvává.", "insufficient_capacity_description": "Server dosáhl své maximální kapacity a v tuto chvíli se nemůžete připojit k hovoru. Zkuste to později nebo se obraťte na správce serveru, pokud problém přetrvává.",
"matrix_rtc_focus_missing": "Server není nakonfigurován pro práci s {{brand}}. Obraťte se na správce serveru (Doména: {{domain}}, Kód chyby: {{ errorCode }}).", "matrix_rtc_transport_missing": "Server není nakonfigurován pro práci s {{brand}}. Obraťte se na správce serveru (Doména: {{domain}}, Kód chyby: {{ errorCode }}).",
"open_elsewhere": "Otevřeno na jiné kartě", "open_elsewhere": "Otevřeno na jiné kartě",
"open_elsewhere_description": "{{brand}} byl otevřen v jiné záložce. Pokud to nezní správně, zkuste stránku znovu načíst.", "open_elsewhere_description": "{{brand}} byl otevřen v jiné záložce. Pokud to nezní správně, zkuste stránku znovu načíst.",
"room_creation_restricted": "Nepodařilo se vytvořit hovor",
"room_creation_restricted_description": "Vytváření hovorů může být omezeno pouze na oprávněné uživatele. Zkuste to znovu později nebo se obraťte na správce serveru, pokud problém přetrvává.",
"unexpected_ec_error": "Došlo k neočekávané chybě (<0>Error Code:</0> <1>{{ errorCode }}</1>). Obraťte se prosím na správce serveru." "unexpected_ec_error": "Došlo k neočekávané chybě (<0>Error Code:</0> <1>{{ errorCode }}</1>). Obraťte se prosím na správce serveru."
}, },
"group_call_loader": { "group_call_loader": {
@@ -219,7 +242,6 @@
"video_tile": { "video_tile": {
"always_show": "Vždy zobrazit", "always_show": "Vždy zobrazit",
"camera_starting": "Načítání videa...", "camera_starting": "Načítání videa...",
"change_fit_contain": "Přizpůsobit rámu",
"collapse": "Sbalit", "collapse": "Sbalit",
"expand": "Rozbalit", "expand": "Rozbalit",
"mute_for_me": "Pro mě ztlumit", "mute_for_me": "Pro mě ztlumit",
+2 -6
View File
@@ -49,6 +49,7 @@
"profile": "Profil", "profile": "Profil",
"reaction": "Reaktion", "reaction": "Reaktion",
"reactions": "Reaktioner", "reactions": "Reaktioner",
"reconnecting": "Genopretter forbindelse…",
"settings": "Indstillinger", "settings": "Indstillinger",
"unencrypted": "Ikke krypteret", "unencrypted": "Ikke krypteret",
"username": "Brugernavn", "username": "Brugernavn",
@@ -67,10 +68,7 @@
"matrix_id": "Matrix ID: {{id}}", "matrix_id": "Matrix ID: {{id}}",
"mute_all_audio": "Slå al lyd fra (deltagere, reaktioner, deltagelseslyde)", "mute_all_audio": "Slå al lyd fra (deltagere, reaktioner, deltagelseslyde)",
"show_connection_stats": "Vis forbindelsesstatistik", "show_connection_stats": "Vis forbindelsesstatistik",
"show_non_member_tiles": "Vis fliser for medier fra ikke-medlemmer", "url_params": "URL-parametre"
"url_params": "URL-parametre",
"use_new_membership_manager": "Brug den nye implementering af opkaldet MembershipManager",
"use_to_device_key_transport": "Bruges til at transportere enhedsnøgler. Dette vil falde tilbage til transport af værelsesnøgler, når et andet opkaldsmedlem sender en rumnøgle"
}, },
"disconnected_banner": "Forbindelsen til serveren er gået tabt.", "disconnected_banner": "Forbindelsen til serveren er gået tabt.",
"error": { "error": {
@@ -85,7 +83,6 @@
"generic_description": "Indsendelse af fejlfindingslogfiler hjælper os med at spore problemet.", "generic_description": "Indsendelse af fejlfindingslogfiler hjælper os med at spore problemet.",
"insufficient_capacity": "Utilstrækkelig kapacitet", "insufficient_capacity": "Utilstrækkelig kapacitet",
"insufficient_capacity_description": "Serveren har nået sin maksimale kapacitet, og du kan ikke deltage i opkaldet på dette tidspunkt. Prøv igen senere, eller kontakt din serveradministrator, hvis problemet fortsætter.", "insufficient_capacity_description": "Serveren har nået sin maksimale kapacitet, og du kan ikke deltage i opkaldet på dette tidspunkt. Prøv igen senere, eller kontakt din serveradministrator, hvis problemet fortsætter.",
"matrix_rtc_focus_missing": "Serveren er ikke konfigureret til at arbejde med {{brand}}{{domain}}. Kontakt venligst din serveradministrator (domæne:{{domain}}, fejlkode: {{ errorCode }}).",
"open_elsewhere": "Åbnet i en anden fane", "open_elsewhere": "Åbnet i en anden fane",
"open_elsewhere_description": "{{brand}} er blevet åbnet i en anden fane. Hvis det ikke lyder rigtigt, kan du prøve at genindlæse siden.", "open_elsewhere_description": "{{brand}} er blevet åbnet i en anden fane. Hvis det ikke lyder rigtigt, kan du prøve at genindlæse siden.",
"room_creation_restricted": "Kunne ikke oprette opkald", "room_creation_restricted": "Kunne ikke oprette opkald",
@@ -219,7 +216,6 @@
"video_tile": { "video_tile": {
"always_show": "Vis altid", "always_show": "Vis altid",
"camera_starting": "Indlæser video", "camera_starting": "Indlæser video",
"change_fit_contain": "Tilpas til rammen",
"collapse": "Fold sammen", "collapse": "Fold sammen",
"expand": "Udvid", "expand": "Udvid",
"mute_for_me": "Slå lyden fra for mig", "mute_for_me": "Slå lyden fra for mig",
+35 -9
View File
@@ -58,6 +58,14 @@
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "iPhone-Ohrhörer-Option auf allen Plattformen anzeigen", "always_show_iphone_earpiece": "iPhone-Ohrhörer-Option auf allen Plattformen anzeigen",
"crypto_version": "Krypto-Version: {{version}}", "crypto_version": "Krypto-Version: {{version}}",
"custom_livekit_url": {
"current_url": "Derzeit eingestellt auf: ",
"from_config": "Derzeit ist keine spezielle (benutzerdefinierte) URL eingestellt. Daher wird automatisch die URL verwendet, die entweder via „.well-known“ oder in der Webbrowser-Konfiguration („config“) hinterlegt ist.",
"label": "Benutzerdefinierte Livekit-URL",
"reset": "Zurücksetzen der benutzerdefinierten URL",
"save": "Speichern",
"saving": "Speichern..."
},
"debug_tile_layout_label": "Kachel-Layout debuggen", "debug_tile_layout_label": "Kachel-Layout debuggen",
"device_id": "Geräte-ID: {{id}}", "device_id": "Geräte-ID: {{id}}",
"duplicate_tiles_label": "Anzahl zusätzlicher Kachelkopien pro Teilnehmer", "duplicate_tiles_label": "Anzahl zusätzlicher Kachelkopien pro Teilnehmer",
@@ -65,13 +73,25 @@
"hostname": "Hostname: {{hostname}}", "hostname": "Hostname: {{hostname}}",
"livekit_server_info": "LiveKit-Server Informationen", "livekit_server_info": "LiveKit-Server Informationen",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Kompatibel mit Homeservern ohne Sticky Events Support, wobei alle beteiligten Element Call Clients v0.17.0 oder neuer sein müssen.",
"label": "Kompatibilität: State Events & Multi-SFU"
},
"Legacy": {
"description": "Kompatibel mit älteren Versionen von Element Call, welche Multi-SFU nicht unterstützen",
"label": "Legacy: State Events und \"Oldest Membership\" SFU"
},
"Matrix_2_0": {
"description": "Nur mit Homeservern kompatibel, die Sticky Events unterstützen, wobei alle beteiligten Element Call Clients Version v0.17.0 oder neuer sein müssen.",
"label": "Matrix 2.0: Sticky Events und Multi-SFU"
},
"title": "MatrixRTC Modus"
},
"matrix_id": "Matrix-ID: {{id}}", "matrix_id": "Matrix-ID: {{id}}",
"mute_all_audio": "Stummschalten aller Audiosignale (Teilnehmer, Reaktionen, Beitrittsgeräusche)", "mute_all_audio": "Stummschalten aller Audiosignale (Teilnehmer, Reaktionen, Beitrittsgeräusche)",
"show_connection_stats": "Verbindungsstatistiken anzeigen", "show_connection_stats": "Verbindungsstatistiken anzeigen",
"show_non_member_tiles": "Kacheln für Nicht-Mitgliedermedien anzeigen", "url_params": "URL-Parameter"
"url_params": "URL-Parameter",
"use_new_membership_manager": "Neuen MembershipManager verwenden",
"use_to_device_key_transport": "To-Device media E2EE Schlüssel-Transport verwenden. Falls ein anderer Teilnehmer bereits den Raumschlüssel-Transport verwendet, wird automatisch auf Raumschlüssel-Transport zurückgegriffen."
}, },
"disconnected_banner": "Die Verbindung zum Server wurde getrennt.", "disconnected_banner": "Die Verbindung zum Server wurde getrennt.",
"error": { "error": {
@@ -82,13 +102,17 @@
"connection_lost_description": "Ihre Verbindung zum Anruf wurde unterbrochen.", "connection_lost_description": "Ihre Verbindung zum Anruf wurde unterbrochen.",
"e2ee_unsupported": "Inkompatibler Browser", "e2ee_unsupported": "Inkompatibler Browser",
"e2ee_unsupported_description": "Ihr Webbrowser unterstützt keine verschlüsselten Anrufe. Zu den unterstützten Browsern gehören Chrome, Safari und Firefox 117+.", "e2ee_unsupported_description": "Ihr Webbrowser unterstützt keine verschlüsselten Anrufe. Zu den unterstützten Browsern gehören Chrome, Safari und Firefox 117+.",
"failed_to_start_livekit": "LiveKit-Verbindung konnte nicht hergestellt werden",
"generic": "Etwas ist schief gelaufen", "generic": "Etwas ist schief gelaufen",
"generic_description": "Durch das Senden von Debugprotokollen können wir das Problem leichter eingrenzen.", "generic_description": "Durch das Senden von Debugprotokollen können wir das Problem leichter eingrenzen.",
"insufficient_capacity": "Unzureichende Kapazität", "insufficient_capacity": "Unzureichende Kapazität",
"insufficient_capacity_description": "Der Server hat seine maximale Kapazität erreicht, daher ist ein Beitritt zum Anruf derzeit nicht möglich. Bitte später erneut versuchen oder den Serveradministrator kontaktieren, falls das Problem weiterhin besteht.", "insufficient_capacity_description": "Der Server hat seine maximale Kapazität erreicht, daher ist ein Beitritt zum Anruf derzeit nicht möglich. Bitte später erneut versuchen oder den Serveradministrator kontaktieren, falls das Problem weiterhin besteht.",
"matrix_rtc_focus_missing": "Der Server ist nicht für die Verwendung mit {{brand}} konfiguriert. Bitte den Serveradministrator kontaktieren (Domain: {{domain}}, Fehlercode: {{ errorCode }}).", "matrix_rtc_transport_missing": "Der Server ist nicht für die Verwendung mit {{brand}} konfiguriert. Bitte den Server Admin kontaktieren (Domain: {{domain}}, Fehlercode: {{ errorCode }}).",
"membership_manager": "Fehler im MatrixRTC Mitgliedschaftsmanager",
"membership_manager_description": "Der MatrixRTC Mitgliedschaftsmanager wurde unerwartet aufgrund fehlgeschlagener Netzwerkanfragen beendet.",
"no_matrix_2_authorization_service": "Der Autorisierungsdienst des Medien Servers (SFU) ist veraltet.",
"open_elsewhere": "In einem anderen Tab geöffnet", "open_elsewhere": "In einem anderen Tab geöffnet",
"open_elsewhere_description": "{{brand}} wurde in einem anderen Tab geöffnet. Wenn das nicht richtig klingt, versuchen Sie, die Seite neu zu laden.", "open_elsewhere_description": "{{brand}} wurde in einem anderen Tab geöffnet. Wenn das nicht richtig klingt, versuche, die Seite neu zu laden.",
"room_creation_restricted": "Anruf konnte nicht erstellt werden", "room_creation_restricted": "Anruf konnte nicht erstellt werden",
"room_creation_restricted_description": "Das Erstellen von Anrufen ist nur für autorisierte Nutzer möglich. Versuche es später erneut oder kontaktiere deinen Serveradministrator, falls das Problem weiterhin besteht.", "room_creation_restricted_description": "Das Erstellen von Anrufen ist nur für autorisierte Nutzer möglich. Versuche es später erneut oder kontaktiere deinen Serveradministrator, falls das Problem weiterhin besteht.",
"unexpected_ec_error": "Ein unerwarteter Fehler ist aufgetreten (<0>Fehlercode: </0> <1>{{ errorCode }}</1>). Bitte den Serveradministrator kontaktieren." "unexpected_ec_error": "Ein unerwarteter Fehler ist aufgetreten (<0>Fehlercode: </0> <1>{{ errorCode }}</1>). Bitte den Serveradministrator kontaktieren."
@@ -194,9 +218,9 @@
"opt_in_description": "<0></0><1></1>Du kannst deine Zustimmung durch Abwählen dieses Kästchens zurückziehen. Falls du dich aktuell in einem Anruf befindest, wird diese Einstellung nach dem Ende des Anrufs wirksam.", "opt_in_description": "<0></0><1></1>Du kannst deine Zustimmung durch Abwählen dieses Kästchens zurückziehen. Falls du dich aktuell in einem Anruf befindest, wird diese Einstellung nach dem Ende des Anrufs wirksam.",
"preferences_tab": { "preferences_tab": {
"developer_mode_label": "Entwickler-Modus", "developer_mode_label": "Entwickler-Modus",
"developer_mode_label_description": "Aktivieren Sie den Entwicklermodus und zeigen Sie die Registerkarte mit den Entwicklereinstellungen an.", "developer_mode_label_description": "Aktiviere den Entwicklermodus und zeige Entwicklereinstellungen an.",
"introduction": "Hier können zusätzliche Optionen für individuelle Anforderungen eingestellt werden.", "introduction": "Hier können zusätzliche Optionen für individuelle Anforderungen eingestellt werden.",
"reactions_play_sound_description": "Spielen Sie einen Soundeffekt ab, wenn jemand eine Reaktion auf einen Anruf sendet.", "reactions_play_sound_description": "Spiele einen Soundeffekt ab, wenn jemand eine Reaktion auf einen Anruf sendet.",
"reactions_play_sound_label": "Reaktionstöne abspielen", "reactions_play_sound_label": "Reaktionstöne abspielen",
"reactions_show_description": "Zeige eine Animation, wenn jemand eine Reaktion sendet.", "reactions_show_description": "Zeige eine Animation, wenn jemand eine Reaktion sendet.",
"reactions_show_label": "Reaktionen anzeigen", "reactions_show_label": "Reaktionen anzeigen",
@@ -219,12 +243,14 @@
"version": "{{productName}} Version: {{version}}", "version": "{{productName}} Version: {{version}}",
"video_tile": { "video_tile": {
"always_show": "Immer anzeigen", "always_show": "Immer anzeigen",
"call_ended": "Anruf beendet",
"calling": "Anruf…",
"camera_starting": "Video wird geladen...", "camera_starting": "Video wird geladen...",
"change_fit_contain": "An Fenster anpassen",
"collapse": "Minimieren", "collapse": "Minimieren",
"expand": "Erweitern", "expand": "Erweitern",
"mute_for_me": "Für mich stumm schalten", "mute_for_me": "Für mich stumm schalten",
"muted_for_me": "Für mich stumm geschaltet", "muted_for_me": "Für mich stumm geschaltet",
"screen_share_volume": "Lautstärke der Bildschirmfreigabe",
"volume": "Lautstärke", "volume": "Lautstärke",
"waiting_for_media": "Warten auf Medien..." "waiting_for_media": "Warten auf Medien..."
} }
-1
View File
@@ -65,7 +65,6 @@
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrix_id": "Αναγνωριστικό Matrix: {{id}}", "matrix_id": "Αναγνωριστικό Matrix: {{id}}",
"show_connection_stats": "Εμφάνιση στατιστικών σύνδεσης", "show_connection_stats": "Εμφάνιση στατιστικών σύνδεσης",
"show_non_member_tiles": "Εμφάνιση πλακιδίων για μέσα μη-μελών",
"url_params": "Παράμετροι URL" "url_params": "Παράμετροι URL"
}, },
"header_label": "Element Κεντρική Οθόνη Κλήσεων", "header_label": "Element Κεντρική Οθόνη Κλήσεων",
+8 -1
View File
@@ -108,14 +108,20 @@
"generic_description": "Submitting debug logs will help us track down the problem.", "generic_description": "Submitting debug logs will help us track down the problem.",
"insufficient_capacity": "Insufficient capacity", "insufficient_capacity": "Insufficient capacity",
"insufficient_capacity_description": "The server has reached its maximum capacity and you cannot join the call at this time. Try again later, or contact your server admin if the problem persists.", "insufficient_capacity_description": "The server has reached its maximum capacity and you cannot join the call at this time. Try again later, or contact your server admin if the problem persists.",
"livekit_connection_error": "Failed to connect to Livekit server",
"livekit_connection_error_description": "An error occurred while connecting to the Livekit server (<1>Reason:</1> <2>{{ reason }}</2>).",
"matrix_rtc_transport_missing": "The server is not configured to work with {{brand}}. Please contact your server admin (Domain: {{domain}}, Error Code: {{ errorCode }}).", "matrix_rtc_transport_missing": "The server is not configured to work with {{brand}}. Please contact your server admin (Domain: {{domain}}, Error Code: {{ errorCode }}).",
"membership_manager": "Membership Manager Error", "membership_manager": "Membership Manager Error",
"membership_manager_description": "The Membership Manager had to shut down. This is caused by many consequtive failed network requests.", "membership_manager_description": "The Membership Manager had to shut down. This is caused by many consecutive failed network requests.",
"no_matrix_2_authorization_service": "The authorization service for your media server (SFU) is out of date.", "no_matrix_2_authorization_service": "The authorization service for your media server (SFU) is out of date.",
"open_elsewhere": "Opened in another tab", "open_elsewhere": "Opened in another tab",
"open_elsewhere_description": "{{brand}} has been opened in another tab. If that doesn't sound right, try reloading the page.", "open_elsewhere_description": "{{brand}} has been opened in another tab. If that doesn't sound right, try reloading the page.",
"peer_connection_timeout": "Connection timeout",
"peer_connection_timeout_description": "Connection to the media server timed out. Try switching to a different network or disabling your VPN. If the problem persists, see our <0>troubleshooting guide</0> or contact your server administrator.",
"room_creation_restricted": "Failed to create call", "room_creation_restricted": "Failed to create call",
"room_creation_restricted_description": "Call creation might be restricted to authorized users only. Try again later, or contact your server admin if the problem persists.", "room_creation_restricted_description": "Call creation might be restricted to authorized users only. Try again later, or contact your server admin if the problem persists.",
"sticky_events_required": "Homeserver does not support Matrix 2.0 calls",
"sticky_events_required_description": "This deployment is configured to use Matrix 2.0 call mode, but the homeserver does not advertise support for sticky events (MSC4354). Ask your server admin to upgrade, or switch the deployment to a compatible mode.",
"unexpected_ec_error": "An unexpected error occurred (<0>Error Code:</0> <1>{{ errorCode }}</1>). Please contact your server admin." "unexpected_ec_error": "An unexpected error occurred (<0>Error Code:</0> <1>{{ errorCode }}</1>). Please contact your server admin."
}, },
"group_call_loader": { "group_call_loader": {
@@ -238,6 +244,7 @@
"stop_video_button_label": "Stop video", "stop_video_button_label": "Stop video",
"submitting": "Submitting…", "submitting": "Submitting…",
"switch_camera": "Switch camera", "switch_camera": "Switch camera",
"technical_details": "Technical details",
"unauthenticated_view_body": "Not registered yet? <2>Create an account</2>", "unauthenticated_view_body": "Not registered yet? <2>Create an account</2>",
"unauthenticated_view_login_button": "Login to your account", "unauthenticated_view_login_button": "Login to your account",
"unauthenticated_view_ssla_caption": "By clicking \"Go\", you agree to our <2>Software and Services License Agreement (SSLA)</2>", "unauthenticated_view_ssla_caption": "By clicking \"Go\", you agree to our <2>Software and Services License Agreement (SSLA)</2>",
+177 -5
View File
@@ -5,14 +5,21 @@
"action": { "action": {
"close": "Cerrar", "close": "Cerrar",
"copy_link": "Copiar vínculo", "copy_link": "Copiar vínculo",
"edit": "Editar",
"go": "Comenzar", "go": "Comenzar",
"invite": "Invitar", "invite": "Invitar",
"lower_hand": "Bajar mano",
"no": "No", "no": "No",
"pick_reaction": "Elige reacción",
"raise_hand": "Levantar la mano",
"register": "Registrarse", "register": "Registrarse",
"remove": "Eliminar", "remove": "Eliminar",
"show_less": "Mostrar menos",
"show_more": "Mostrar más",
"sign_in": "Iniciar sesión", "sign_in": "Iniciar sesión",
"sign_out": "Cerrar sesión", "sign_out": "Cerrar sesión",
"submit": "Enviar" "submit": "Enviar",
"upload_file": "Cargar archivo"
}, },
"analytics_notice": "Al participar en esta beta, consientes a la recogida de datos anónimos, los cuales usaremos para mejorar el producto. Puedes encontrar más información sobre que datos recogemos en nuestra <2>Política de privacidad</2> y en nuestra <5>Política sobre Cookies</5>.", "analytics_notice": "Al participar en esta beta, consientes a la recogida de datos anónimos, los cuales usaremos para mejorar el producto. Puedes encontrar más información sobre que datos recogemos en nuestra <2>Política de privacidad</2> y en nuestra <5>Política sobre Cookies</5>.",
"call_ended_view": { "call_ended_view": {
@@ -22,30 +29,142 @@
"feedback_prompt": "<0>Nos encantaría conocer tu opinión para que podamos mejorar tu experiencia</0>", "feedback_prompt": "<0>Nos encantaría conocer tu opinión para que podamos mejorar tu experiencia</0>",
"headline": "{{displayName}}, tu llamada ha finalizado.", "headline": "{{displayName}}, tu llamada ha finalizado.",
"not_now_button": "Ahora no, volver a la pantalla de inicio", "not_now_button": "Ahora no, volver a la pantalla de inicio",
"reconnect_button": "Reconnectar",
"survey_prompt": "¿Cómo ha ido?" "survey_prompt": "¿Cómo ha ido?"
}, },
"call_name": "Nombre de la llamada",
"common": { "common": {
"analytics": "Analíticas",
"audio": "Audio",
"avatar": "Avatar",
"back": "Regresar",
"display_name": "Nombre a mostrar", "display_name": "Nombre a mostrar",
"encrypted": "Cifrado",
"home": "Inicio", "home": "Inicio",
"loading": "Cargando…", "loading": "Cargando…",
"next": "Próximo",
"options": "Opciones",
"password": "Contraseña", "password": "Contraseña",
"preferences": "Preferencias",
"profile": "Perfil", "profile": "Perfil",
"reaction": "Reacción",
"reactions": "Reacciones",
"reconnecting": "Reconectando…",
"settings": "Ajustes", "settings": "Ajustes",
"username": "Nombre de usuario" "unencrypted": "Sin cifrar",
"username": "Nombre de usuario",
"video": "Vídeo"
}, },
"developer_mode": {
"always_show_iphone_earpiece": "Mostrar la opción de auricular del iPhone en todas las plataformas",
"crypto_version": "Versión criptográfica: {{version}}",
"custom_livekit_url": {
"current_url": "Actualmente configurado: ",
"from_config": "Actualmente, no hay ninguna sobrescritura configurada. Se utiliza la URL de well-known o config.",
"label": "URL personalizada de Livekit",
"reset": "Restablecer sobrescritura",
"save": "Guardar",
"saving": "Guardando..."
},
"debug_tile_layout_label": "Depurar diseño de mosaicos",
"device_id": "ID del dispositivo: {{id}}",
"duplicate_tiles_label": "Número de copias adicionales de fichas por participante",
"environment_variables": "Variables de entorno",
"hostname": "Nombre del Host: {{hostname}}",
"livekit_server_info": "Información servidor LiveKit",
"livekit_sfu": "LiveKit SFU:{{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Compatible con servidores privados que no admiten eventos persistentes (pero todos los demás clientes de EC son v0.17.0 o posteriores)",
"label": "Compatibilidad: eventos de estado y SFU múltiple"
},
"Legacy": {
"description": "Compatible con versiones antiguas de EC que no admiten SFU múltiple.",
"label": "Legado: eventos estatales y membresía más antigua SFU"
},
"Matrix_2_0": {
"description": "Compatible solo con servidores domésticos que admiten eventos persistentes y todos los clientes EC v0.17.0 o posterior",
"label": "Matrix 2.0: eventos persistentes y SFU múltiple"
},
"title": "Modo MatrixRTC"
},
"matrix_id": "Matrix ID: {{id}}",
"mute_all_audio": "Silenciar todo el audio (participantes, reacciones, sonidos de unirse)",
"show_connection_stats": "Mostrar estadísticas de conexión",
"url_params": "Parámetros URL"
},
"disconnected_banner": "Se perdió la conectividad con el servidor.",
"error": {
"call_is_not_supported": "La llamada no es compatible",
"call_not_found": "Llamada no encontrada",
"call_not_found_description": "<0>Ese enlace no parece pertenecer a ninguna llamada existente. Comprueba que tienes el enlace correcto o <2>crea uno nuevo</2>.</0>",
"connection_lost": "Conexión interrumpida",
"connection_lost_description": "Se cortadó la llamada.",
"e2ee_unsupported": "Navegador incompatible",
"e2ee_unsupported_description": "Tu navegador web no admite llamadas cifradas. Los navegadores compatibles son Chrome, Safari y Firefox 117+.",
"failed_to_start_livekit": "No se ha podido iniciar la conexión Livekit.",
"generic": "Algo salió mal",
"generic_description": "Enviar registros de depuración nos ayudará a localizar el problema.",
"insufficient_capacity": "Capacidad insuficiente",
"insufficient_capacity_description": "El servidor ha alcanzado su capacidad máxima y no puedes unirte a la llamada en el momento. Inténtalo más tarde o contacta el administrador del servidor si el problema persiste.",
"matrix_rtc_transport_missing": "El servidor no está configurado para trabajar con{{brand}} . Por favor, póngase en contacto con el administrador de su servidor (Dominio:{{domain}} Código de error:{{ errorCode }} ).",
"membership_manager": "Error del administrador de miembros",
"membership_manager_description": "El Administrador de Membresías tuvo que cerrarse debido a numerosas solicitudes de red fallidas consecutivas.",
"no_matrix_2_authorization_service": "El servicio de autorización de su servidor multimedia (SFU) está desactualizado.",
"open_elsewhere": "Abierto en otra pestaña",
"open_elsewhere_description": "{{brand}}Se ha abierto en otra pestaña. Si no suena bien, intenta recargar la página.",
"room_creation_restricted": "Falló crear llamada",
"room_creation_restricted_description": "La creación de llamadas podría estar restringida solo a usuarios autorizados. Inténtelo de nuevo más tarde o póngase en contacto con el administrador del servidor si el problema persiste.",
"unexpected_ec_error": "Se produjo un error inesperado (<0> Código de error:</0><1>{{ errorCode }}</1> ) Por favor, contacta el administrador de su servidor."
},
"group_call_loader": {
"banned_body": "Has sido expulsado de la sala.",
"banned_heading": "Bloqueado",
"call_ended_body": "Te han retirado de la llamada.",
"call_ended_heading": "Llamada finalizada",
"knock_reject_body": "Su solicitud para unirse fue rechazada.",
"knock_reject_heading": "Acceso denegado",
"reason": "Razón:{{reason}}"
},
"handset": {
"overlay_back_button": "Volver al modo altavoz",
"overlay_description": "Solo funciona mientras se utiliza la aplicación.",
"overlay_title": "Modo teléfono"
},
"hangup_button_label": "Finalizar llamada",
"header_label": "Inicio de Element Call", "header_label": "Inicio de Element Call",
"header_participants_label": "Participantes",
"invite_modal": {
"link_copied_toast": "Enlace copiado al portapapeles",
"title": "Invita a esta llamada"
},
"join_existing_call_modal": { "join_existing_call_modal": {
"join_button": "Si, unirse a la llamada", "join_button": "Si, unirse a la llamada",
"text": "Esta llamada ya existe, ¿te gustaría unirte?", "text": "Esta llamada ya existe, ¿te gustaría unirte?",
"title": "¿Unirse a llamada existente?" "title": "¿Unirse a llamada existente?"
}, },
"layout_grid_label": "Grilla",
"layout_spotlight_label": "Foco", "layout_spotlight_label": "Foco",
"lobby": { "lobby": {
"join_button": "Unirse a la llamada" "ask_to_join": "Solicitar unirse a la llamada",
"join_as_guest": "Unirse como invitado",
"join_button": "Unirse a la llamada",
"leave_button": "Volver a recientes",
"waiting_for_invite": "¡Solicitud enviada! Esperando permiso para unir..."
}, },
"log_in": "Iniciar sesión",
"logging_in": "Iniciando sesión…", "logging_in": "Iniciando sesión…",
"login_auth_links": "<0>Crear una cuenta</0> o <2>Acceder como invitado</2>", "login_auth_links": "<0>Crear una cuenta</0> o <2>Acceder como invitado</2>",
"login_auth_links_prompt": "¿Aún no se ha registrado?",
"login_subheading": "Continuar a Element",
"login_title": "Iniciar sesión", "login_title": "Iniciar sesión",
"microphone_off": "Micrófono desactivado",
"microphone_on": "Micrófono activado",
"mute_microphone_button_label": "Silenciar micrófono",
"participant_count_one": "{{count, number}}",
"participant_count_other": "{{count, number}}",
"qr_code": "CÓDIGO QR",
"rageshake_button_error_caption": "Reintentar enviar registros",
"rageshake_request_modal": { "rageshake_request_modal": {
"body": "Otro usuario en esta llamada está teniendo problemas. Para diagnosticar estos problemas nos gustaría recopilar un registro de depuración.", "body": "Otro usuario en esta llamada está teniendo problemas. Para diagnosticar estos problemas nos gustaría recopilar un registro de depuración.",
"title": "Petición de registros de depuración" "title": "Petición de registros de depuración"
@@ -53,30 +172,83 @@
"rageshake_send_logs": "Enviar registros de depuración", "rageshake_send_logs": "Enviar registros de depuración",
"rageshake_sending": "Enviando…", "rageshake_sending": "Enviando…",
"rageshake_sending_logs": "Enviando registros de depuración…", "rageshake_sending_logs": "Enviando registros de depuración…",
"rageshake_sent": "¡Gracias!",
"recaptcha_dismissed": "Recaptcha cancelado", "recaptcha_dismissed": "Recaptcha cancelado",
"recaptcha_not_loaded": "No se ha cargado el Recaptcha", "recaptcha_not_loaded": "No se ha cargado el Recaptcha",
"recaptcha_ssla_caption": "Este sitio está protegido por ReCAPTCHA y se aplican las <2> política de privacidad</2> y<6> Condiciones de servicio</6>de Google aplican.<9></9> Al hacer clic en \"Registrarse\", se acepta nuestros <12> Acuerdo de licencia de software y servicios (SSLA)</12>",
"register": { "register": {
"passwords_must_match": "Las contraseñas deben coincidir", "passwords_must_match": "Las contraseñas deben coincidir",
"registering": "Registrando…" "registering": "Registrando…"
}, },
"register_auth_links": "<0>¿Ya tienes una cuenta?</0><1><0>Iniciar sesión</0> o <2>Acceder como invitado</2></1>", "register_auth_links": "<0>¿Ya tienes una cuenta?</0><1><0>Iniciar sesión</0> o <2>Acceder como invitado</2></1>",
"register_confirm_password_label": "Confirmar contraseña", "register_confirm_password_label": "Confirmar contraseña",
"register_heading": "Crear tu cuenta",
"return_home_button": "Volver a la pantalla de inicio", "return_home_button": "Volver a la pantalla de inicio",
"room_auth_view_continue_button": "Continuar",
"room_auth_view_ssla_caption": "Al hacer clic en \"Unirse a la llamada ahora\", acepta nuestros<2> Acuerdo de licencia de software y servicios (SSLA)</2>",
"screenshare_button_label": "Compartir pantalla", "screenshare_button_label": "Compartir pantalla",
"settings": { "settings": {
"audio_tab": {
"effect_volume_description": "Ajusta el volumen al que se reproducen las reacciones y los efectos de subir la mano.",
"effect_volume_label": "Volumen de efectos de sonido"
},
"background_blur_header": "Fondo",
"background_blur_label": "Desenfocar el fondo del vídeo",
"blur_not_supported_by_browser": "(El desenfoque de fondo no esta sopportado de este dispositivo).",
"developer_tab_title": "Desarrollador", "developer_tab_title": "Desarrollador",
"devices": {
"camera": "Cámara",
"camera_numbered": "Cámara {{n}}",
"change_device_button": "Cambiar dispositivo de audio",
"default": "Por defecto",
"default_named": "Por defecto<2> ({{name}})</2>",
"handset": "Dispositivo",
"loudspeaker": "Altavoz",
"microphone": "Micrófono",
"microphone_numbered": "Micrófono {{n}}",
"speaker": "Altavoz",
"speaker_numbered": "Altavoz {{n}}"
},
"feedback_tab_body": "Si tienes algún problema o simplemente quieres darnos tu opinión, por favor envíanos una breve descripción.", "feedback_tab_body": "Si tienes algún problema o simplemente quieres darnos tu opinión, por favor envíanos una breve descripción.",
"feedback_tab_description_label": "Tus comentarios", "feedback_tab_description_label": "Tus comentarios",
"feedback_tab_h4": "Enviar comentarios", "feedback_tab_h4": "Enviar comentarios",
"feedback_tab_send_logs_label": "Incluir registros de depuración", "feedback_tab_send_logs_label": "Incluir registros de depuración",
"feedback_tab_thank_you": "¡Gracias, hemos recibido tus comentarios!", "feedback_tab_thank_you": "¡Gracias, hemos recibido tus comentarios!",
"feedback_tab_title": "Danos tu opinión", "feedback_tab_title": "Danos tu opinión",
"opt_in_description": "<0></0><1></1>Puedes retirar tu consentimiento desmarcando esta casilla. Si estás en una llamada, este ajuste se aplicará al final de esta." "opt_in_description": "<0></0><1></1>Puedes retirar tu consentimiento desmarcando esta casilla. Si estás en una llamada, este ajuste se aplicará al final de esta.",
"preferences_tab": {
"developer_mode_label": "Modo desarrollador",
"developer_mode_label_description": "Activa el modo de desarrollador y muestra la pestaña de configuración de desarrollador.",
"introduction": "Aquí puedes configurar opciones adicionales para una experiencia mejorada.",
"reactions_play_sound_description": "Reproduce un sonido cuando alguien envíe una reacción en una llamada.",
"reactions_play_sound_label": "Reproduce sonidos de reacción",
"reactions_show_description": "Muestra una animación cuando alguien envíe una reacción.",
"reactions_show_label": "Mostrar reacciones",
"show_hand_raised_timer_description": "Mostrar un temporizador cuando un participante levante la mano",
"show_hand_raised_timer_label": "Mostrar la duración de la subida de la mano"
}
}, },
"star_rating_input_label_one": "{{count}} estrella", "star_rating_input_label_one": "{{count}} estrella",
"star_rating_input_label_other": "{{count}} estrellas", "star_rating_input_label_other": "{{count}} estrellas",
"start_new_call": "Iniciar nueva llamada",
"start_video_button_label": "Iniciar vídeo",
"stop_screenshare_button_label": "Compartiendo pantalla",
"stop_video_button_label": "Parar vídeo",
"submitting": "Enviando…", "submitting": "Enviando…",
"switch_camera": "Cambiar cámara",
"unauthenticated_view_body": "¿No estás registrado todavía? <2>Crear una cuenta</2>", "unauthenticated_view_body": "¿No estás registrado todavía? <2>Crear una cuenta</2>",
"unauthenticated_view_login_button": "Iniciar sesión en tu cuenta", "unauthenticated_view_login_button": "Iniciar sesión en tu cuenta",
"version": "Versión: {{version}}" "unauthenticated_view_ssla_caption": "Al hacer clic en «Continuar», aceptas nuestro Acuerdo de licencia de software y servicios (SSLA) de <2>.</2>",
"unmute_microphone_button_label": "Activar micrófono",
"version": "Versión: {{version}}",
"video_tile": {
"always_show": "Mostrar siempre",
"camera_starting": "Cargando video...",
"collapse": "Colapsar",
"expand": "Expandir",
"mute_for_me": "Silenciar para mí",
"muted_for_me": "Silenciado para mí",
"volume": "Volumen",
"waiting_for_media": "Esperando medios..."
}
} }
+20 -7
View File
@@ -49,6 +49,7 @@
"profile": "Profiil", "profile": "Profiil",
"reaction": "Reaktsioon", "reaction": "Reaktsioon",
"reactions": "Reageerimised", "reactions": "Reageerimised",
"reconnecting": "Ühendan uuesti…",
"settings": "Seadistused", "settings": "Seadistused",
"unencrypted": "Krüptimata", "unencrypted": "Krüptimata",
"username": "Kasutajanimi", "username": "Kasutajanimi",
@@ -57,6 +58,14 @@
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Näita iPhone'i kuulari valikut kõikidel platvormidel", "always_show_iphone_earpiece": "Näita iPhone'i kuulari valikut kõikidel platvormidel",
"crypto_version": "Krüptoteekide versioon: {{version}}", "crypto_version": "Krüptoteekide versioon: {{version}}",
"custom_livekit_url": {
"current_url": "Hetkel määratud olekuks: ",
"from_config": "Hetkel on ülekirjutamine määratlemata. Kasutusel on võrguaadress „well-known“-failist või seadistustest.",
"label": "Sisu määratud Livekit-url",
"reset": "Lähtesta ülekirjutamine",
"save": "Salvesta",
"saving": "Salvestan..."
},
"debug_tile_layout_label": "Meediapaanide paigutus", "debug_tile_layout_label": "Meediapaanide paigutus",
"device_id": "Seadme tunnus: {{id}}", "device_id": "Seadme tunnus: {{id}}",
"duplicate_tiles_label": "Täiendavaid vaadete koopiaid osaleja kohta", "duplicate_tiles_label": "Täiendavaid vaadete koopiaid osaleja kohta",
@@ -64,13 +73,13 @@
"hostname": "Hosti nimi: {{hostname}}", "hostname": "Hosti nimi: {{hostname}}",
"livekit_server_info": "LiveKiti serveri teave", "livekit_server_info": "LiveKiti serveri teave",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"title": "MatrixRTC režiim"
},
"matrix_id": "Matrixi kasutajatunnus: {{id}}", "matrix_id": "Matrixi kasutajatunnus: {{id}}",
"mute_all_audio": "Summuta kõik helid (osalejad, regeerimised, liitumise helid)", "mute_all_audio": "Summuta kõik helid (osalejad, regeerimised, liitumise helid)",
"show_connection_stats": "Näita ühenduse statistikat", "show_connection_stats": "Näita ühenduse statistikat",
"show_non_member_tiles": "Näita ka mitteseotud meedia paane", "url_params": "Võrguaadressi parameetrid"
"url_params": "Võrguaadressi parameetrid",
"use_new_membership_manager": "Kasuta kõne liikmelisuse halduri (MembershipManager) uut implementatsiooni",
"use_to_device_key_transport": "Kasuta seadmepõhist krüptovõtmete vahetust. Kui jututoa liige peaks saatma jututoakohase krüptovõtme, siis kasuta jututoakohast võtmevahetust"
}, },
"disconnected_banner": "Võrguühendus serveriga on katkenud.", "disconnected_banner": "Võrguühendus serveriga on katkenud.",
"error": { "error": {
@@ -81,11 +90,14 @@
"connection_lost_description": "Sinu ühendus selle kõnega on katkenud.", "connection_lost_description": "Sinu ühendus selle kõnega on katkenud.",
"e2ee_unsupported": "Mitteühilduv brauser", "e2ee_unsupported": "Mitteühilduv brauser",
"e2ee_unsupported_description": "Sinu veebibrauser ei toeta krüptitud kõnesid. Toimivad veebibrauserid on Chrome, Safari, ja Firefox 117+.", "e2ee_unsupported_description": "Sinu veebibrauser ei toeta krüptitud kõnesid. Toimivad veebibrauserid on Chrome, Safari, ja Firefox 117+.",
"failed_to_start_livekit": "Ei õnnestunud käivitada Livekiti ühendust",
"generic": "Midagi läks valesti", "generic": "Midagi läks valesti",
"generic_description": "Silumis- ja vealogide saatmine võib aidata meid vea põhjuseni jõuda.", "generic_description": "Silumis- ja vealogide saatmine võib aidata meid vea põhjuseni jõuda.",
"insufficient_capacity": "Mittepiisav jõudlus", "insufficient_capacity": "Mittepiisav jõudlus",
"insufficient_capacity_description": "Serveri jõudluse ülempiir on hetkel ületatud ja sa ei saa hetkel selle kõnega liituda. Proovi hiljem uuesti või kui probleem kestab kauem, siis võta ühendust serveri haldajaga.", "insufficient_capacity_description": "Serveri jõudluse ülempiir on hetkel ületatud ja sa ei saa hetkel selle kõnega liituda. Proovi hiljem uuesti või kui probleem kestab kauem, siis võta ühendust serveri haldajaga.",
"matrix_rtc_focus_missing": "See server pole seadistatud töötama rakendusega {{brand}}. Palun võta ühendust serveri halduriga (domeen: {{domain}}, veakood: {{ errorCode }}).", "matrix_rtc_transport_missing": "See server pole seadistatud töötama rakendusega {{brand}}. Palun võta ühendust serveri halduriga (domeen: {{domain}}, veakood: {{ errorCode }}).",
"membership_manager": "Viga liikmelisuse haldamisel",
"membership_manager_description": "Liikmelisuse haldur pidi oma töö lõpetama. Selle põhjuseks olid paljud järjestikused ebaõnnestunud võrgupäringud.",
"open_elsewhere": "Avatud teisel vahekaardil", "open_elsewhere": "Avatud teisel vahekaardil",
"open_elsewhere_description": "{{brand}} on avatud teisel vahekaardil. Kui see ei tundu olema õige, proovi selle lehe uuesti laadimist.", "open_elsewhere_description": "{{brand}} on avatud teisel vahekaardil. Kui see ei tundu olema õige, proovi selle lehe uuesti laadimist.",
"room_creation_restricted": "Kõne loomine ei õnnestunud", "room_creation_restricted": "Kõne loomine ei õnnestunud",
@@ -103,7 +115,8 @@
}, },
"handset": { "handset": {
"overlay_back_button": "Tagasi esineja vaatesse", "overlay_back_button": "Tagasi esineja vaatesse",
"overlay_description": "See toimib vaid rakenduse kasutamise ajal" "overlay_description": "See toimib vaid rakenduse kasutamise ajal",
"overlay_title": "Telefonirežiim"
}, },
"hangup_button_label": "Lõpeta kõne", "hangup_button_label": "Lõpeta kõne",
"header_label": "Avaleht: Element Call", "header_label": "Avaleht: Element Call",
@@ -176,6 +189,7 @@
"change_device_button": "Muuda heliseadet", "change_device_button": "Muuda heliseadet",
"default": "Vaikimisi", "default": "Vaikimisi",
"default_named": "Vaikimisi <2>({{name}})</2>", "default_named": "Vaikimisi <2>({{name}})</2>",
"handset": "Telefon",
"loudspeaker": "Valjuhääldi", "loudspeaker": "Valjuhääldi",
"microphone": "Mikrofon", "microphone": "Mikrofon",
"microphone_numbered": "Mikrofon {{n}}", "microphone_numbered": "Mikrofon {{n}}",
@@ -217,7 +231,6 @@
"video_tile": { "video_tile": {
"always_show": "Näita alati", "always_show": "Näita alati",
"camera_starting": "Video on laadimisel...", "camera_starting": "Video on laadimisel...",
"change_fit_contain": "Mahuta aknasse",
"collapse": "Näita vähem", "collapse": "Näita vähem",
"expand": "Näita rohkem", "expand": "Näita rohkem",
"mute_for_me": "Summuta minu jaoks", "mute_for_me": "Summuta minu jaoks",
+46 -7
View File
@@ -49,13 +49,23 @@
"profile": "Profiili", "profile": "Profiili",
"reaction": "Reaktio", "reaction": "Reaktio",
"reactions": "Reaktiot", "reactions": "Reaktiot",
"reconnecting": "Yhdistetään uudelleen...",
"settings": "Asetukset", "settings": "Asetukset",
"unencrypted": "Ei salattu", "unencrypted": "Ei salattu",
"username": "Käyttäjänimi", "username": "Käyttäjänimi",
"video": "Video" "video": "Video"
}, },
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Näytä iPhone korvakaiutinvaihtoehto kaikilla alustoilla",
"crypto_version": "Kryptoversio: {{version}}", "crypto_version": "Kryptoversio: {{version}}",
"custom_livekit_url": {
"current_url": "Tällä hetkellä asetettu: ",
"from_config": "Tällä hetkellä ei ole asetettu päällekirjoitusta. Käytetään URL-osoitetta well-known tiedostosta tai konfiguraatiosta.",
"label": "Mukautettu Livekit-url",
"reset": "Palauta päällekirjoitus",
"save": "Tallenna",
"saving": "Tallennetaan..."
},
"debug_tile_layout_label": "Laattojen asettelun vianmääritys", "debug_tile_layout_label": "Laattojen asettelun vianmääritys",
"device_id": "Laitteen tunnus: {{id}}", "device_id": "Laitteen tunnus: {{id}}",
"duplicate_tiles_label": "Lisälaattakopioiden määrä osallistujaa kohti", "duplicate_tiles_label": "Lisälaattakopioiden määrä osallistujaa kohti",
@@ -63,29 +73,48 @@
"hostname": "Isäntänimi: {{hostname}}", "hostname": "Isäntänimi: {{hostname}}",
"livekit_server_info": "LiveKit-palvelimen tiedot", "livekit_server_info": "LiveKit-palvelimen tiedot",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Yhteensopiva kotipalvelimien kanssa, jotka eivät tue tarttuvia tapahtumia (mutta kaikki muut EC-sovellukset ovat v0.17.0 tai uudempia)",
"label": "Yhteensopivuus: tilatapahtumat ja useat SFU:t"
},
"Legacy": {
"description": "Yhteensopiva vanhempien EC-versioiden kanssa, jotka eivät tue useita SFU:ita",
"label": "Vanha: tilatapahtumat ja vanhimman jäsenen SFU"
},
"Matrix_2_0": {
"description": "Yhteensopiva vain tarttuvia tapahtumia tukevien kotipalvelimien ja kaikkien EC-sovelluksien v0.17.0 tai uudempien kanssa",
"label": "Matrix 2.0: tarttuvat tapahtumat ja useat SFU:t"
},
"title": "MatrixRTC-tila"
},
"matrix_id": "Matrix tunnus: {{id}}", "matrix_id": "Matrix tunnus: {{id}}",
"mute_all_audio": "Mykistä kaikki ääni (osallistujat, reaktiot, liittymisäänet)",
"show_connection_stats": "Näytä yhteystilastot", "show_connection_stats": "Näytä yhteystilastot",
"show_non_member_tiles": "Näytä laatat ei-jäsenien medialle", "url_params": "URL-parametrit"
"url_params": "URL-parametrit",
"use_new_membership_manager": "Käytä uutta puhelun MembershipManagerin toteutusta",
"use_to_device_key_transport": "Käytä laitteen avainten kuljetusta. Tämä palaa huoneen avainten siirtoon, kun toinen puhelun jäsen lähettää huoneavaimen"
}, },
"disconnected_banner": "Yhteys palvelimeen on katkennut.", "disconnected_banner": "Yhteys palvelimeen on katkennut.",
"error": { "error": {
"call_is_not_supported": "Puhelua ei tueta", "call_is_not_supported": "Puhelua ei tueta",
"call_not_found": "Puhelua ei löydy", "call_not_found": "Puhelua ei löydy",
"call_not_found_description": "<0>Kyseinen linkki ei näytä kuuluvan mihinkään olemassa olevaan puheluun. Tarkista, että sinulla on oikea linkki, tai <1>luo uusi linkki</1>.</0>", "call_not_found_description": "<0>Kyseinen linkki ei näytä kuuluvan mihinkään olemassa olevaan puheluun. Tarkista, että sinulla on oikea linkki, tai <2>luo uusi linkki</2>.</0>",
"connection_lost": "Yhteys katkesi", "connection_lost": "Yhteys katkesi",
"connection_lost_description": "Sinut katkaistiin puhelusta.", "connection_lost_description": "Sinut katkaistiin puhelusta.",
"e2ee_unsupported": "Yhteensopimaton selain", "e2ee_unsupported": "Yhteensopimaton selain",
"e2ee_unsupported_description": "Verkkoselaimesi ei tue salattuja puheluita. Tuettuja selaimia ovat Chrome, Safari ja Firefox 117+.", "e2ee_unsupported_description": "Verkkoselaimesi ei tue salattuja puheluita. Tuettuja selaimia ovat Chrome, Safari ja Firefox 117+.",
"failed_to_start_livekit": "Livekit-yhteyden muodostaminen epäonnistui.",
"generic": "Jokin meni pieleen", "generic": "Jokin meni pieleen",
"generic_description": "Vianmäärityslokien lähettäminen auttaa meitä jäljittämään ongelman.", "generic_description": "Vianmäärityslokien lähettäminen auttaa meitä jäljittämään ongelman.",
"insufficient_capacity": "Riittämätön kapasiteetti", "insufficient_capacity": "Riittämätön kapasiteetti",
"insufficient_capacity_description": "Palvelin on saavuttanut maksimikapasiteettinsa, etkä voi liittyä puheluun tällä hetkellä. Yritä myöhemmin uudelleen tai ota yhteyttä palvelimen ylläpitäjään, jos ongelma jatkuu.", "insufficient_capacity_description": "Palvelin on saavuttanut maksimikapasiteettinsa, etkä voi liittyä puheluun tällä hetkellä. Yritä myöhemmin uudelleen tai ota yhteyttä palvelimen ylläpitäjään, jos ongelma jatkuu.",
"matrix_rtc_focus_missing": "Palvelinta ei ole määritetty toimimaan {{brand}} -sovelluksen kanssa. Ota yhteyttä palvelimen ylläpitäjään (Verkkotunnus: {{domain}}, Virhekoodi: {{ errorCode }}).", "matrix_rtc_transport_missing": "Palvelinta ei ole määritetty toimimaan {{brand}} -sovelluksen kanssa. Ota yhteyttä palvelimen ylläpitäjään (Verkkotunnus: {{domain}}, Virhekoodi: {{ errorCode }}).",
"membership_manager": "Jäsenyydenhallinnan virhe",
"membership_manager_description": "Jäsenyyshallinta jouduttiin sulkemaan. Tämä johtui useista peräkkäisistä epäonnistuneista verkkopyynnöistä.",
"no_matrix_2_authorization_service": "Mediapalvelimesi (SFU) valtuutuspalvelu on vanhentunut.",
"open_elsewhere": "Avattu toisessa välilehdessä", "open_elsewhere": "Avattu toisessa välilehdessä",
"open_elsewhere_description": "{{brand}} on avattu toisessa välilehdessä. Jos tämä ei kuulosta oikealta, yritä ladata sivu uudelleen.", "open_elsewhere_description": "{{brand}} on avattu toisessa välilehdessä. Jos tämä ei kuulosta oikealta, yritä ladata sivu uudelleen.",
"room_creation_restricted": "Puhelun luominen epäonnistui",
"room_creation_restricted_description": "Puheluiden luominen saattaa olla rajoitettu vain valtuutetuille käyttäjille. Yritä myöhemmin uudelleen tai ota yhteyttä palvelimen ylläpitäjään, jos ongelma jatkuu.",
"unexpected_ec_error": "Tapahtui odottamaton virhe (<0>Virhekoodi:</0> <1>{{ errorCode }}</1>). Ota yhteyttä palvelimen ylläpitäjään." "unexpected_ec_error": "Tapahtui odottamaton virhe (<0>Virhekoodi:</0> <1>{{ errorCode }}</1>). Ota yhteyttä palvelimen ylläpitäjään."
}, },
"group_call_loader": { "group_call_loader": {
@@ -97,6 +126,11 @@
"knock_reject_heading": "Pääsy kielletty", "knock_reject_heading": "Pääsy kielletty",
"reason": "Syy: {{reason}}" "reason": "Syy: {{reason}}"
}, },
"handset": {
"overlay_back_button": "Takaisin kaiutintilaan",
"overlay_description": "Toimii vain sovellusta käytettäessä",
"overlay_title": "Luuritila"
},
"hangup_button_label": "Lopeta puhelu", "hangup_button_label": "Lopeta puhelu",
"header_label": "Element Call Etusivu", "header_label": "Element Call Etusivu",
"header_participants_label": "Osallistujat", "header_participants_label": "Osallistujat",
@@ -165,8 +199,11 @@
"devices": { "devices": {
"camera": "Kamera", "camera": "Kamera",
"camera_numbered": "Kamera {{n}}", "camera_numbered": "Kamera {{n}}",
"change_device_button": "Vaihda äänilaite",
"default": "Oletus", "default": "Oletus",
"default_named": "Oletus <2>({{name}})</2>", "default_named": "Oletus <2>({{name}})</2>",
"handset": "Luuri",
"loudspeaker": "Kaiutin",
"microphone": "Mikrofoni", "microphone": "Mikrofoni",
"microphone_numbered": "Mikrofoni {{n}}", "microphone_numbered": "Mikrofoni {{n}}",
"speaker": "Kaiutin", "speaker": "Kaiutin",
@@ -206,12 +243,14 @@
"version": "{{productName}} versio: {{version}}", "version": "{{productName}} versio: {{version}}",
"video_tile": { "video_tile": {
"always_show": "Näytä aina", "always_show": "Näytä aina",
"call_ended": "Puhelu päättyi",
"calling": "Soitetaan…",
"camera_starting": "Videota ladataan...", "camera_starting": "Videota ladataan...",
"change_fit_contain": "Sovita kehykseen",
"collapse": "Supista", "collapse": "Supista",
"expand": "Laajenna", "expand": "Laajenna",
"mute_for_me": "Mykistä minulle", "mute_for_me": "Mykistä minulle",
"muted_for_me": "Mykistetty minulle", "muted_for_me": "Mykistetty minulle",
"screen_share_volume": "Näytönjaon äänenvoimakkuus",
"volume": "Äänenvoimakkuus", "volume": "Äänenvoimakkuus",
"waiting_for_media": "Odotetaan mediaa..." "waiting_for_media": "Odotetaan mediaa..."
} }
+90 -4
View File
@@ -5,14 +5,21 @@
"action": { "action": {
"close": "Fermer", "close": "Fermer",
"copy_link": "Copier le lien", "copy_link": "Copier le lien",
"edit": "Modifier",
"go": "Commencer", "go": "Commencer",
"invite": "Inviter", "invite": "Inviter",
"lower_hand": "Baisser la main",
"no": "Non", "no": "Non",
"pick_reaction": "Choisir une réaction",
"raise_hand": "Lever la main",
"register": "S’enregistrer", "register": "S’enregistrer",
"remove": "Supprimer", "remove": "Supprimer",
"show_less": "Afficher moins",
"show_more": "Afficher plus",
"sign_in": "Connexion", "sign_in": "Connexion",
"sign_out": "Déconnexion", "sign_out": "Déconnexion",
"submit": "Envoyer" "submit": "Envoyer",
"upload_file": "Téléverser un fichier"
}, },
"analytics_notice": "En participant à cette beta, vous consentez à la collecte de données anonymes, qui seront utilisées pour améliorer le produit. Vous trouverez plus d’informations sur les données collectées dans notre <2>Politique de vie privée</2> et notre <5>Politique de cookies</5>.", "analytics_notice": "En participant à cette beta, vous consentez à la collecte de données anonymes, qui seront utilisées pour améliorer le produit. Vous trouverez plus d’informations sur les données collectées dans notre <2>Politique de vie privée</2> et notre <5>Politique de cookies</5>.",
"call_ended_view": { "call_ended_view": {
@@ -27,20 +34,67 @@
}, },
"call_name": "Nom de l’appel", "call_name": "Nom de l’appel",
"common": { "common": {
"analytics": "Statistiques d'utilisation",
"audio": "Audio",
"avatar": "Avatar",
"back": "Retour",
"display_name": "Nom d’affichage", "display_name": "Nom d’affichage",
"encrypted": "Chiffré", "encrypted": "Chiffré",
"home": "Accueil", "home": "Accueil",
"loading": "Chargement…", "loading": "Chargement…",
"next": "Suivant",
"options": "Options",
"password": "Mot de passe", "password": "Mot de passe",
"preferences": "Préférences",
"profile": "Profil", "profile": "Profil",
"reaction": "Réaction",
"reactions": "Réactions",
"reconnecting": "Reconnexion",
"settings": "Paramètres", "settings": "Paramètres",
"unencrypted": "Non chiffré", "unencrypted": "Non chiffré",
"username": "Nom d’utilisateur", "username": "Nom d’utilisateur",
"video": "Vidéo" "video": "Vidéo"
}, },
"developer_mode": {
"always_show_iphone_earpiece": "Afficher l'option écouteur iPhone sur toutes les plateformes",
"crypto_version": "Version crypto: {{version}}",
"debug_tile_layout_label": "Disposition des tuiles de débogage",
"device_id": "Id. de l'appareil",
"duplicate_tiles_label": "Nombre de copies de tuiles supplémentaires par participant",
"environment_variables": "Variables d'environnement",
"hostname": "Nom d'hôte: {{hostname}}",
"livekit_server_info": "Info du serveur LiveKit",
"livekit_sfu": "LiveKit SFU: {{url}}",
"matrix_id": "ID Matrix: {{id}}",
"mute_all_audio": "Couper tous les sons (participants, réactions, sons de participation)",
"show_connection_stats": "Afficher les statistiques de connexion",
"url_params": "Paramètres d'URL"
},
"disconnected_banner": "La connexion avec le serveur a été perdue.", "disconnected_banner": "La connexion avec le serveur a été perdue.",
"error": {
"call_is_not_supported": "L'appel n'est pas pris en charge",
"call_not_found": "Appel non trouvé",
"call_not_found_description": "<0>Ce ne correspond à aucun appel existant. Vérifier que vous avez le bon lien, ou <1>créer un nouveau</1>.</0>",
"connection_lost": "Connexion perdue",
"connection_lost_description": "Vous avez été déconnecté de l’appel",
"e2ee_unsupported": "Moteur de recherche incompatible",
"generic": "Un problème est survenu",
"insufficient_capacity": "Capacité insuffisante",
"insufficient_capacity_description": "Le serveur a atteint sa capacité maximale et vous ne pouvez pas rejoindre l'appel pour le moment. Veuillez réessayer plus tard ou contacter l'administrateur du serveur si le problème persiste.",
"unexpected_ec_error": "Une erreur inattendue s'est produite (<0>Code d'erreur :</0> <1>{{ errorCode }}</1>). Veuillez contacter l'administrateur de votre serveur."
},
"group_call_loader": {
"banned_body": "Vous avez été banni du salon.",
"banned_heading": "Banni",
"call_ended_body": "Vous avez été retiré de l’appel.",
"call_ended_heading": "Appel terminé",
"knock_reject_body": "Les membres du salon ont refusé votre demande de participation.",
"knock_reject_heading": "Non autorisé à rejoindre",
"reason": "Motif"
},
"hangup_button_label": "Terminer l’appel", "hangup_button_label": "Terminer l’appel",
"header_label": "Accueil Element Call", "header_label": "Accueil Element Call",
"header_participants_label": "Participants",
"invite_modal": { "invite_modal": {
"link_copied_toast": "Lien copié dans le presse-papier", "link_copied_toast": "Lien copié dans le presse-papier",
"title": "Inviter dans cet appel" "title": "Inviter dans cet appel"
@@ -53,15 +107,24 @@
"layout_grid_label": "Grille", "layout_grid_label": "Grille",
"layout_spotlight_label": "Premier plan", "layout_spotlight_label": "Premier plan",
"lobby": { "lobby": {
"ask_to_join": "Demandez à rejoindre l'appel",
"join_as_guest": "Rejoindre en tant qu'invité",
"join_button": "Rejoindre l’appel", "join_button": "Rejoindre l’appel",
"leave_button": "Revenir à l’historique des appels" "leave_button": "Revenir à l’historique des appels",
"waiting_for_invite": "Demande envoyée"
}, },
"log_in": "Se connecter",
"logging_in": "Connexion…", "logging_in": "Connexion…",
"login_auth_links": "<0>Créer un compte</0> Or <2>Accès invité</2>", "login_auth_links": "<0>Créer un compte</0> Or <2>Accès invité</2>",
"login_auth_links_prompt": "Pas encore inscrit?",
"login_subheading": "Pour continuer vers Element",
"login_title": "Connexion", "login_title": "Connexion",
"microphone_off": "Microphone éteint", "microphone_off": "Microphone éteint",
"microphone_on": "Microphone allumé", "microphone_on": "Microphone allumé",
"mute_microphone_button_label": "Couper le microphone", "mute_microphone_button_label": "Couper le microphone",
"participant_count_one": "{{count, number}}",
"participant_count_other": "{{count, number}}",
"qr_code": "Code QR",
"rageshake_button_error_caption": "Réessayer d’envoyer les journaux", "rageshake_button_error_caption": "Réessayer d’envoyer les journaux",
"rageshake_request_modal": { "rageshake_request_modal": {
"body": "Un autre utilisateur dans cet appel a un problème. Pour nous permettre de résoudre le problème, nous aimerions récupérer un journal de débogage.", "body": "Un autre utilisateur dans cet appel a un problème. Pour nous permettre de résoudre le problème, nous aimerions récupérer un journal de débogage.",
@@ -79,17 +142,33 @@
}, },
"register_auth_links": "<0>Vous avez déjà un compte ?</0><1><0>Se connecter</0> Ou <2>Accès invité</2></1>", "register_auth_links": "<0>Vous avez déjà un compte ?</0><1><0>Se connecter</0> Ou <2>Accès invité</2></1>",
"register_confirm_password_label": "Confirmer le mot de passe", "register_confirm_password_label": "Confirmer le mot de passe",
"register_heading": "Créer votre compte",
"return_home_button": "Retour à l’accueil", "return_home_button": "Retour à l’accueil",
"room_auth_view_continue_button": "Continuer",
"screenshare_button_label": "Partage d’écran", "screenshare_button_label": "Partage d’écran",
"settings": { "settings": {
"audio_tab": {
"effect_volume_description": "Régler le volume des effets de réactions et de mains levées.",
"effect_volume_label": "Volume des effets sonores"
},
"background_blur_label": "Flouter l'arrière-plan de la vidéo",
"blur_not_supported_by_browser": "(Le flou d'arrière-plan n'est pas pris en charge par cet appareil.)",
"developer_tab_title": "Développeur", "developer_tab_title": "Développeur",
"devices": {
"speaker_numbered": "Haut-parleur {{n}}"
},
"feedback_tab_body": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, faites-en une courte description ci-dessous.", "feedback_tab_body": "Si vous rencontrez des problèmes, ou vous voulez simplement faire un commentaire, faites-en une courte description ci-dessous.",
"feedback_tab_description_label": "Votre commentaire", "feedback_tab_description_label": "Votre commentaire",
"feedback_tab_h4": "Envoyer un commentaire", "feedback_tab_h4": "Envoyer un commentaire",
"feedback_tab_send_logs_label": "Inclure les journaux de débogage", "feedback_tab_send_logs_label": "Inclure les journaux de débogage",
"feedback_tab_thank_you": "Merci, nous avons reçu vos commentaires !", "feedback_tab_thank_you": "Merci, nous avons reçu vos commentaires !",
"feedback_tab_title": "Commentaires", "feedback_tab_title": "Commentaires",
"opt_in_description": "<0></0><1></1>Vous pouvez retirer votre consentement en décochant cette case. Si vous êtes actuellement en communication, ce paramètre prendra effet à la fin de l’appel." "opt_in_description": "<0></0><1></1>Vous pouvez retirer votre consentement en décochant cette case. Si vous êtes actuellement en communication, ce paramètre prendra effet à la fin de l’appel.",
"preferences_tab": {
"reactions_play_sound_label": "Jouer le son des réactions",
"reactions_show_label": "Afficher les réactions",
"show_hand_raised_timer_label": "Afficher la durée de la main levée"
}
}, },
"star_rating_input_label_one": "{{count}} favori", "star_rating_input_label_one": "{{count}} favori",
"star_rating_input_label_other": "{{count}} favoris", "star_rating_input_label_other": "{{count}} favoris",
@@ -101,5 +180,12 @@
"unauthenticated_view_body": "Pas encore de compte ? <2>En créer un</2>", "unauthenticated_view_body": "Pas encore de compte ? <2>En créer un</2>",
"unauthenticated_view_login_button": "Connectez vous à votre compte", "unauthenticated_view_login_button": "Connectez vous à votre compte",
"unmute_microphone_button_label": "Allumer le microphone", "unmute_microphone_button_label": "Allumer le microphone",
"version": "Version : {{version}}" "version": "Version : {{version}}",
"video_tile": {
"always_show": "Toujours afficher",
"collapse": "Réduire",
"expand": "Développer",
"mute_for_me": "Muet pour moi",
"volume": "Volume"
}
} }
+17 -10
View File
@@ -21,7 +21,7 @@
"submit": "Kirim", "submit": "Kirim",
"upload_file": "Unggah berkas" "upload_file": "Unggah berkas"
}, },
"analytics_notice": "Dengan bergabung dalam beta ini, Anda mengizinkan kami untuk mengumpulkan data anonim, yang kami gunakan untuk meningkatkan produk ini. Anda dapat mempelajari lebih lanjut tentang data apa yang kami lacak dalam <2>Kebijakan Privasi</2> dan <5>Kebijakan Kuki</5> kami.", "analytics_notice": "Dengan bergabung dalam beta ini, Anda mengizinkan kami untuk mengumpulkan data anonim, yang kami gunakan untuk meningkatkan produk ini. Anda dapat mempelajari lebih lanjut tentang data apa yang kami lacak dalam <2>Kebijakan Privasi</2> dan <6>Kebijakan Kuki</6> kami.",
"call_ended_view": { "call_ended_view": {
"create_account_button": "Buat akun", "create_account_button": "Buat akun",
"create_account_prompt": "<0>Kenapa tidak selesaikan dengan mengatur sebuah kata sandi untuk menjaga akun Anda?</0><1>Anda akan dapat tetap menggunakan nama Anda dan atur sebuah avatar untuk digunakan dalam panggilan di masa mendatang</1>", "create_account_prompt": "<0>Kenapa tidak selesaikan dengan mengatur sebuah kata sandi untuk menjaga akun Anda?</0><1>Anda akan dapat tetap menggunakan nama Anda dan atur sebuah avatar untuk digunakan dalam panggilan di masa mendatang</1>",
@@ -49,12 +49,14 @@
"profile": "Profil", "profile": "Profil",
"reaction": "Reaksi", "reaction": "Reaksi",
"reactions": "Reaksi", "reactions": "Reaksi",
"reconnecting": "Menghubungkan kembali…",
"settings": "Pengaturan", "settings": "Pengaturan",
"unencrypted": "Tidak terenkripsi", "unencrypted": "Tidak terenkripsi",
"username": "Nama pengguna", "username": "Nama pengguna",
"video": "Video" "video": "Video"
}, },
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Tampilkan opsi lubang suara iPhone di semua platform",
"crypto_version": "Versi kripto: {{version}}", "crypto_version": "Versi kripto: {{version}}",
"debug_tile_layout_label": "Awakutu tata letak ubin", "debug_tile_layout_label": "Awakutu tata letak ubin",
"device_id": "ID perangkat: {{id}}", "device_id": "ID perangkat: {{id}}",
@@ -64,17 +66,15 @@
"livekit_server_info": "Info Server LiveKit", "livekit_server_info": "Info Server LiveKit",
"livekit_sfu": "SFU LiveKit: {{url}}", "livekit_sfu": "SFU LiveKit: {{url}}",
"matrix_id": "ID Matrix: {{id}}", "matrix_id": "ID Matrix: {{id}}",
"mute_all_audio": "Bisukan semua audio (suara peserta, reaksi, bergabung)",
"show_connection_stats": "Tampilkan statistik koneksi", "show_connection_stats": "Tampilkan statistik koneksi",
"show_non_member_tiles": "Tampilkan ubin untuk media non-anggota", "url_params": "Parameter URL"
"url_params": "Parameter URL",
"use_new_membership_manager": "Gunakan implementasi baru dari panggilan MembershipManager",
"use_to_device_key_transport": "Gunakan untuk transportasi kunci perangkat. Ini akan kembali ke transportasi kunci ruangan ketika anggota panggilan lain mengirim kunci ruangan"
}, },
"disconnected_banner": "Koneksi ke server telah hilang.", "disconnected_banner": "Koneksi ke server telah hilang.",
"error": { "error": {
"call_is_not_supported": "Panggilan tidak didukung", "call_is_not_supported": "Panggilan tidak didukung",
"call_not_found": "Panggilan tidak ditemukan", "call_not_found": "Panggilan tidak ditemukan",
"call_not_found_description": "<0>Tautan itu tampaknya bukan milik panggilan yang ada. Periksa apakah Anda memiliki tautan yang tepat, atau <1> buat yang baru</1>.</0>", "call_not_found_description": "<0>Tautan itu tampaknya bukan milik panggilan yang ada. Periksa apakah Anda memiliki tautan yang tepat, atau <2> buat yang baru</2>. </0>",
"connection_lost": "Koneksi terputus", "connection_lost": "Koneksi terputus",
"connection_lost_description": "Anda terputus dari panggilan.", "connection_lost_description": "Anda terputus dari panggilan.",
"e2ee_unsupported": "Peramban tidak kompatibel", "e2ee_unsupported": "Peramban tidak kompatibel",
@@ -83,9 +83,10 @@
"generic_description": "Mengirimkan log awakutu akan membantu kami melacak masalah.", "generic_description": "Mengirimkan log awakutu akan membantu kami melacak masalah.",
"insufficient_capacity": "Kapasitas tidak mencukupi", "insufficient_capacity": "Kapasitas tidak mencukupi",
"insufficient_capacity_description": "Server telah mencapai kapasitas maksimum dan Anda tidak dapat bergabung dalam panggilan saat ini. Coba lagi nanti, atau hubungi admin server Anda jika masalah masih berlanjut.", "insufficient_capacity_description": "Server telah mencapai kapasitas maksimum dan Anda tidak dapat bergabung dalam panggilan saat ini. Coba lagi nanti, atau hubungi admin server Anda jika masalah masih berlanjut.",
"matrix_rtc_focus_missing": "Server tidak dikonfigurasi untuk bekerja dengan {{brand}}. Silakan hubungi admin server Anda (Domain: {{domain}}, Kode Kesalahan: {{ errorCode }}).",
"open_elsewhere": "Dibuka di tab lain", "open_elsewhere": "Dibuka di tab lain",
"open_elsewhere_description": "{{brand}} telah dibuka di tab lain. Jika sepertinya tidak benar, coba muat ulang halaman.", "open_elsewhere_description": "{{brand}} telah dibuka di tab lain. Jika sepertinya tidak benar, coba muat ulang halaman.",
"room_creation_restricted": "Gagal membuat panggilan",
"room_creation_restricted_description": "Pembuatan panggilan mungkin hanya terbatas untuk pengguna yang diizinkan. Coba lagi nanti, atau hubungi admin server Anda jika masalah berlanjut.",
"unexpected_ec_error": "Terjadi kesalahan tak terduga (<0> Kode Kesalahan:</0><1>{{ errorCode }}</1>). Silakan hubungi admin server Anda." "unexpected_ec_error": "Terjadi kesalahan tak terduga (<0> Kode Kesalahan:</0><1>{{ errorCode }}</1>). Silakan hubungi admin server Anda."
}, },
"group_call_loader": { "group_call_loader": {
@@ -97,6 +98,11 @@
"knock_reject_heading": "Akses ditolak", "knock_reject_heading": "Akses ditolak",
"reason": "Alasan: {{reason}}" "reason": "Alasan: {{reason}}"
}, },
"handset": {
"overlay_back_button": "Kembali ke Mode Pembicara",
"overlay_description": "Hanya berfungsi saat menggunakan aplikasi",
"overlay_title": "Mode Ponsel"
},
"hangup_button_label": "Akhiri panggilan", "hangup_button_label": "Akhiri panggilan",
"header_label": "Beranda Element Call", "header_label": "Beranda Element Call",
"header_participants_label": "Peserta", "header_participants_label": "Peserta",
@@ -164,8 +170,11 @@
"devices": { "devices": {
"camera": "Kamera", "camera": "Kamera",
"camera_numbered": "Kamera {{n}}", "camera_numbered": "Kamera {{n}}",
"change_device_button": "Ubah perangkat audio",
"default": "Bawaan", "default": "Bawaan",
"default_named": "Bawaan <2>({{name}})</2>", "default_named": "Bawaan <2>({{name}})</2>",
"handset": "Ponsel",
"loudspeaker": "Pengeras suara",
"microphone": "Mikrofon", "microphone": "Mikrofon",
"microphone_numbered": "Mikrofon {{n}}", "microphone_numbered": "Mikrofon {{n}}",
"speaker": "Speaker", "speaker": "Speaker",
@@ -190,7 +199,6 @@
"show_hand_raised_timer_label": "Tampilkan durasi angkat tangan" "show_hand_raised_timer_label": "Tampilkan durasi angkat tangan"
} }
}, },
"star_rating_input_label_one": "{{count}} bintang",
"star_rating_input_label_other": "{{count}} bintang", "star_rating_input_label_other": "{{count}} bintang",
"start_new_call": "Mulai panggilan baru", "start_new_call": "Mulai panggilan baru",
"start_video_button_label": "Nyalakan video", "start_video_button_label": "Nyalakan video",
@@ -202,11 +210,10 @@
"unauthenticated_view_login_button": "Masuk ke akun Anda", "unauthenticated_view_login_button": "Masuk ke akun Anda",
"unauthenticated_view_ssla_caption": "Dengan mengeklik \"Go\", Anda menyetujui <2>Perjanjian Lisensi Perangkat Lunak dan Layanan (SSLA) kami</2>", "unauthenticated_view_ssla_caption": "Dengan mengeklik \"Go\", Anda menyetujui <2>Perjanjian Lisensi Perangkat Lunak dan Layanan (SSLA) kami</2>",
"unmute_microphone_button_label": "Nyalakan mikrofon", "unmute_microphone_button_label": "Nyalakan mikrofon",
"version": "Versi: {{version}}", "version": "Versi {{productName}}: {{version}}",
"video_tile": { "video_tile": {
"always_show": "Selalu tampilkan", "always_show": "Selalu tampilkan",
"camera_starting": "Memuat video...", "camera_starting": "Memuat video...",
"change_fit_contain": "Sesuai dengan bingkai",
"collapse": "Tutup", "collapse": "Tutup",
"expand": "Buka", "expand": "Buka",
"mute_for_me": "Bisukan untuk saya", "mute_for_me": "Bisukan untuk saya",
+50 -6
View File
@@ -21,7 +21,7 @@
"submit": "Invia", "submit": "Invia",
"upload_file": "Carica file" "upload_file": "Carica file"
}, },
"analytics_notice": "Partecipando a questa beta, acconsenti alla raccolta di dati anonimi che usiamo per migliorare il prodotto. Puoi trovare più informazioni su quali dati monitoriamo nella nostra <2>informativa sulla privacy</2> e nell'<5>informativa sui cookie</5>.", "analytics_notice": "Partecipando a questa beta, acconsenti alla raccolta di dati anonimi che usiamo per migliorare il prodotto. Puoi trovare più informazioni su quali dati monitoriamo nella nostra <2>informativa sulla privacy</2> e nell'<6>informativa sui cookie</6>.",
"call_ended_view": { "call_ended_view": {
"create_account_button": "Crea profilo", "create_account_button": "Crea profilo",
"create_account_prompt": "<0>Ti va di terminare impostando una password per mantenere il profilo?</0><1>Potrai mantenere il tuo nome e impostare un avatar da usare in chiamate future</1>", "create_account_prompt": "<0>Ti va di terminare impostando una password per mantenere il profilo?</0><1>Potrai mantenere il tuo nome e impostare un avatar da usare in chiamate future</1>",
@@ -49,23 +49,49 @@
"profile": "Profilo", "profile": "Profilo",
"reaction": "Reazione", "reaction": "Reazione",
"reactions": "Reazioni", "reactions": "Reazioni",
"reconnecting": "Riconnessione…",
"settings": "Impostazioni", "settings": "Impostazioni",
"unencrypted": "Non cifrata", "unencrypted": "Non cifrata",
"username": "Nome utente", "username": "Nome utente",
"video": "Video" "video": "Video"
}, },
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Mostra l'opzione auricolare iPhone su tutte le piattaforme",
"crypto_version": "Versione crittografica: {{version}}", "crypto_version": "Versione crittografica: {{version}}",
"custom_livekit_url": {
"current_url": "Attualmente impostato a: ",
"from_config": "Al momento non è impostata alcuna sovrascrittura. Viene usato l'URL da well-known o config.",
"label": "URL Livekit personalizzato",
"reset": "Reimposta sovrascrittura",
"save": "Salva",
"saving": "Salvataggio..."
},
"debug_tile_layout_label": "Debug della disposizione dei riquadri", "debug_tile_layout_label": "Debug della disposizione dei riquadri",
"device_id": "ID dispositivo: {{id}}", "device_id": "ID dispositivo: {{id}}",
"duplicate_tiles_label": "Numero di copie di riquadri aggiuntivi per partecipante", "duplicate_tiles_label": "Numero di copie di riquadri aggiuntivi per partecipante",
"environment_variables": "Variabili di ambiente",
"hostname": "Nome host: {{hostname}}", "hostname": "Nome host: {{hostname}}",
"livekit_server_info": "Informazioni sul server LiveKit", "livekit_server_info": "Informazioni sul server LiveKit",
"livekit_sfu": "SFU LiveKit: {{url}}", "livekit_sfu": "SFU LiveKit: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Compatibile con homeserver che non supportano eventi sticky (ma tutte le altre applicazioni EC sono alla v0.17.0 o successive)",
"label": "Compatibilità: eventi di stato e multi SFU"
},
"Legacy": {
"description": "Compatibile con le vecchie versioni di EC che non supportano multi SFU",
"label": "Classico: event di stato e appartenenza più antica alla SFU"
},
"Matrix_2_0": {
"description": "Compatibile solo con homeserver che supportano eventi sticky e tutte le applicazioni EC alla v0.17.0 o successive",
"label": "Matrix 2.0: eventi sticky e multi SFU"
},
"title": "Modalità MatrixRTC"
},
"matrix_id": "ID Matrix: {{id}}", "matrix_id": "ID Matrix: {{id}}",
"mute_all_audio": "Disattiva tutti gli audio (partecipanti, reazioni, suoni di partecipazione)",
"show_connection_stats": "Mostra le statistiche di connessione", "show_connection_stats": "Mostra le statistiche di connessione",
"show_non_member_tiles": "Mostra i riquadri per i file multimediali non-membri", "url_params": "Parametri URL"
"use_new_membership_manager": "Usa la nuova implementazione della chiamata MembershipManager"
}, },
"disconnected_banner": "La connessione al server è stata persa.", "disconnected_banner": "La connessione al server è stata persa.",
"error": { "error": {
@@ -76,13 +102,18 @@
"connection_lost_description": "Sei stato disconnesso dalla chiamata.", "connection_lost_description": "Sei stato disconnesso dalla chiamata.",
"e2ee_unsupported": "Browser incompatibile", "e2ee_unsupported": "Browser incompatibile",
"e2ee_unsupported_description": "Il tuo browser non supporta le chiamate crittografate. I browser supportati sono Chrome, Safari e Firefox 117+.", "e2ee_unsupported_description": "Il tuo browser non supporta le chiamate crittografate. I browser supportati sono Chrome, Safari e Firefox 117+.",
"failed_to_start_livekit": "Impossibile avviare la connessione Livekit",
"generic": "Qualcosa è andato storto", "generic": "Qualcosa è andato storto",
"generic_description": "L'invio dei registri di debug ci aiuterà a rintracciare il problema.", "generic_description": "L'invio dei registri di debug ci aiuterà a rintracciare il problema.",
"insufficient_capacity": "Capacità insufficiente", "insufficient_capacity": "Capacità insufficiente",
"insufficient_capacity_description": "Il server ha raggiunto la capacità massima e non è possibile partecipare alla chiamata in questo momento. Riprova più tardi o contatta l'amministratore del server se il problema persiste.", "insufficient_capacity_description": "Il server ha raggiunto la capacità massima e non è possibile partecipare alla chiamata in questo momento. Riprova più tardi o contatta l'amministratore del server se il problema persiste.",
"matrix_rtc_focus_missing": "Il server non è configurato per funzionare con {{brand}}. Contatta l'amministratore del tuo server (Dominio: {{domain}}, codice di errore: {{ errorCode }}).", "matrix_rtc_transport_missing": "Il server non è configurato per funzionare con {{brand}}. Contatta l'amministratore del tuo server (Dominio: {{domain}}, codice di errore: {{ errorCode }}).",
"membership_manager": "Errore del gestore dei membri",
"membership_manager_description": "Il gestore dei membri ha dovuto chiudersi. Ciò è stato causato da numerose richieste di rete consecutive non riuscite.",
"open_elsewhere": "Aperto in un'altra scheda", "open_elsewhere": "Aperto in un'altra scheda",
"open_elsewhere_description": "{{brand}} è stato aperto in un'altra scheda. Se non ti sembra corretto, prova a ricaricare la pagina.", "open_elsewhere_description": "{{brand}} è stato aperto in un'altra scheda. Se non ti sembra corretto, prova a ricaricare la pagina.",
"room_creation_restricted": "Impossibile creare la chiamata",
"room_creation_restricted_description": "La creazione di chiamate potrebbe essere limitata solo agli utenti autorizzati. Riprova più tardi o contatta l'amministratore del server se il problema persiste.",
"unexpected_ec_error": "Si è verificato un errore imprevisto (<0>Codice errore:</0> <1>{{ errorCode }}</1>). Contatta l'amministratore del tuo server." "unexpected_ec_error": "Si è verificato un errore imprevisto (<0>Codice errore:</0> <1>{{ errorCode }}</1>). Contatta l'amministratore del tuo server."
}, },
"group_call_loader": { "group_call_loader": {
@@ -94,6 +125,11 @@
"knock_reject_heading": "Partecipazione non consentita", "knock_reject_heading": "Partecipazione non consentita",
"reason": "Motivo" "reason": "Motivo"
}, },
"handset": {
"overlay_back_button": "Torna alla modalità altoparlante",
"overlay_description": "Funziona solo mentre si usa l'app",
"overlay_title": "Modalità cornetta"
},
"hangup_button_label": "Termina chiamata", "hangup_button_label": "Termina chiamata",
"header_label": "Inizio di Element Call", "header_label": "Inizio di Element Call",
"header_participants_label": "Partecipanti", "header_participants_label": "Partecipanti",
@@ -138,6 +174,7 @@
"rageshake_sent": "Grazie!", "rageshake_sent": "Grazie!",
"recaptcha_dismissed": "Recaptcha annullato", "recaptcha_dismissed": "Recaptcha annullato",
"recaptcha_not_loaded": "Recaptcha non caricato", "recaptcha_not_loaded": "Recaptcha non caricato",
"recaptcha_ssla_caption": "Questo sito è protetto da ReCAPTCHA e si applicano l'<2>informativa sulla privacy</2> e i <6>termini di servizio</6> di Google.<9></9>Cliccando \"Registra\", accetti il nostro <12>Software and Services License Agreement (SSLA)</12>",
"register": { "register": {
"passwords_must_match": "Le password devono coincidere", "passwords_must_match": "Le password devono coincidere",
"registering": "Registrazione…" "registering": "Registrazione…"
@@ -147,18 +184,25 @@
"register_heading": "Crea il tuo account", "register_heading": "Crea il tuo account",
"return_home_button": "Torna alla schermata di iniziale", "return_home_button": "Torna alla schermata di iniziale",
"room_auth_view_continue_button": "Continua", "room_auth_view_continue_button": "Continua",
"room_auth_view_ssla_caption": "Cliccando \"Partecipa ora alla chiamata\", accetti il nostro <2>Software and Services License Agreement (SSLA)</2>",
"screenshare_button_label": "Condividi schermo", "screenshare_button_label": "Condividi schermo",
"settings": { "settings": {
"audio_tab": { "audio_tab": {
"effect_volume_description": "Regola il volume delle reazioni e degli effetti di alzata di mani.", "effect_volume_description": "Regola il volume delle reazioni e degli effetti di alzata di mani.",
"effect_volume_label": "Volume degli effetti sonori" "effect_volume_label": "Volume degli effetti sonori"
}, },
"background_blur_header": "Sfondo",
"background_blur_label": "Sfoca lo sfondo del video",
"blur_not_supported_by_browser": "(La sfocatura dello sfondo non è supportata da questo dispositivo.)",
"developer_tab_title": "Sviluppatore", "developer_tab_title": "Sviluppatore",
"devices": { "devices": {
"camera": "Fotocamera", "camera": "Fotocamera",
"camera_numbered": "Fotocamera {{n}}", "camera_numbered": "Fotocamera {{n}}",
"change_device_button": "Cambia dispositivo audio",
"default": "Predefinito", "default": "Predefinito",
"default_named": "Predefinito <2>({{name}})</2>", "default_named": "Predefinito <2>({{name}})</2>",
"handset": "Cornetta",
"loudspeaker": "Altoparlante",
"microphone": "Microfono", "microphone": "Microfono",
"microphone_numbered": "Microfono {{n}}", "microphone_numbered": "Microfono {{n}}",
"speaker": "Altoparlante", "speaker": "Altoparlante",
@@ -193,12 +237,12 @@
"switch_camera": "Cambia fotocamera", "switch_camera": "Cambia fotocamera",
"unauthenticated_view_body": "Non hai ancora un profilo? <2>Creane uno</2>", "unauthenticated_view_body": "Non hai ancora un profilo? <2>Creane uno</2>",
"unauthenticated_view_login_button": "Accedi al tuo profilo", "unauthenticated_view_login_button": "Accedi al tuo profilo",
"unauthenticated_view_ssla_caption": "Cliccando \"Vai\", accetti il nostro <2>Software and Services License Agreement (SSLA)</2>",
"unmute_microphone_button_label": "Riaccendi il microfono", "unmute_microphone_button_label": "Riaccendi il microfono",
"version": "Versione: {{version}}", "version": "Versione di {{productName}}: {{version}}",
"video_tile": { "video_tile": {
"always_show": "Mostra sempre", "always_show": "Mostra sempre",
"camera_starting": "Caricamento del video...", "camera_starting": "Caricamento del video...",
"change_fit_contain": "Adatta al frame",
"collapse": "Riduci", "collapse": "Riduci",
"expand": "Espandi", "expand": "Espandi",
"mute_for_me": "Disattiva l'audio per me", "mute_for_me": "Disattiva l'audio per me",
-1
View File
@@ -110,7 +110,6 @@
"unmute_microphone_button_label": "マイクのミュート解除", "unmute_microphone_button_label": "マイクのミュート解除",
"version": "バージョン:{{version}}", "version": "バージョン:{{version}}",
"video_tile": { "video_tile": {
"change_fit_contain": "フレームに合わせる",
"mute_for_me": "ミュートする", "mute_for_me": "ミュートする",
"volume": "ボリューム" "volume": "ボリューム"
} }
+45 -5
View File
@@ -49,13 +49,23 @@
"profile": "Profils", "profile": "Profils",
"reaction": "Reakcija", "reaction": "Reakcija",
"reactions": "Reakcijas", "reactions": "Reakcijas",
"reconnecting": "Notiek savienojuma atjaunošana...",
"settings": "Iestatījumi", "settings": "Iestatījumi",
"unencrypted": "Nav šifrēts", "unencrypted": "Nav šifrēts",
"username": "Lietotājvārds", "username": "Lietotājvārds",
"video": "Video" "video": "Video"
}, },
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Rādīt iPhone austiņu opciju visās platformās",
"crypto_version": "Crypto versija: {{version}}", "crypto_version": "Crypto versija: {{version}}",
"custom_livekit_url": {
"current_url": "Iestatīts uz: ",
"from_config": "Šobrīd nav pārrakstīts. Tiek izmantots URL no well-known vai konfigurācijas.",
"label": "Pielāgots Livekit URL",
"reset": "Atiestatīt pārrakstīto",
"save": "Saglabāt",
"saving": "Saglabāju..."
},
"debug_tile_layout_label": "Vietu izkārtojuma atkļūdošana", "debug_tile_layout_label": "Vietu izkārtojuma atkļūdošana",
"device_id": "Ierīces ID: {{id}}", "device_id": "Ierīces ID: {{id}}",
"duplicate_tiles_label": "Papildu vietu kopiju skaits vienam dalībniekam", "duplicate_tiles_label": "Papildu vietu kopiju skaits vienam dalībniekam",
@@ -63,11 +73,25 @@
"hostname": "Saimniekdatora nosaukums: {{hostname}}", "hostname": "Saimniekdatora nosaukums: {{hostname}}",
"livekit_server_info": "LiveKit Server informācija", "livekit_server_info": "LiveKit Server informācija",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Savietojams ar mājas serveriem, kas neatbalsta fiksētos notikumus (bet visi pārējie EC klienti ir v0.17.0 vai jaunāki)",
"label": "Savietojamība: state notikumi & ulti SFU"
},
"Legacy": {
"description": "Savietojams ar vecākām EC versijām, kas neatbalsta multi SFU",
"label": "Mantojums: state events & vecākā SFU dalība"
},
"Matrix_2_0": {
"description": "Savietojams tikai ar mājas serveriem, kas atbalsta fiksētos notikumus, un visiem EC klientiem v0.17.0 vai jaunāku versiju.",
"label": "Matrix 2.0: fiksētie notikumi un multi SFU"
},
"title": "MatrixRTC režīms"
},
"matrix_id": "Matrix ID: {{id}}", "matrix_id": "Matrix ID: {{id}}",
"mute_all_audio": "Izslēgt visu audio (dalībnieku, reakciju, pievienošanās skaņu)",
"show_connection_stats": "Rādīt savienojuma statistiku", "show_connection_stats": "Rādīt savienojuma statistiku",
"show_non_member_tiles": "Rādīt vietu medijiem no ne-dalībniekiem", "url_params": "URL parametri"
"url_params": "URL parametri",
"use_new_membership_manager": "Izmantojiet jauno zvana MembershipManager versiju"
}, },
"disconnected_banner": "Ir zaudēts savienojums ar serveri.", "disconnected_banner": "Ir zaudēts savienojums ar serveri.",
"error": { "error": {
@@ -78,13 +102,19 @@
"connection_lost_description": "Jūs tikāt atvienots no zvana.", "connection_lost_description": "Jūs tikāt atvienots no zvana.",
"e2ee_unsupported": "Nesaderīgs pārlūks", "e2ee_unsupported": "Nesaderīgs pārlūks",
"e2ee_unsupported_description": "Jūsu tīmekļa pārlūkprogramma neatbalsta encrypted zvanus. Atbalstītās pārlūkprogrammas ir Chrome, Safari un Firefox 117+.", "e2ee_unsupported_description": "Jūsu tīmekļa pārlūkprogramma neatbalsta encrypted zvanus. Atbalstītās pārlūkprogrammas ir Chrome, Safari un Firefox 117+.",
"failed_to_start_livekit": "Neizdevās uzsākt Livekit savienojumu",
"generic": "Kaut kas nogāja greizi", "generic": "Kaut kas nogāja greizi",
"generic_description": "Atkļūdošanas žurnālu iesniegšana palīdzēs mums izsekot problēmu.", "generic_description": "Atkļūdošanas žurnālu iesniegšana palīdzēs mums izsekot problēmu.",
"insufficient_capacity": "Nepietiekama jauda", "insufficient_capacity": "Nepietiekama jauda",
"insufficient_capacity_description": "Serveris ir sasniedzis maksimālo ietilpību, un jūs šobrīd nevarat pievienoties zvanam. Mēģiniet vēlreiz vēlāk vai sazinieties ar servera administratoru, ja problēma joprojām pastāv.", "insufficient_capacity_description": "Serveris ir sasniedzis maksimālo ietilpību, un jūs šobrīd nevarat pievienoties zvanam. Mēģiniet vēlreiz vēlāk vai sazinieties ar servera administratoru, ja problēma joprojām pastāv.",
"matrix_rtc_focus_missing": "Serveris nav konfigurēts darbam ar{{brand}}. Lūdzu, sazinieties ar sava servera administratoru (Domēns: {{domain}}, Kļūdas kods: {{ errorCode }}).", "matrix_rtc_transport_missing": "Serveris nav konfigurēts darbam ar{{brand}}. Lūdzu, sazinieties ar sava servera administratoru (Domēns: {{domain}}, Kļūdas kods: {{ errorCode }}).",
"membership_manager": "Dalības pārvaldnieka kļūda",
"membership_manager_description": "Dalības pārvaldnieks bija jāslēdz. To izraisīja daudzi secīgi, neveiksmīgi tīkla pieprasījumi.",
"no_matrix_2_authorization_service": "Jūsu multivides servera (SFU) autorizācijas pakalpojums ir novecojis.",
"open_elsewhere": "Atvērts citā cilnē", "open_elsewhere": "Atvērts citā cilnē",
"open_elsewhere_description": "{{brand}} ir atvērts citā cilnē. Ja tas neizklausās pareizi, mēģiniet atkārtoti ielādēt lapu.", "open_elsewhere_description": "{{brand}} ir atvērts citā cilnē. Ja tas neizklausās pareizi, mēģiniet atkārtoti ielādēt lapu.",
"room_creation_restricted": "Neizdevās izveidot zvanu",
"room_creation_restricted_description": "Zvanu izveide, iespējams, ir atļauta tikai pilnvarotiem lietotājiem. Mēģiniet vēlreiz vēlāk vai sazinieties ar servera administratoru, ja problēma joprojām pastāv.",
"unexpected_ec_error": "Negaidīta kļūda (<0>kļūdas kods: </0> <1> {{ errorCode }}</1>). Lūdzu, sazinieties ar servera administratoru." "unexpected_ec_error": "Negaidīta kļūda (<0>kļūdas kods: </0> <1> {{ errorCode }}</1>). Lūdzu, sazinieties ar servera administratoru."
}, },
"group_call_loader": { "group_call_loader": {
@@ -96,6 +126,11 @@
"knock_reject_heading": "Piekļuve liegta", "knock_reject_heading": "Piekļuve liegta",
"reason": "Iemesls: {{reason}}" "reason": "Iemesls: {{reason}}"
}, },
"handset": {
"overlay_back_button": "Atpakaļ uz skaļruņa režīmu",
"overlay_description": "Darbojas tikai lietotnes lietošanas laikā",
"overlay_title": "Klausules režīms"
},
"hangup_button_label": "Beigt zvanu", "hangup_button_label": "Beigt zvanu",
"header_label": "Element Call sākums", "header_label": "Element Call sākums",
"header_participants_label": "Dalībnieki", "header_participants_label": "Dalībnieki",
@@ -158,12 +193,18 @@
"effect_volume_description": "Pielāgojiet skaļumu, kurā tiek atskaņotas reakcijas un paceltas rokas skaņas.", "effect_volume_description": "Pielāgojiet skaļumu, kurā tiek atskaņotas reakcijas un paceltas rokas skaņas.",
"effect_volume_label": "Skaņas efektu skaļums" "effect_volume_label": "Skaņas efektu skaļums"
}, },
"background_blur_header": "Fons",
"background_blur_label": "Izplūdināt video fonu",
"blur_not_supported_by_browser": "(Šī ierīce neatbalsta fona izplūšanu.)",
"developer_tab_title": "Izstrādātājs", "developer_tab_title": "Izstrādātājs",
"devices": { "devices": {
"camera": "Kamera", "camera": "Kamera",
"camera_numbered": "Kamera {{n}}", "camera_numbered": "Kamera {{n}}",
"change_device_button": "Mainīt audio ierīci",
"default": "Noklusējums", "default": "Noklusējums",
"default_named": "Noklusējums <2> ({{name}} )</2>", "default_named": "Noklusējums <2> ({{name}} )</2>",
"handset": "Klausule",
"loudspeaker": "Skaļrunis",
"microphone": "Mikrofons", "microphone": "Mikrofons",
"microphone_numbered": "Mikrofons {{n}}", "microphone_numbered": "Mikrofons {{n}}",
"speaker": "Skaļrunis", "speaker": "Skaļrunis",
@@ -205,7 +246,6 @@
"video_tile": { "video_tile": {
"always_show": "Vienmēr rādīt", "always_show": "Vienmēr rādīt",
"camera_starting": "Video ielāde...", "camera_starting": "Video ielāde...",
"change_fit_contain": "Pielāgot rāmim",
"collapse": "Sakļaut", "collapse": "Sakļaut",
"expand": "Izvērst", "expand": "Izvērst",
"mute_for_me": "Klusums man", "mute_for_me": "Klusums man",
+96
View File
@@ -0,0 +1,96 @@
{
"a11y": {
"user_menu": "Gebruikersmenu"
},
"action": {
"close": "Sluiten",
"copy_link": "Link kopiëren",
"edit": "Bewerken",
"go": "Ga",
"invite": "Uitnodigen",
"lower_hand": "Hand laten zakken",
"no": "Nee",
"pick_reaction": "Reactie kiezen",
"raise_hand": "Hand opsteken",
"register": "Registreren",
"remove": "Verwijderen",
"show_less": "Minder weergeven",
"show_more": "Meer weergeven",
"sign_in": "Aanmelden",
"sign_out": "Afmelden",
"submit": "Indienen",
"upload_file": "Bestand uploaden"
},
"analytics_notice": "Door deel te nemen aan deze bètaversie stemt u in met het verzamelen van anonieme gegevens, die we gebruiken om het product te verbeteren. Meer informatie over welke gegevens we bijhouden, vindt u in ons privacybeleid <2>Privacybeleid</2> en ons cookiebeleid <6>Cookiebeleid</6>.",
"call_ended_view": {
"create_account_button": "Account aanmaken",
"create_account_prompt": "<0>Waarom sluit u niet af met het instellen van een wachtwoord om uw account te bewaren?</0><1>U kunt uw naam behouden en een avatar instellen voor gebruik bij toekomstige gesprekken.</1>",
"feedback_done": "<0>Bedankt voor je feedback!</0>",
"feedback_prompt": "<0>We horen graag uw feedback, zodat we uw ervaring kunnen verbeteren.</0>",
"headline": "{{displayName}}, uw gesprek is beëindigd.",
"not_now_button": "Niet nu, ga terug naar het startscherm.",
"reconnect_button": "Opnieuw verbinden",
"survey_prompt": "Hoe is het gegaan?"
},
"call_name": "Naam van de oproep",
"common": {
"analytics": "Statistieken",
"audio": "Audio",
"avatar": "Avatar",
"back": "Terug",
"display_name": "Weergavenaam",
"encrypted": "Versleuteld",
"home": "Startpagina",
"loading": "Bezig met laden...",
"next": "Volgende",
"options": "Opties",
"password": "Wachtwoord",
"preferences": "Voorkeuren",
"profile": "Profiel",
"reaction": "Reactie",
"reactions": "Reacties",
"reconnecting": "Opnieuw verbinden...",
"settings": "Instellingen",
"unencrypted": "Niet versleuteld",
"username": "Gebruikersnaam",
"video": "Video"
},
"developer_mode": {
"always_show_iphone_earpiece": "iPhone-oortelefoonoptie op alle platformen weergeven",
"custom_livekit_url": {
"save": "Opslaan",
"saving": "Bezig met opslaan..."
},
"matrixRTCMode": {
"title": "MatrixRTC modus"
},
"matrix_id": "Matrix ID:{{id}}",
"mute_all_audio": "Alle audio dempen (deelnemers, reacties, geluiden bij deelname)",
"show_connection_stats": "Verbindingsstatistieken weergeven"
},
"error": {
"matrix_rtc_transport_missing": "De server is niet geconfigureerd om te werken met {{brand}}. Neem contact op met uw serverbeheerder (Domein: {{domain}}, Foutcode: {{ errorCode }}).",
"no_matrix_2_authorization_service": "De autorisatieservice voor uw mediaserver (SFU) is verouderd."
},
"mute_microphone_button_label": "Microfoon dempen",
"settings": {
"preferences_tab": {
"developer_mode_label_description": "Schakel de ontwikkelaarsmodus is en geef het tabblad met ontwikkelaarsinstellingen weer.",
"reactions_show_description": "Geef een animatie weer wanneer iemand een reactie verstuurt.",
"reactions_show_label": "Reacties weergeven",
"show_hand_raised_timer_description": "Geef een timer weer wanneer een deelnemer zijn hand opsteekt",
"show_hand_raised_timer_label": "Duur van het opsteken van de hand weergeven"
}
},
"unmute_microphone_button_label": "Microfoon dempen opheffen",
"video_tile": {
"always_show": "Altijd weergeven",
"camera_starting": "Video wordt geladen...",
"collapse": "Samenvouwen",
"expand": "Uitbreiden",
"mute_for_me": "Dempen voor mij",
"muted_for_me": "Gedempt voor mij",
"volume": "Volume",
"waiting_for_media": "Wachten op media..."
}
}
+17 -5
View File
@@ -49,12 +49,14 @@
"profile": "Profil", "profile": "Profil",
"reaction": "Reakcja", "reaction": "Reakcja",
"reactions": "Reakcje", "reactions": "Reakcje",
"reconnecting": "Próba ponownego połączenia...",
"settings": "Ustawienia", "settings": "Ustawienia",
"unencrypted": "Nie szyfrowane", "unencrypted": "Nie szyfrowane",
"username": "Nazwa użytkownika", "username": "Nazwa użytkownika",
"video": "Wideo" "video": "Wideo"
}, },
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Pokaż opcję słuchawki iPhone na wszystkich platformach",
"crypto_version": "Wersja krypto: {{version}}", "crypto_version": "Wersja krypto: {{version}}",
"debug_tile_layout_label": "Układ kafelków Debug", "debug_tile_layout_label": "Układ kafelków Debug",
"device_id": "ID urządzenia: {{id}}", "device_id": "ID urządzenia: {{id}}",
@@ -64,10 +66,9 @@
"livekit_server_info": "Informacje serwera LiveKit", "livekit_server_info": "Informacje serwera LiveKit",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrix_id": "ID Matrix: {{id}}", "matrix_id": "ID Matrix: {{id}}",
"mute_all_audio": "Wycisz cały dźwięk (uczestnicy, reakcje, dźwięki dołączenia)",
"show_connection_stats": "Pokaż statystyki połączenia", "show_connection_stats": "Pokaż statystyki połączenia",
"show_non_member_tiles": "Pokaż kafelki dla mediów, które nie są od członków", "url_params": "Parametry URL"
"url_params": "Parametry URL",
"use_new_membership_manager": "Użyj nowej implementacji połączenia MembershipManager"
}, },
"disconnected_banner": "Utracono połączenie z serwerem.", "disconnected_banner": "Utracono połączenie z serwerem.",
"error": { "error": {
@@ -82,9 +83,10 @@
"generic_description": "Wysłanie dziennika debug, pozwoli nam namierzyć problem.", "generic_description": "Wysłanie dziennika debug, pozwoli nam namierzyć problem.",
"insufficient_capacity": "Za mało miejsca", "insufficient_capacity": "Za mało miejsca",
"insufficient_capacity_description": "Serwer osiągnął maksymalną pojemność, przez co nie możesz dołączyć do połączenia. Spróbuj ponownie później lub skontaktuj się z administratorem serwera, jeśli problem nie zniknie.", "insufficient_capacity_description": "Serwer osiągnął maksymalną pojemność, przez co nie możesz dołączyć do połączenia. Spróbuj ponownie później lub skontaktuj się z administratorem serwera, jeśli problem nie zniknie.",
"matrix_rtc_focus_missing": "Serwer nie jest skonfigurowany do pracy z {{brand}}. Prosimy o kontakt z administratorem serwera (Domena: {{domain}}, Kod błędu: {{ errorCode }}).",
"open_elsewhere": "Otwarto w innej karcie", "open_elsewhere": "Otwarto w innej karcie",
"open_elsewhere_description": "{{brand}} został otwarty w innej karcie. Jeśli tak nie jest, spróbuj odświeżyć stronę.", "open_elsewhere_description": "{{brand}} został otwarty w innej karcie. Jeśli tak nie jest, spróbuj odświeżyć stronę.",
"room_creation_restricted": "Nie udało się utworzyć połączenia",
"room_creation_restricted_description": "Tworzenie połączeń mogło zostać ograniczone tylko do autoryzowanych użytkowników. Spróbuj ponownie później lub skontaktuj się z administratorem serwera, jeśli problem nie minie.",
"unexpected_ec_error": "Wystąpił nieoczekiwany błąd (<0>Kod błędu:</0> <1>{{ errorCode }}</1>). Skontaktuj się z administratorem serwera." "unexpected_ec_error": "Wystąpił nieoczekiwany błąd (<0>Kod błędu:</0> <1>{{ errorCode }}</1>). Skontaktuj się z administratorem serwera."
}, },
"group_call_loader": { "group_call_loader": {
@@ -96,6 +98,11 @@
"knock_reject_heading": "Nie możesz dołączyć", "knock_reject_heading": "Nie możesz dołączyć",
"reason": "Powód: {{reason}}" "reason": "Powód: {{reason}}"
}, },
"handset": {
"overlay_back_button": "Powrót do trybu głośnika",
"overlay_description": "Działa tylko podczas korzystania z aplikacji",
"overlay_title": "Tryb słuchawkowy"
},
"hangup_button_label": "Zakończ połączenie", "hangup_button_label": "Zakończ połączenie",
"header_label": "Strona główna Element Call", "header_label": "Strona główna Element Call",
"header_participants_label": "Uczestnicy", "header_participants_label": "Uczestnicy",
@@ -158,12 +165,18 @@
"effect_volume_description": "Dostosuj głośność, z jaką odtwarzane są efekty reakcji i podniesionej ręki", "effect_volume_description": "Dostosuj głośność, z jaką odtwarzane są efekty reakcji i podniesionej ręki",
"effect_volume_label": "Głośność efektu dźwiękowego" "effect_volume_label": "Głośność efektu dźwiękowego"
}, },
"background_blur_header": "Tło",
"background_blur_label": "Rozmycie tła wideo",
"blur_not_supported_by_browser": "(Rozmycie tła nie jest wspierane przez to urządzenie.)",
"developer_tab_title": "Programista", "developer_tab_title": "Programista",
"devices": { "devices": {
"camera": "Kamera", "camera": "Kamera",
"camera_numbered": "Kamera {{n}}", "camera_numbered": "Kamera {{n}}",
"change_device_button": "Zmień urządzenie audio",
"default": "Domyślne", "default": "Domyślne",
"default_named": "Domyślne <2>({{name}})</2>", "default_named": "Domyślne <2>({{name}})</2>",
"handset": "Słuchawka",
"loudspeaker": "Głośnomówiący",
"microphone": "Mikrofon", "microphone": "Mikrofon",
"microphone_numbered": "Mikrofon {{n}}", "microphone_numbered": "Mikrofon {{n}}",
"speaker": "Głośnik", "speaker": "Głośnik",
@@ -204,7 +217,6 @@
"video_tile": { "video_tile": {
"always_show": "Zawsze pokazuj", "always_show": "Zawsze pokazuj",
"camera_starting": "Wczytywanie wideo...", "camera_starting": "Wczytywanie wideo...",
"change_fit_contain": "Dopasuj do obramowania",
"collapse": "Zwiń", "collapse": "Zwiń",
"expand": "Rozwiń", "expand": "Rozwiń",
"mute_for_me": "Wycisz dla mnie", "mute_for_me": "Wycisz dla mnie",
+35 -7
View File
@@ -49,24 +49,26 @@
"profile": "Profil", "profile": "Profil",
"reaction": "Reacție", "reaction": "Reacție",
"reactions": "Reacții", "reactions": "Reacții",
"reconnecting": "Se restabilește conexiunea…",
"settings": "Setări", "settings": "Setări",
"unencrypted": "Nu este criptat", "unencrypted": "Nu este criptat",
"username": "Numele utilizatorului", "username": "Numele utilizatorului",
"video": "Video" "video": "Video"
}, },
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Afișează opțiunea pentru căștile iPhone pe toate platformele",
"crypto_version": "Versiunea Crypto: {{version}}", "crypto_version": "Versiunea Crypto: {{version}}",
"debug_tile_layout_label": "Depanaţi aranjamentul cartonaşelor", "debug_tile_layout_label": "Depanaţi aranjamentul cartonaşelor",
"device_id": "ID-ul dispozitivului: {{id}}", "device_id": "ID-ul dispozitivului: {{id}}",
"duplicate_tiles_label": "Numărul de exemplare suplimentare de cartonașe per participant", "duplicate_tiles_label": "Numărul de exemplare suplimentare de cartonașe per participant",
"environment_variables": "Variabile de mediu", "environment_variables": "Variabile de mediu",
"hostname": "Numele gazdei: {{hostname}}", "hostname": "Numele gazdei: {{hostname}}",
"livekit_server_info": "Informaţii despre serverul livekit",
"livekit_sfu": "Unitate de expediere selectivă LiveKit: {{url}}",
"matrix_id": "ID-ul matricei: {{id}}", "matrix_id": "ID-ul matricei: {{id}}",
"mute_all_audio": "Dezactivează toate sunetele (participanți, reacții, sunete de conectare)",
"show_connection_stats": "Afişaţi informaţii cu privire la starea conexiunii", "show_connection_stats": "Afişaţi informaţii cu privire la starea conexiunii",
"show_non_member_tiles": "Afişaţi pictograme pentru fluxul media care nu aparţine participanţilor apelului", "url_params": "Parametrii linkului"
"url_params": "Parametrii linkului",
"use_new_membership_manager": "Folosiţi noua versiune de administrator pentru participanţi ai apelului",
"use_to_device_key_transport": "Folosiţi metoda de transport direct către dispozitiv. Aceasta va reveni la transportul prin intermediul evenimentelor din cameră doar dacă un alt participant la apel recurge la acel mod de transport mai întâi."
}, },
"disconnected_banner": "Conexiunea către server s-a încheiat abrupt", "disconnected_banner": "Conexiunea către server s-a încheiat abrupt",
"error": { "error": {
@@ -81,9 +83,10 @@
"generic_description": "Dacă ne trimiteţi jurnalele de depanare generate de aplicaţie, ne puteţi ajuta să rezolvăm problema.", "generic_description": "Dacă ne trimiteţi jurnalele de depanare generate de aplicaţie, ne puteţi ajuta să rezolvăm problema.",
"insufficient_capacity": "Capacitate insuficientă", "insufficient_capacity": "Capacitate insuficientă",
"insufficient_capacity_description": "Serverul a ajuns la capacitatea maximă și nu vă puteți alătura apelului în acest moment. Încercați din nou in câteva minute, sau contactați administratorul serverului dumneavoastră dacă problema persistă.", "insufficient_capacity_description": "Serverul a ajuns la capacitatea maximă și nu vă puteți alătura apelului în acest moment. Încercați din nou in câteva minute, sau contactați administratorul serverului dumneavoastră dacă problema persistă.",
"matrix_rtc_focus_missing": "Serverul nu este configurat să funcționeze cu{{brand}}. Vă rugăm să contactați administratorul serverului dumneavoastră pentru a raporta o eroare în configurare. Detalii: Domeniu: {{domain}}. Cod de eroare: {{ errorCode }}.",
"open_elsewhere": "Aplicaţia este deschisă intr-o altă pagină", "open_elsewhere": "Aplicaţia este deschisă intr-o altă pagină",
"open_elsewhere_description": "{{brand}} a fost deschis într-o altă pagină. Dacă credeți că acest mesaj a fost emis in eroare, încercați să reîncărcați pagina.", "open_elsewhere_description": "{{brand}} a fost deschis într-o altă pagină. Dacă credeți că acest mesaj a fost emis in eroare, încercați să reîncărcați pagina.",
"room_creation_restricted": "Apelul nu a putut fi creat",
"room_creation_restricted_description": "Crearea apelurilor ar putea fi restricționată doar utilizatorilor autorizați. Încercați din nou mai târziu sau contactați administratorul serverului dacă problema persistă.",
"unexpected_ec_error": "A apărut o eroare neașteptată (Cod de <0> eroare: </0> <1> {{ errorCode }}</1>). Vă rugăm să contactați administratorul serverului dumneavoastră." "unexpected_ec_error": "A apărut o eroare neașteptată (Cod de <0> eroare: </0> <1> {{ errorCode }}</1>). Vă rugăm să contactați administratorul serverului dumneavoastră."
}, },
"group_call_loader": { "group_call_loader": {
@@ -95,6 +98,11 @@
"knock_reject_heading": "Acces refuzat", "knock_reject_heading": "Acces refuzat",
"reason": "Motivul" "reason": "Motivul"
}, },
"handset": {
"overlay_back_button": "Înapoi la modul Difuzor",
"overlay_description": "Funcționează doar în timp ce se utilizează aplicația",
"overlay_title": "Mod telefon"
},
"hangup_button_label": "Încheiați apelul", "hangup_button_label": "Încheiați apelul",
"header_label": "Element Call Home", "header_label": "Element Call Home",
"header_participants_label": "Participanți", "header_participants_label": "Participanți",
@@ -125,6 +133,9 @@
"microphone_off": "Microfon oprit", "microphone_off": "Microfon oprit",
"microphone_on": "Microfon pornit", "microphone_on": "Microfon pornit",
"mute_microphone_button_label": "Dezactivați microfonul", "mute_microphone_button_label": "Dezactivați microfonul",
"participant_count_one": "{{count, number}}",
"participant_count_few": "{{count, number}}",
"participant_count_other": "{{count, number}}",
"qr_code": "COD QR", "qr_code": "COD QR",
"rageshake_button_error_caption": "Încearcă din nou trimiterea jurnalelor", "rageshake_button_error_caption": "Încearcă din nou trimiterea jurnalelor",
"rageshake_request_modal": { "rageshake_request_modal": {
@@ -137,6 +148,7 @@
"rageshake_sent": "Multumesc!", "rageshake_sent": "Multumesc!",
"recaptcha_dismissed": "Recaptcha a fost respins", "recaptcha_dismissed": "Recaptcha a fost respins",
"recaptcha_not_loaded": "Recaptcha nu a fost încărcat", "recaptcha_not_loaded": "Recaptcha nu a fost încărcat",
"recaptcha_ssla_caption": "Acest site este protejat de reCAPTCHA. Se aplică atât Politica de <2> confidențialitate Google </2> cât și <6> Termenii și condițiile. </6> <9></9>Făcând clic pe \"Înregistrare\", sunteți de acord cu Acordul <12> nostru de licență pentru software și servicii (SSLA) </12>",
"register": { "register": {
"passwords_must_match": "Parolele trebuie să se potrivească", "passwords_must_match": "Parolele trebuie să se potrivească",
"registering": "Înregistrare..." "registering": "Înregistrare..."
@@ -146,16 +158,29 @@
"register_heading": "Creează-ți contul", "register_heading": "Creează-ți contul",
"return_home_button": "Reveniți la ecranul de pornire", "return_home_button": "Reveniți la ecranul de pornire",
"room_auth_view_continue_button": "Continuă", "room_auth_view_continue_button": "Continuă",
"room_auth_view_ssla_caption": "Făcând clic pe „Alăturați-vă apelului acum”, sunteți de acord cu Acordul <2> nostru de licență pentru software și servicii (SSLA) </2>",
"screenshare_button_label": "Partajare ecran", "screenshare_button_label": "Partajare ecran",
"settings": { "settings": {
"audio_tab": { "audio_tab": {
"effect_volume_description": "Reglați volumul la care reacționează reacțiile și efectele ridicate de mână", "effect_volume_description": "Reglați volumul la care reacționează reacțiile și efectele ridicate de mână",
"effect_volume_label": "Volumul efectului sonor" "effect_volume_label": "Volumul efectului sonor"
}, },
"background_blur_header": "Fundal",
"background_blur_label": "Estompează fundalul videoclipului",
"blur_not_supported_by_browser": "(Funcția de estompare a fundalului nu este acceptată de acest device.)",
"developer_tab_title": "dezvoltator", "developer_tab_title": "dezvoltator",
"devices": { "devices": {
"camera": "Cameră",
"camera_numbered": "Camera {{n}}",
"change_device_button": "Schimbați dispozitivul audio",
"default": "Implicit",
"default_named": "Dispozitiv implicit <2>({{name}})</2>",
"handset": "Telefon",
"loudspeaker": "Difuzor",
"microphone": "Microfon", "microphone": "Microfon",
"speaker": "Difuzor" "microphone_numbered": "Microfon {{n}}",
"speaker": "Difuzor",
"speaker_numbered": "Difuzor {{n}}"
}, },
"feedback_tab_body": "Dacă întâmpinați probleme sau pur și simplu doriți să oferiți feedback, vă rugăm să ne trimiteți o scurtă descriere mai jos.", "feedback_tab_body": "Dacă întâmpinați probleme sau pur și simplu doriți să oferiți feedback, vă rugăm să ne trimiteți o scurtă descriere mai jos.",
"feedback_tab_description_label": "Feedback-ul tău", "feedback_tab_description_label": "Feedback-ul tău",
@@ -176,6 +201,9 @@
"show_hand_raised_timer_label": "Afișați durata ridicării mâinii" "show_hand_raised_timer_label": "Afișați durata ridicării mâinii"
} }
}, },
"star_rating_input_label_one": "{{count}} stea",
"star_rating_input_label_few": "{{count}} stele",
"star_rating_input_label_other": "{{count}} stele",
"start_new_call": "Începe un nou apel", "start_new_call": "Începe un nou apel",
"start_video_button_label": "Începeți videoclipul", "start_video_button_label": "Începeți videoclipul",
"stop_screenshare_button_label": "Partajarea ecranului", "stop_screenshare_button_label": "Partajarea ecranului",
@@ -184,12 +212,12 @@
"switch_camera": "Comutați camera", "switch_camera": "Comutați camera",
"unauthenticated_view_body": "Nu sunteți încă înregistrat? <2>Creați un cont </2>", "unauthenticated_view_body": "Nu sunteți încă înregistrat? <2>Creați un cont </2>",
"unauthenticated_view_login_button": "Conectați-vă la contul dvs.", "unauthenticated_view_login_button": "Conectați-vă la contul dvs.",
"unauthenticated_view_ssla_caption": "Făcând clic pe \"Înainte\", sunteți de acord cu Acordul nostru de licență pentru <2> software și servicii (SSLA) </2>",
"unmute_microphone_button_label": "Anulează microfonul", "unmute_microphone_button_label": "Anulează microfonul",
"version": "{{productName}}Versiune: {{version}}", "version": "{{productName}}Versiune: {{version}}",
"video_tile": { "video_tile": {
"always_show": "Arată întotdeauna", "always_show": "Arată întotdeauna",
"camera_starting": "Se încarcă fluxul video...", "camera_starting": "Se încarcă fluxul video...",
"change_fit_contain": "Se potrivește cadrului",
"collapse": "colaps", "collapse": "colaps",
"expand": "Extindeți", "expand": "Extindeți",
"mute_for_me": "Mute pentru mine", "mute_for_me": "Mute pentru mine",
+43 -7
View File
@@ -49,6 +49,7 @@
"profile": "Профиль", "profile": "Профиль",
"reaction": "Реакция", "reaction": "Реакция",
"reactions": "Реакции", "reactions": "Реакции",
"reconnecting": "Восстановление связи…",
"settings": "Настройки", "settings": "Настройки",
"unencrypted": "Не зашифровано", "unencrypted": "Не зашифровано",
"username": "Имя пользователя", "username": "Имя пользователя",
@@ -57,6 +58,14 @@
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Показать опцию наушников для iPhone на всех платформах", "always_show_iphone_earpiece": "Показать опцию наушников для iPhone на всех платформах",
"crypto_version": "Версия криптографии: {{version}}", "crypto_version": "Версия криптографии: {{version}}",
"custom_livekit_url": {
"current_url": "В настоящее время установлено: ",
"from_config": "В настоящее время перезапись не установлена. Используется URL из известного источника или конфигурации.",
"label": "Пользовательский Livekit-url",
"reset": "Сбросить перезапись",
"save": "Сохранить",
"saving": "Сохранение..."
},
"debug_tile_layout_label": "Отладка расположения плиток", "debug_tile_layout_label": "Отладка расположения плиток",
"device_id": "Идентификатор устройства: {{id}}", "device_id": "Идентификатор устройства: {{id}}",
"duplicate_tiles_label": "Количество дополнительных копий плиток на участника", "duplicate_tiles_label": "Количество дополнительных копий плиток на участника",
@@ -64,30 +73,48 @@
"hostname": "Имя хоста: {{hostname}}", "hostname": "Имя хоста: {{hostname}}",
"livekit_server_info": "Информация о сервере LiveKit", "livekit_server_info": "Информация о сервере LiveKit",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Совместимо с домашними серверами, которые не поддерживают закреплённые события (но все остальные клиенты EC имеют версию v0.17.0 или более позднюю)",
"label": "Совместимость: события состояния и множество SFU"
},
"Legacy": {
"description": "Совместимо со старыми версиями EC, не поддерживающими несколько SFU",
"label": "Legacy: события состояния и старые SFU членство"
},
"Matrix_2_0": {
"description": "Совместимо только с домашними серверами, поддерживающими «закреплённые события», и со всеми клиентами EC версии v0.17.0 или более поздней",
"label": "matrix 2.0: липкие события и multi SFU"
},
"title": "Режим MatrixRTC"
},
"matrix_id": "Matrix ID: {{id}}", "matrix_id": "Matrix ID: {{id}}",
"mute_all_audio": "Отключить все звуки (участников, реакции, звуки присоединения)", "mute_all_audio": "Отключить все звуки (участников, реакции, звуки присоединения)",
"show_connection_stats": "Показать статистику подключений", "show_connection_stats": "Показать статистику подключений",
"show_non_member_tiles": "Показать плитки для медиафайлов, не являющихся участниками", "url_params": "Параметры URL-адреса"
"url_params": "Параметры URL-адреса",
"use_new_membership_manager": "Используйте новую реализацию вызова MembershipManager",
"use_to_device_key_transport": "Используйте для передачи ключей устройства. Это позволит вернуться к передаче ключей комнаты, когда другой участник вызова отправит ключ комнаты"
}, },
"disconnected_banner": "Связь с сервером была потеряна.", "disconnected_banner": "Связь с сервером была потеряна.",
"error": { "error": {
"call_is_not_supported": "Вызов не поддерживается", "call_is_not_supported": "Вызов не поддерживается",
"call_not_found": "Звонок не найден", "call_not_found": "Звонок не найден",
"call_not_found_description": "<0>Эта ссылка, похоже, не принадлежит ни к одному существующему звонку. Убедитесь, что у вас есть нужная ссылка, или <1>создайте новую</1>.</0>", "call_not_found_description": "<0>Похоже, эта ссылка не принадлежит ни одному существующему вызову. Убедитесь, что у вас правильная ссылка, или <2>создайте новую</2>.</0>",
"connection_lost": "Соединение потеряно", "connection_lost": "Соединение потеряно",
"connection_lost_description": "Вы были отключены от звонка.", "connection_lost_description": "Вы были отключены от звонка.",
"e2ee_unsupported": "Несовместимый браузер", "e2ee_unsupported": "Несовместимый браузер",
"e2ee_unsupported_description": "Ваш веб-браузер не поддерживает зашифрованные звонки. Поддерживаются следующие браузеры: Chrome, Safari и Firefox 117+.", "e2ee_unsupported_description": "Ваш веб-браузер не поддерживает зашифрованные звонки. Поддерживаются следующие браузеры: Chrome, Safari и Firefox 117+.",
"failed_to_start_livekit": "Не удалось установить соединение с Livekit",
"generic": "Произошла ошибка", "generic": "Произошла ошибка",
"generic_description": "Отправка журналов отладки поможет нам отследить проблему.", "generic_description": "Отправка журналов отладки поможет нам отследить проблему.",
"insufficient_capacity": "Недостаточная пропускная способность", "insufficient_capacity": "Недостаточная пропускная способность",
"insufficient_capacity_description": "Сервер достиг максимальной пропускной способности, и вы не можете присоединиться к звонку в данный момент. Повторите попытку позже или обратитесь к администратору сервера, если проблема сохраняется.", "insufficient_capacity_description": "Сервер достиг максимальной пропускной способности, и вы не можете присоединиться к звонку в данный момент. Повторите попытку позже или обратитесь к администратору сервера, если проблема сохраняется.",
"matrix_rtc_focus_missing": "Сервер не настроен для работы с {{brand}}. Пожалуйста, свяжитесь с администратором вашего сервера (Домен: {{domain}}, Код ошибки: {{ errorCode }}).", "matrix_rtc_transport_missing": "Сервер не настроен для работы с {{brand}}. Пожалуйста, свяжитесь с администратором вашего сервера (Домен: {{domain}}, Код ошибки: {{ errorCode }}).",
"membership_manager": "Ошибка менеджера участников",
"membership_manager_description": "Модуль «Memebership Manager» был вынужден завершить работу. Причиной этого стало большое количество последовательных неудачных сетевых запросов.",
"no_matrix_2_authorization_service": "Ваша служба авторизации для медиасервера (SFU) не обновлена до последней версии.",
"open_elsewhere": "Открыто в другой вкладке", "open_elsewhere": "Открыто в другой вкладке",
"open_elsewhere_description": "{{brand}} был открыт в другой вкладке. Если это неверно, попробуйте перезагрузить страницу.", "open_elsewhere_description": "{{brand}} был открыт в другой вкладке. Если это неверно, попробуйте перезагрузить страницу.",
"room_creation_restricted": "Не удалось создать вызов",
"room_creation_restricted_description": "Создание вызовов может быть доступно только авторизованным пользователям. Повторите попытку позже или обратитесь к администратору сервера, если проблема не исчезнет.",
"unexpected_ec_error": "Произошла непредвиденная ошибка (<0> Код ошибки:</0><1>{{ errorCode }}</1> ). Обратитесь к администратору вашего сервера." "unexpected_ec_error": "Произошла непредвиденная ошибка (<0> Код ошибки:</0><1>{{ errorCode }}</1> ). Обратитесь к администратору вашего сервера."
}, },
"group_call_loader": { "group_call_loader": {
@@ -99,6 +126,11 @@
"knock_reject_heading": "Не разрешено присоединиться", "knock_reject_heading": "Не разрешено присоединиться",
"reason": "Причина: {{reason}}" "reason": "Причина: {{reason}}"
}, },
"handset": {
"overlay_back_button": "Вернуться в режим динамика",
"overlay_description": "Работает только при использовании приложения",
"overlay_title": "Режим трубки"
},
"hangup_button_label": "Завершить звонок", "hangup_button_label": "Завершить звонок",
"header_label": "Главная Element Call", "header_label": "Главная Element Call",
"header_participants_label": "Участники", "header_participants_label": "Участники",
@@ -171,6 +203,8 @@
"change_device_button": "Изменить аудиоустройство", "change_device_button": "Изменить аудиоустройство",
"default": "По умолчанию", "default": "По умолчанию",
"default_named": "По умолчанию <2>({{name}})</2>", "default_named": "По умолчанию <2>({{name}})</2>",
"handset": "Динамик телефона",
"loudspeaker": "Громкоговоритель",
"microphone": "Микрофон", "microphone": "Микрофон",
"microphone_numbered": "Микрофон {{n}}", "microphone_numbered": "Микрофон {{n}}",
"speaker": "Динамик", "speaker": "Динамик",
@@ -211,12 +245,14 @@
"version": "{{productName}} версия: {{version}}", "version": "{{productName}} версия: {{version}}",
"video_tile": { "video_tile": {
"always_show": "Показывать всегда", "always_show": "Показывать всегда",
"call_ended": "Вызов завершен",
"calling": "Вызов…",
"camera_starting": "Загрузка видео...", "camera_starting": "Загрузка видео...",
"change_fit_contain": "По размеру окна",
"collapse": "Свернуть", "collapse": "Свернуть",
"expand": "Развернуть", "expand": "Развернуть",
"mute_for_me": "Заглушить звук для меня", "mute_for_me": "Заглушить звук для меня",
"muted_for_me": "Приглушить для меня", "muted_for_me": "Приглушить для меня",
"screen_share_volume": "Громкость демонстрации экрана",
"volume": "Громкость", "volume": "Громкость",
"waiting_for_media": "В ожидании медиа..." "waiting_for_media": "В ожидании медиа..."
} }
+38 -6
View File
@@ -49,6 +49,7 @@
"profile": "Profil", "profile": "Profil",
"reaction": "Reakcia", "reaction": "Reakcia",
"reactions": "Reakcie", "reactions": "Reakcie",
"reconnecting": "Opätovné pripájanie...",
"settings": "Nastavenia", "settings": "Nastavenia",
"unencrypted": "Nie je zašifrované", "unencrypted": "Nie je zašifrované",
"username": "Meno používateľa", "username": "Meno používateľa",
@@ -57,6 +58,14 @@
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Zobraziť možnosť slúchadla iPhone na všetkých platformách", "always_show_iphone_earpiece": "Zobraziť možnosť slúchadla iPhone na všetkých platformách",
"crypto_version": "Krypto verzia: {{version}}", "crypto_version": "Krypto verzia: {{version}}",
"custom_livekit_url": {
"current_url": "Aktuálne nastavené na: ",
"from_config": "Momentálne nie je nastavené žiadne prepísanie. Používa sa URL adresa zo známeho zdroja alebo konfigurácie.",
"label": "Vlastná Livekit URL adresa",
"reset": "Obnoviť prepísanie",
"save": "Uložiť",
"saving": "Ukladá sa…"
},
"debug_tile_layout_label": "Ladenie rozloženia dlaždíc", "debug_tile_layout_label": "Ladenie rozloženia dlaždíc",
"device_id": "ID zariadenia: {{id}}", "device_id": "ID zariadenia: {{id}}",
"duplicate_tiles_label": "Počet ďalších kópií dlaždíc na účastníka", "duplicate_tiles_label": "Počet ďalších kópií dlaždíc na účastníka",
@@ -64,13 +73,25 @@
"hostname": "Názov hostiteľa: {{hostname}}", "hostname": "Názov hostiteľa: {{hostname}}",
"livekit_server_info": "Informácie o serveri LiveKit", "livekit_server_info": "Informácie o serveri LiveKit",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Kompatibilné s domovskými servermi, ktoré nepodporujú sticky udalosti (ale všetci ostatní EC klienti sú v0.17.0 alebo novší)",
"label": "Kompatibilita: stavové udalosti a multi SFU"
},
"Legacy": {
"description": "Kompatibilné so staršími verziami EC, ktoré nepodporujú viacero SFU",
"label": "Staršie: stavové udalosti a najstaršie členstvo SFU"
},
"Matrix_2_0": {
"description": "Kompatibilné iba s domovskými servermi podporujúcimi prilepené udalosti a všetkými EC klientmi v0.17.0 alebo novšími.",
"label": "Matrix 2.0: prilepené udalosti a viacero SFU"
},
"title": "Režim MatrixRTC"
},
"matrix_id": "Matrix ID: {{id}}", "matrix_id": "Matrix ID: {{id}}",
"mute_all_audio": "Stlmiť všetky zvuky (účastníkov, reakcií, zvuky pripojenia)", "mute_all_audio": "Stlmiť všetky zvuky (účastníkov, reakcií, zvuky pripojenia)",
"show_connection_stats": "Zobraziť štatistiky pripojenia", "show_connection_stats": "Zobraziť štatistiky pripojenia",
"show_non_member_tiles": "Zobraziť dlaždice pre nečlenské médiá", "url_params": "Parametre URL adresy"
"url_params": "Parametre URL adresy",
"use_new_membership_manager": "Použiť novú implementáciu hovoru MembershipManager",
"use_to_device_key_transport": "Používa sa na prenos kľúča zariadenia. Toto sa vráti k prenosu kľúča miestnosti, keď iný účastník hovoru poslal kľúč od miestnosti"
}, },
"disconnected_banner": "Spojenie so serverom sa stratilo.", "disconnected_banner": "Spojenie so serverom sa stratilo.",
"error": { "error": {
@@ -81,13 +102,19 @@
"connection_lost_description": "Boli ste odpojení od hovoru.", "connection_lost_description": "Boli ste odpojení od hovoru.",
"e2ee_unsupported": "Nekompatibilný prehliadač", "e2ee_unsupported": "Nekompatibilný prehliadač",
"e2ee_unsupported_description": "Váš webový prehliadač nepodporuje šifrované hovory. Medzi podporované prehliadače patria Chrome, Safari a Firefox 117+.", "e2ee_unsupported_description": "Váš webový prehliadač nepodporuje šifrované hovory. Medzi podporované prehliadače patria Chrome, Safari a Firefox 117+.",
"failed_to_start_livekit": "Nepodarilo sa spustiť pripojenie Livekit",
"generic": "Niečo sa pokazilo", "generic": "Niečo sa pokazilo",
"generic_description": "Odoslanie záznamov ladenia nám pomôže nájsť problém.", "generic_description": "Odoslanie záznamov ladenia nám pomôže nájsť problém.",
"insufficient_capacity": "Nedostatočná kapacita", "insufficient_capacity": "Nedostatočná kapacita",
"insufficient_capacity_description": "Server dosiahol svoju maximálnu kapacitu a momentálne sa nemôžete pripojiť k hovoru. Skúste to znova neskôr alebo kontaktujte správcu servera, ak problém pretrváva.", "insufficient_capacity_description": "Server dosiahol svoju maximálnu kapacitu a momentálne sa nemôžete pripojiť k hovoru. Skúste to znova neskôr alebo kontaktujte správcu servera, ak problém pretrváva.",
"matrix_rtc_focus_missing": "Server nie je nakonfigurovaný na prácu s aplikáciou {{brand}}. Kontaktujte správcu svojho servera (Doména:{{domain}}, Kód chyby:{{ errorCode }}).", "matrix_rtc_transport_missing": "Server nie je nastavený na prácu s aplikáciou {{brand}}. Kontaktujte prosím správcu svojho servera (Doména: {{domain}}, Kód chyby: {{ errorCode }}).",
"membership_manager": "Chyba správcu členstva",
"membership_manager_description": "Správca členstva musel byť vypnutý. Príčinou je mnoho po sebe idúcich neúspešných sieťových požiadaviek.",
"no_matrix_2_authorization_service": "Autorizačná služba pre váš mediálny server (SFU) je zastaraná.",
"open_elsewhere": "Otvorené na inej karte", "open_elsewhere": "Otvorené na inej karte",
"open_elsewhere_description": "Aplikácia {{brand}} bola otvorená na inej karte. Ak sa vám to nezdá, skúste znovu načítať stránku.", "open_elsewhere_description": "Aplikácia {{brand}} bola otvorená na inej karte. Ak sa vám to nezdá, skúste znovu načítať stránku.",
"room_creation_restricted": "Nepodarilo sa vytvoriť hovor",
"room_creation_restricted_description": "Uskutočňovanie hovorov môže byť obmedzené iba na autorizovaných používateľov. Skúste to znova neskôr alebo kontaktujte správcu servera, ak problém pretrváva.",
"unexpected_ec_error": "Vyskytla sa neočakávaná chyba (<0>Kód chyby:</0> <1>{{ errorCode }}</1>). Kontaktujte prosím správcu vášho servera." "unexpected_ec_error": "Vyskytla sa neočakávaná chyba (<0>Kód chyby:</0> <1>{{ errorCode }}</1>). Kontaktujte prosím správcu vášho servera."
}, },
"group_call_loader": { "group_call_loader": {
@@ -99,6 +126,11 @@
"knock_reject_heading": "Nie je povolené pripojiť sa", "knock_reject_heading": "Nie je povolené pripojiť sa",
"reason": "Dôvod" "reason": "Dôvod"
}, },
"handset": {
"overlay_back_button": "Späť do režimu reproduktora",
"overlay_description": "Funguje iba pri používaní aplikácie",
"overlay_title": "Režim slúchadla"
},
"hangup_button_label": "Ukončiť hovor", "hangup_button_label": "Ukončiť hovor",
"header_label": "Domov Element Call", "header_label": "Domov Element Call",
"header_participants_label": "Účastníci", "header_participants_label": "Účastníci",
@@ -171,6 +203,7 @@
"change_device_button": "Zmeniť zvukové zariadenie", "change_device_button": "Zmeniť zvukové zariadenie",
"default": "Predvolené", "default": "Predvolené",
"default_named": "Predvolené <2>({{name}})</2>", "default_named": "Predvolené <2>({{name}})</2>",
"handset": "Slúchadlo",
"loudspeaker": "Reproduktor", "loudspeaker": "Reproduktor",
"microphone": "Mikrofón", "microphone": "Mikrofón",
"microphone_numbered": "Mikrofón {{n}}", "microphone_numbered": "Mikrofón {{n}}",
@@ -213,7 +246,6 @@
"video_tile": { "video_tile": {
"always_show": "Vždy zobraziť", "always_show": "Vždy zobraziť",
"camera_starting": "Načítavanie videa...", "camera_starting": "Načítavanie videa...",
"change_fit_contain": "Orezať na mieru",
"collapse": "Zbaliť", "collapse": "Zbaliť",
"expand": "Rozbaliť", "expand": "Rozbaliť",
"mute_for_me": "Pre mňa stlmiť", "mute_for_me": "Pre mňa stlmiť",
+30 -6
View File
@@ -49,6 +49,7 @@
"profile": "Profil", "profile": "Profil",
"reaction": "Reaktion", "reaction": "Reaktion",
"reactions": "Reaktioner", "reactions": "Reaktioner",
"reconnecting": "Återansluter …",
"settings": "Inställningar", "settings": "Inställningar",
"unencrypted": "Inte krypterad", "unencrypted": "Inte krypterad",
"username": "Användarnamn", "username": "Användarnamn",
@@ -57,6 +58,14 @@
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Visa iPhone-hörsnäckealternativ på alla plattformar", "always_show_iphone_earpiece": "Visa iPhone-hörsnäckealternativ på alla plattformar",
"crypto_version": "Kryptoversion: {{version}}", "crypto_version": "Kryptoversion: {{version}}",
"custom_livekit_url": {
"current_url": "För närvarande inställd på: ",
"from_config": "För närvarande är ingen överskrivning inställd. URL från well-known eller konfig används.",
"label": "Anpassad Livekit-url",
"reset": "Återställ överskrivning",
"save": "Spara",
"saving": "Sparar…"
},
"debug_tile_layout_label": "Felsök panelarrangemang", "debug_tile_layout_label": "Felsök panelarrangemang",
"device_id": "Enhets-ID: {{id}}", "device_id": "Enhets-ID: {{id}}",
"duplicate_tiles_label": "Antal ytterligare panelkopior per deltagare", "duplicate_tiles_label": "Antal ytterligare panelkopior per deltagare",
@@ -64,13 +73,25 @@
"hostname": "Värdnamn: {{hostname}}", "hostname": "Värdnamn: {{hostname}}",
"livekit_server_info": "LiveKit-serverinfo", "livekit_server_info": "LiveKit-serverinfo",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Kompatibel med hemservrar som inte stöder sticky events (men alla andra EC-klienter är v0.17.0 eller senare)",
"label": "Kompatibilitet: tillståndshändelser och multi-SFU"
},
"Legacy": {
"description": "Kompatibel med äldre versioner av EC som inte stöder multi SFU",
"label": "Legacy: state events och oldest membership SFU"
},
"Matrix_2_0": {
"description": "Endast kompatibel med hemservrar som stöder sticky events och alla EC-klienter v0.17.0 eller senare",
"label": "Matrix 2.0: sticky events & multi SFU"
},
"title": "MatrixRTC-läge"
},
"matrix_id": "Matrix-ID: {{id}}", "matrix_id": "Matrix-ID: {{id}}",
"mute_all_audio": "Tysta allt ljud (deltagare, reaktioner, anslutningsljud)", "mute_all_audio": "Tysta allt ljud (deltagare, reaktioner, anslutningsljud)",
"show_connection_stats": "Visa anslutningsstatistik", "show_connection_stats": "Visa anslutningsstatistik",
"show_non_member_tiles": "Visa paneler för media som inte är medlemmar", "url_params": "URL-parametrar"
"url_params": "URL-parametrar",
"use_new_membership_manager": "Använd den nya implementeringen av samtals-MembershipManager",
"use_to_device_key_transport": "Använd \"till enhet\"-nyckeltransport. Detta kommer att falla tillbaka till rumsnyckeltransport om en annan samtalsmedlem skickar en rumsnyckel."
}, },
"disconnected_banner": "Anslutningen till servern har brutits.", "disconnected_banner": "Anslutningen till servern har brutits.",
"error": { "error": {
@@ -81,11 +102,15 @@
"connection_lost_description": "Du kopplades bort från samtalet.", "connection_lost_description": "Du kopplades bort från samtalet.",
"e2ee_unsupported": "Inkompatibel webbläsare", "e2ee_unsupported": "Inkompatibel webbläsare",
"e2ee_unsupported_description": "Din webbläsare stöder inte krypterade samtal. Webbläsare som stöds inkluderar Chrome, Safari och Firefox 117+.", "e2ee_unsupported_description": "Din webbläsare stöder inte krypterade samtal. Webbläsare som stöds inkluderar Chrome, Safari och Firefox 117+.",
"failed_to_start_livekit": "Misslyckades att starta Livekit-anslutning",
"generic": "Något gick fel", "generic": "Något gick fel",
"generic_description": "Att skicka felsökningsloggar hjälper oss att spåra problemet.", "generic_description": "Att skicka felsökningsloggar hjälper oss att spåra problemet.",
"insufficient_capacity": "Otillräcklig kapacitet", "insufficient_capacity": "Otillräcklig kapacitet",
"insufficient_capacity_description": "Servern har nått sin maximala kapacitet och du kan inte gå med i samtalet just nu. Försök igen senare, eller kontakta serveradministratören om problemet kvarstår.", "insufficient_capacity_description": "Servern har nått sin maximala kapacitet och du kan inte gå med i samtalet just nu. Försök igen senare, eller kontakta serveradministratören om problemet kvarstår.",
"matrix_rtc_focus_missing": "Servern är inte konfigurerad för att fungera med {{brand}}. Vänligen kontakta serveradministratören (Domän: {{domain}}, Felkod: {{ errorCode }}).", "matrix_rtc_transport_missing": "Servern är inte konfigurerad för att fungera med {{brand}}. Vänligen kontakta din serveradministratör (Domän: {{domain}}, Felkod: {{ errorCode }}).",
"membership_manager": "Fel i medlemskapshanteraren",
"membership_manager_description": "Medlemskapshanteraren var tvungen att stängas av. Detta orsakas av många misslyckade nätverksförfrågningar i rad.",
"no_matrix_2_authorization_service": "Auktoriseringstjänsten för din medieserver (SFU) är föråldrad.",
"open_elsewhere": "Öppnades i en annan flik", "open_elsewhere": "Öppnades i en annan flik",
"open_elsewhere_description": "{{brand}} har öppnats i en annan flik. Om det inte låter rätt, pröva att ladda om sidan.", "open_elsewhere_description": "{{brand}} har öppnats i en annan flik. Om det inte låter rätt, pröva att ladda om sidan.",
"room_creation_restricted": "Misslyckades att skapa samtal", "room_creation_restricted": "Misslyckades att skapa samtal",
@@ -219,7 +244,6 @@
"video_tile": { "video_tile": {
"always_show": "Visa alltid", "always_show": "Visa alltid",
"camera_starting": "Video laddar …", "camera_starting": "Video laddar …",
"change_fit_contain": "Anpassa till ram",
"collapse": "Kollapsa", "collapse": "Kollapsa",
"expand": "Expandera", "expand": "Expandera",
"mute_for_me": "Tysta för mig", "mute_for_me": "Tysta för mig",
+1 -3
View File
@@ -63,8 +63,7 @@
"livekit_server_info": "LiveKit Sunucu Bilgisi", "livekit_server_info": "LiveKit Sunucu Bilgisi",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrix_id": "Matrix Kimliği: {{id}}", "matrix_id": "Matrix Kimliği: {{id}}",
"show_connection_stats": "Bağlantı istatistiklerini göster", "show_connection_stats": "Bağlantı istatistiklerini göster"
"show_non_member_tiles": "Üye olmayan kullanıcılar için ortam döşemelerini göster"
}, },
"disconnected_banner": "Sunucuyla bağlantı kesildi.", "disconnected_banner": "Sunucuyla bağlantı kesildi.",
"error": { "error": {
@@ -192,7 +191,6 @@
"video_tile": { "video_tile": {
"always_show": "Her zaman göster", "always_show": "Her zaman göster",
"camera_starting": "Video paylaşımı başlatılıyor...", "camera_starting": "Video paylaşımı başlatılıyor...",
"change_fit_contain": "Çerçeveye sığdır",
"collapse": "Daralt", "collapse": "Daralt",
"expand": "Genişlet", "expand": "Genişlet",
"mute_for_me": "Benim için sessize al", "mute_for_me": "Benim için sessize al",
+45 -5
View File
@@ -49,13 +49,23 @@
"profile": "Профіль", "profile": "Профіль",
"reaction": "Реакція", "reaction": "Реакція",
"reactions": "Реакції", "reactions": "Реакції",
"reconnecting": "Повторне з'єднання…",
"settings": "Налаштування", "settings": "Налаштування",
"unencrypted": "Не зашифровано", "unencrypted": "Не зашифровано",
"username": "Ім'я користувача", "username": "Ім'я користувача",
"video": "Відео" "video": "Відео"
}, },
"developer_mode": { "developer_mode": {
"always_show_iphone_earpiece": "Показувати опцію виводу звуку в динамік iPhone на всіх платформах",
"crypto_version": "Крипто-версія: {{version}}", "crypto_version": "Крипто-версія: {{version}}",
"custom_livekit_url": {
"current_url": "Наразі налаштовано: ",
"from_config": "Наразі перезапис не налаштовано. Використовується URL-адреса з відомого ресурсу або конфігурації.",
"label": "Власний Livekit-url",
"reset": "Скинути перезапис",
"save": "Зберегти",
"saving": "Збереження..."
},
"debug_tile_layout_label": "Налагоджування макету плиток", "debug_tile_layout_label": "Налагоджування макету плиток",
"device_id": "ID пристрою: {{id}}", "device_id": "ID пристрою: {{id}}",
"duplicate_tiles_label": "Кількість додаткових копій плиток на одного учасника", "duplicate_tiles_label": "Кількість додаткових копій плиток на одного учасника",
@@ -63,11 +73,25 @@
"hostname": "Ім'я хоста: {{hostname}}", "hostname": "Ім'я хоста: {{hostname}}",
"livekit_server_info": "Інформація про сервер LiveKit", "livekit_server_info": "Інформація про сервер LiveKit",
"livekit_sfu": "LiveKit SFU: {{url}}", "livekit_sfu": "LiveKit SFU: {{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "Сумісно з домашніми серверами, які не підтримують закріплені події (але всі інші клієнти EC мають версію 0.17.0 або новішу)",
"label": "Сумісність: події стану та кілька SFU"
},
"Legacy": {
"description": "Сумісно з давнішими версіями EC, які не підтримують кілька SFU",
"label": "Застаріле: події стану та найдавніше членство SFU"
},
"Matrix_2_0": {
"description": "Сумісно лише з домашніми серверами, що підтримують закріплені події, та всіма клієнтами EC версії 0.17.0 або новіших.",
"label": "Matrix 2.0: закріплені події та мульти-SFU"
},
"title": "Режим MatrixRTC"
},
"matrix_id": "Matrix ID: {{id}}", "matrix_id": "Matrix ID: {{id}}",
"mute_all_audio": "Вимкнути всі звуки (учасників, реакцій, звуків приєднання)",
"show_connection_stats": "Показувати статистику підключення", "show_connection_stats": "Показувати статистику підключення",
"show_non_member_tiles": "Показувати плитки для медіа, які не є учасниками", "url_params": "Параметри URL"
"url_params": "Параметри URL",
"use_new_membership_manager": "Використовуйте нову реалізацію виклику MembershipManager"
}, },
"disconnected_banner": "Втрачено зв'язок з сервером.", "disconnected_banner": "Втрачено зв'язок з сервером.",
"error": { "error": {
@@ -78,13 +102,19 @@
"connection_lost_description": "Вас було відключено від дзвінка.", "connection_lost_description": "Вас було відключено від дзвінка.",
"e2ee_unsupported": "Несумісний браузер", "e2ee_unsupported": "Несумісний браузер",
"e2ee_unsupported_description": "Ваш веб-браузер не підтримує зашифровані дзвінки. Підтримувані браузери включають Chrome, Safari та Firefox 117+.", "e2ee_unsupported_description": "Ваш веб-браузер не підтримує зашифровані дзвінки. Підтримувані браузери включають Chrome, Safari та Firefox 117+.",
"failed_to_start_livekit": "Не вдалося розпочати з’єднання Livekit",
"generic": "Щось пішло не так", "generic": "Щось пішло не так",
"generic_description": "Надсилання журналів налагодження допоможе нам відстежити проблему.", "generic_description": "Надсилання журналів налагодження допоможе нам відстежити проблему.",
"insufficient_capacity": "Недостатньо обсягу", "insufficient_capacity": "Недостатньо обсягу",
"insufficient_capacity_description": "Сервер досяг максимального обсягу, і ви на разі не можете приєднатися до виклику. Спробуйте пізніше або зверніться до адміністратора сервера, якщо проблема не зникне.", "insufficient_capacity_description": "Сервер досяг максимального обсягу, і ви на разі не можете приєднатися до виклику. Спробуйте пізніше або зверніться до адміністратора сервера, якщо проблема не зникне.",
"matrix_rtc_focus_missing": "Сервер не налаштований щоб працювати з {{brand}}. Будь ласка, зв'яжіться з адміністратором сервера (Домен: {{domain}}, Код помилки: {{ errorCode }}).", "matrix_rtc_transport_missing": "Сервер не налаштовано для роботи з{{brand}}. Зверніться до адміністратора вашого сервера (домен: {{domain}} , Код помилки: {{ errorCode }}).",
"membership_manager": "Помилка менеджера членства",
"membership_manager_description": "Менеджер членства був змушений припинити роботу. Це сталося через численні послідовні невдалі мережеві запити.",
"no_matrix_2_authorization_service": "Служба авторизації для вашого медіасервера (SFU) застаріла.",
"open_elsewhere": "Відкрито в іншій вкладці", "open_elsewhere": "Відкрито в іншій вкладці",
"open_elsewhere_description": "{{brand}} було відкрито в іншій вкладці. Якщо це звучить неправильно, спробуйте перезавантажити сторінку.", "open_elsewhere_description": "{{brand}} було відкрито в іншій вкладці. Якщо це звучить неправильно, спробуйте перезавантажити сторінку.",
"room_creation_restricted": "Не вдалося створити виклик",
"room_creation_restricted_description": "Створення викликів може бути обмежено лише для авторизованих користувачів. Спробуйте пізніше або зверніться до адміністратора сервера, якщо проблема не зникне.",
"unexpected_ec_error": "Сталася несподівана помилка (<0>Код помилки: </0> <1> {{ errorCode }}</1>). Будь ласка, зв'яжіться з адміністратором сервера." "unexpected_ec_error": "Сталася несподівана помилка (<0>Код помилки: </0> <1> {{ errorCode }}</1>). Будь ласка, зв'яжіться з адміністратором сервера."
}, },
"group_call_loader": { "group_call_loader": {
@@ -96,6 +126,11 @@
"knock_reject_heading": "Доступ заборонено", "knock_reject_heading": "Доступ заборонено",
"reason": "Причина: {{reason}}" "reason": "Причина: {{reason}}"
}, },
"handset": {
"overlay_back_button": "Повернутися до режиму динаміка",
"overlay_description": "Працює лише під час використання застосунку",
"overlay_title": "Режим гарнітури"
},
"hangup_button_label": "Завершити виклик", "hangup_button_label": "Завершити виклик",
"header_label": "Домівка Element Call", "header_label": "Домівка Element Call",
"header_participants_label": "Учасники", "header_participants_label": "Учасники",
@@ -158,12 +193,18 @@
"effect_volume_description": "Змінити гучність реакцій і ефекту підіймання руки.", "effect_volume_description": "Змінити гучність реакцій і ефекту підіймання руки.",
"effect_volume_label": "Гучність звукових ефектів" "effect_volume_label": "Гучність звукових ефектів"
}, },
"background_blur_header": "Фон",
"background_blur_label": "Розмиття фону відео",
"blur_not_supported_by_browser": "(Розмиття фону не підтримується цим пристроєм.)",
"developer_tab_title": "Розробнику", "developer_tab_title": "Розробнику",
"devices": { "devices": {
"camera": "Камера", "camera": "Камера",
"camera_numbered": "Камера {{n}}", "camera_numbered": "Камера {{n}}",
"change_device_button": "Змінити аудіопристрій",
"default": "За замовчуванням", "default": "За замовчуванням",
"default_named": "За замовчуванням <2> ({{name}}) </2>", "default_named": "За замовчуванням <2> ({{name}}) </2>",
"handset": "Гарнітура",
"loudspeaker": "Гучномовець",
"microphone": "Мікрофон", "microphone": "Мікрофон",
"microphone_numbered": "Мікрофон {{n}}", "microphone_numbered": "Мікрофон {{n}}",
"speaker": "Динамік", "speaker": "Динамік",
@@ -205,7 +246,6 @@
"video_tile": { "video_tile": {
"always_show": "Показувати завжди", "always_show": "Показувати завжди",
"camera_starting": "Завантаження відео...", "camera_starting": "Завантаження відео...",
"change_fit_contain": "Допасувати до рамки",
"collapse": "Згорнути", "collapse": "Згорнути",
"expand": "Розгорнути", "expand": "Розгорнути",
"mute_for_me": "Вимкнути звук для мене", "mute_for_me": "Вимкнути звук для мене",
+137 -9
View File
@@ -5,16 +5,23 @@
"action": { "action": {
"close": "关闭", "close": "关闭",
"copy_link": "复制链接", "copy_link": "复制链接",
"edit": "编辑",
"go": "开始", "go": "开始",
"invite": "邀请", "invite": "邀请",
"lower_hand": "放手",
"no": "否", "no": "否",
"pick_reaction": "选择反应",
"raise_hand": "举手",
"register": "注册", "register": "注册",
"remove": "移除", "remove": "移除",
"show_less": "显示更少",
"show_more": "显示更多",
"sign_in": "登录", "sign_in": "登录",
"sign_out": "登出", "sign_out": "登出",
"submit": "提交" "submit": "提交",
"upload_file": "上传文件"
}, },
"analytics_notice": "参与测试即表示您同意我们收集匿名数据,用于改进产品。您可以在我们的<2>隐私政策</2>和<5>Cookie政策</5>中找到有关我们跟踪哪些数据以及更多信息。", "analytics_notice": "参与本次测试即表示您同意我们收集匿名数据,这些数据将用于改进产品。有关我们收集的数据的更多信息,请参阅我们的<2>隐私政策</2> 以及我们的<6>Cookie 政策</6> 。",
"call_ended_view": { "call_ended_view": {
"create_account_button": "创建账户", "create_account_button": "创建账户",
"create_account_prompt": "<0>为何不设置密码来保留你的账户?</0><1>保留昵称并设置头像,以便在未来的通话中使用。</1>", "create_account_prompt": "<0>为何不设置密码来保留你的账户?</0><1>保留昵称并设置头像,以便在未来的通话中使用。</1>",
@@ -30,25 +37,99 @@
"analytics": "分析", "analytics": "分析",
"audio": "音频", "audio": "音频",
"avatar": "头像", "avatar": "头像",
"back": "返回",
"display_name": "显示名称", "display_name": "显示名称",
"encrypted": "已加密", "encrypted": "已加密",
"home": "主页", "home": "主页",
"loading": "加载中……", "loading": "加载中……",
"next": "下一步",
"options": "选项", "options": "选项",
"password": "密码", "password": "密码",
"preferences": "偏好",
"profile": "个人信息", "profile": "个人信息",
"reaction": "反应",
"reactions": "反应",
"reconnecting": "正在重新连接…",
"settings": "设置", "settings": "设置",
"unencrypted": "未加密", "unencrypted": "未加密",
"username": "用户名", "username": "用户名",
"video": "视频" "video": "视频"
}, },
"developer_mode": {
"always_show_iphone_earpiece": "在所有平台上显示 iPhone 听筒选项",
"crypto_version": "加密组件版本:{{version}}",
"custom_livekit_url": {
"current_url": "当前设置为: ",
"from_config": "当前未设置任何覆盖值。使用来自 well-known 或配置文件中的 URL。",
"label": "自定义 LiveKit URL",
"reset": "重置覆盖值",
"save": "保存",
"saving": "正在保存…"
},
"debug_tile_layout_label": "调试图块布局",
"device_id": "设备 ID:{{id}}",
"duplicate_tiles_label": "每个参与者的图块副本数量",
"environment_variables": "环境变量",
"hostname": "主机名:{{hostname}}",
"livekit_server_info": "LiveKit 服务器信息",
"livekit_sfu": "LiveKit SFU:{{url}}",
"matrixRTCMode": {
"Comptibility": {
"description": "兼容不支持黏着事件的主服务器(但要求所有其它 EC 客户端均为 v0.17.0 或更高版本)",
"label": "兼容性:状态事件 & 多重 SFU"
},
"Legacy": {
"description": "兼容不支持多重 SFU 的旧版本 EC",
"label": "旧版: 状态事件 & 传统人际 SFU"
},
"Matrix_2_0": {
"description": "仅兼容支持黏着事件的主服务器及所有 EC v0.17.0 或更高版本的参与者客户端",
"label": "Matrix 2.0:黏着事件 & 多重 SFU"
},
"title": "MatrixRTC 模式"
},
"matrix_id": "Matrix ID:{{id}}",
"mute_all_audio": "静默所有声音(参与者、反应与加入音效)",
"show_connection_stats": "显示连接统计信息",
"url_params": "URL 参数"
},
"disconnected_banner": "与服务器的连接中断。", "disconnected_banner": "与服务器的连接中断。",
"error": {
"call_is_not_supported": "不支持的通话",
"call_not_found": "未找到通话",
"call_not_found_description": "<0>该链接似乎不属于任何现有通话. 请检查链接是否正确,或<1>创建新链接</1>。</0>",
"connection_lost": "连接已丢失",
"connection_lost_description": "你已断开通话。",
"e2ee_unsupported": "不兼容的浏览器",
"e2ee_unsupported_description": "你的浏览器不支持加密通话。支持的浏览器包括 Chrome、Safari 与 Firefox 117+。",
"failed_to_start_livekit": "LiveKit 连接启动失败",
"generic": "出现问题",
"generic_description": "提交调试日志将有助于我们调查问题。",
"insufficient_capacity": "容量不足",
"insufficient_capacity_description": "服务器已达到其最大容量,你目前无法加入通话。请稍后再试,或问题仍然存在时请联系服务器管理员。",
"matrix_rtc_transport_missing": "服务器未配置为用于 {{brand}}。请联系服务器管理员(域名:{{domain}},错误代码:{{ errorCode }} )。",
"membership_manager": "人际管理器错误",
"membership_manager_description": "人际管理器已关闭。这是由于连续多次网络请求失败造成的。",
"no_matrix_2_authorization_service": "媒体服务器(SFU)的授权服务已过期。",
"open_elsewhere": "在另一标签页打开",
"open_elsewhere_description": "{{brand}} 已在另一标签页中打开。如果这并非预期,请重载页面。",
"room_creation_restricted": "通话创建失败",
"room_creation_restricted_description": "可能仅限被授权的用户创建通话。请于稍候重试,或问题仍然存在的情况下联系服务器管理员。",
"unexpected_ec_error": "出现未知错误(<0>错误代码:</0><1>{{ errorCode }}</1>)。请联系服务器管理员。"
},
"group_call_loader": { "group_call_loader": {
"banned_body": "你已被房间封禁", "banned_body": "你已被房间封禁",
"banned_heading": "已被封禁", "banned_heading": "已被封禁",
"call_ended_body": "你已被移出通话", "call_ended_body": "你已被移出通话",
"call_ended_heading": "通话结束", "call_ended_heading": "通话结束",
"knock_reject_body": "房间成员拒绝了你的加入请求" "knock_reject_body": "房间成员拒绝了你的加入请求",
"knock_reject_heading": "拒绝访问",
"reason": "原因:{{reason}}"
},
"handset": {
"overlay_back_button": "返回扬声器模式",
"overlay_description": "仅在使用 app 时有效",
"overlay_title": "听筒模式"
}, },
"hangup_button_label": "通话结束", "hangup_button_label": "通话结束",
"header_label": "Element Call主页", "header_label": "Element Call主页",
@@ -65,8 +146,11 @@
"layout_grid_label": "网格", "layout_grid_label": "网格",
"layout_spotlight_label": "聚焦模式", "layout_spotlight_label": "聚焦模式",
"lobby": { "lobby": {
"ask_to_join": "请求加入通话",
"join_as_guest": "以访客身份加入",
"join_button": "加入通话", "join_button": "加入通话",
"leave_button": "返回最近通话" "leave_button": "返回最近通话",
"waiting_for_invite": "请求已发送!正在等待加入许可……"
}, },
"log_in": "登录", "log_in": "登录",
"logging_in": "登录中……", "logging_in": "登录中……",
@@ -78,6 +162,7 @@
"microphone_on": "麦克风开启", "microphone_on": "麦克风开启",
"mute_microphone_button_label": "静音麦克风", "mute_microphone_button_label": "静音麦克风",
"participant_count_other": "{{count, number}}", "participant_count_other": "{{count, number}}",
"qr_code": "二维码",
"rageshake_button_error_caption": "重传日志", "rageshake_button_error_caption": "重传日志",
"rageshake_request_modal": { "rageshake_request_modal": {
"body": "这个通话中的另一个用户出现了问题。为了更好地诊断这些问题,我们想收集调试日志。", "body": "这个通话中的另一个用户出现了问题。为了更好地诊断这些问题,我们想收集调试日志。",
@@ -89,6 +174,7 @@
"rageshake_sent": "谢谢!", "rageshake_sent": "谢谢!",
"recaptcha_dismissed": "人机验证失败", "recaptcha_dismissed": "人机验证失败",
"recaptcha_not_loaded": "recaptcha未加载", "recaptcha_not_loaded": "recaptcha未加载",
"recaptcha_ssla_caption": "此站点受 ReCAPTCHA 保护,并且适用于 Google <2>隐私政策</2>与<6>服务条款</6> 。<9></9>点击“注册”即表示你同意<12>软件与服务许可条款(SSLA)</12>",
"register": { "register": {
"passwords_must_match": "密码必须匹配", "passwords_must_match": "密码必须匹配",
"registering": "正在注册……" "registering": "正在注册……"
@@ -97,31 +183,73 @@
"register_confirm_password_label": "确认密码", "register_confirm_password_label": "确认密码",
"register_heading": "创建您的账户", "register_heading": "创建您的账户",
"return_home_button": "返回主页", "return_home_button": "返回主页",
"room_auth_view_continue_button": "继续",
"room_auth_view_ssla_caption": "点击“立即加入通话”即表示你同意我们的<2>软件与服务许可条款(SSLA)</2>",
"screenshare_button_label": "屏幕共享", "screenshare_button_label": "屏幕共享",
"settings": { "settings": {
"audio_tab": {
"effect_volume_description": "调整反应与举手时播放的音效的音量。",
"effect_volume_label": "音效音量"
},
"background_blur_header": "背景",
"background_blur_label": "模糊视频背景",
"blur_not_supported_by_browser": "(此设备不支持背景模糊)",
"developer_tab_title": "开发者", "developer_tab_title": "开发者",
"devices": {
"camera": "摄像头",
"camera_numbered": "摄像头 {{n}}",
"change_device_button": "更改音频设备",
"default": "默认",
"default_named": "默认 <2>({{name}})</2>",
"handset": "听筒",
"loudspeaker": "扬声器",
"microphone": "麦克风",
"microphone_numbered": "麦克风 {{n}}",
"speaker": "扬声器",
"speaker_numbered": "扬声器 {{n}}"
},
"feedback_tab_body": "如果遇到问题或想提供一些反馈意见,请在下面向我们发送简短描述。", "feedback_tab_body": "如果遇到问题或想提供一些反馈意见,请在下面向我们发送简短描述。",
"feedback_tab_description_label": "您的反馈", "feedback_tab_description_label": "您的反馈",
"feedback_tab_h4": "提交反馈", "feedback_tab_h4": "提交反馈",
"feedback_tab_send_logs_label": "包含调试日志", "feedback_tab_send_logs_label": "包含调试日志",
"feedback_tab_thank_you": "谢谢,我们收到了反馈!", "feedback_tab_thank_you": "谢谢,我们收到了反馈!",
"feedback_tab_title": "反馈", "feedback_tab_title": "反馈",
"opt_in_description": "<0></0><1></1>您可以取消选中复选框来撤回同意。如果正在通话中,此设置将在通话结束时生效。" "opt_in_description": "<0></0><1></1>您可以取消选中复选框来撤回同意。如果正在通话中,此设置将在通话结束时生效。",
"preferences_tab": {
"developer_mode_label": "开发者模式",
"developer_mode_label_description": "启用开发者模式并显示开发者设置标签",
"introduction": "你可以配置此处的额外选项以改善体验。",
"reactions_play_sound_description": "当任何人在通话中发送反应时播放音效",
"reactions_play_sound_label": "播放反应音效",
"reactions_show_description": "当任何人发送反应时显示动画效果。",
"reactions_show_label": "显示反应",
"show_hand_raised_timer_description": "当有参与者举手时显示计时器",
"show_hand_raised_timer_label": "显示举手持续时间"
}
}, },
"star_rating_input_label_one": "{{count}} 个星",
"star_rating_input_label_other": "{{count}} 个星", "star_rating_input_label_other": "{{count}} 个星",
"start_new_call": "开始新通话", "start_new_call": "开始新通话",
"start_video_button_label": "开始视频", "start_video_button_label": "开始视频",
"stop_screenshare_button_label": "屏幕共享", "stop_screenshare_button_label": "屏幕共享",
"stop_video_button_label": "停止视频", "stop_video_button_label": "停止视频",
"submitting": "提交中…", "submitting": "提交中…",
"switch_camera": "切换摄像头",
"unauthenticated_view_body": "还没有注册? <2>创建账户<2>", "unauthenticated_view_body": "还没有注册? <2>创建账户<2>",
"unauthenticated_view_login_button": "登录你的账户", "unauthenticated_view_login_button": "登录你的账户",
"unauthenticated_view_ssla_caption": "点击“开始”即表示你同意我们的 <2>软件与服务许可条款(SSLA)</2>",
"unmute_microphone_button_label": "取消麦克风静音", "unmute_microphone_button_label": "取消麦克风静音",
"version": "版本:{{version}}", "version": "{{productName}} 版本:{{version}}",
"video_tile": { "video_tile": {
"change_fit_contain": "贴合框架", "always_show": "始终显示",
"call_ended": "通话结束",
"calling": "呼叫中……",
"camera_starting": "视频加载中……",
"collapse": "折叠",
"expand": "展开",
"mute_for_me": "为我静音", "mute_for_me": "为我静音",
"volume": "音量" "muted_for_me": "为我静音",
"screen_share_volume": "屏幕共享音量",
"volume": "音量",
"waiting_for_media": "正在等待媒体…"
} }
} }
+6 -25
View File
@@ -24,8 +24,8 @@
"lint:eslint-fix": "eslint --max-warnings 0 src playwright --fix", "lint:eslint-fix": "eslint --max-warnings 0 src playwright --fix",
"lint:knip": "knip", "lint:knip": "knip",
"lint:types": "tsc", "lint:types": "tsc",
"i18n": "i18next", "i18n": "npx i18next-cli extract",
"i18n:check": "i18next --fail-on-warnings --fail-on-update", "i18n:check": "npx i18next-cli extract --ci",
"test": "vitest", "test": "vitest",
"test:storybook": "vitest --project=storybook", "test:storybook": "vitest --project=storybook",
"test:unit": "vitest --project=unit", "test:unit": "vitest --project=unit",
@@ -40,10 +40,6 @@
"build-storybook": "storybook build" "build-storybook": "storybook build"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.16.5",
"@babel/preset-env": "^7.29.5",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.0",
"@codecov/vite-plugin": "^1.3.0", "@codecov/vite-plugin": "^1.3.0",
"@fontsource/inconsolata": "^5.1.0", "@fontsource/inconsolata": "^5.1.0",
"@fontsource/inter": "^5.1.0", "@fontsource/inter": "^5.1.0",
@@ -69,7 +65,6 @@
"@testing-library/jest-dom": "^6.6.3", "@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.0.0", "@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.1", "@testing-library/user-event": "^14.5.1",
"@types/content-type": "^1.1.5",
"@types/grecaptcha": "^3.0.9", "@types/grecaptcha": "^3.0.9",
"@types/jsdom": "^21.1.7", "@types/jsdom": "^21.1.7",
"@types/lodash-es": "^4.17.12", "@types/lodash-es": "^4.17.12",
@@ -79,17 +74,15 @@
"@types/react": "^19.0.0", "@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0", "@types/react-dom": "^19.0.0",
"@types/sdp-transform": "^2.4.5", "@types/sdp-transform": "^2.4.5",
"@types/uuid": "10",
"@typescript-eslint/eslint-plugin": "^8.31.0", "@typescript-eslint/eslint-plugin": "^8.31.0",
"@typescript-eslint/parser": "^8.31.0", "@typescript-eslint/parser": "^8.31.0",
"@use-gesture/react": "^10.2.11", "@use-gesture/react": "^10.2.11",
"@vector-im/compound-design-tokens": "^10.0.0", "@vector-im/compound-design-tokens": "^10.0.0",
"@vector-im/compound-web": "^9.3.0", "@vector-im/compound-web": "^9.3.0",
"@vitejs/plugin-react": "^4.0.1", "@vitejs/plugin-react": "^6.0.2",
"@vitest/browser-playwright": "^4.1.5", "@vitest/browser-playwright": "^4.1.5",
"@vitest/coverage-v8": "^4.0.18", "@vitest/coverage-v8": "^4.0.18",
"@vitest/ui": "4.1.7", "@vitest/ui": "4.1.7",
"babel-plugin-transform-vite-meta-env": "^1.0.3",
"classnames": "^2.3.1", "classnames": "^2.3.1",
"copy-to-clipboard": "^3.3.3", "copy-to-clipboard": "^3.3.3",
"eslint": "^8.14.0", "eslint": "^8.14.0",
@@ -109,13 +102,13 @@
"global-jsdom": "^26.0.0", "global-jsdom": "^26.0.0",
"i18next": "^25.0.0", "i18next": "^25.0.0",
"i18next-browser-languagedetector": "^8.0.0", "i18next-browser-languagedetector": "^8.0.0",
"i18next-parser": "^9.1.0", "i18next-cli": "^1.61.0",
"jsdom": "^26.0.0", "jsdom": "^26.0.0",
"knip": "^5.86.0", "knip": "^5.86.0",
"livekit-client": "^2.18.1", "livekit-client": "^2.18.1",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"loglevel": "^1.9.1", "loglevel": "^1.9.1",
"matrix-js-sdk": "matrix-org/matrix-js-sdk#develop", "matrix-js-sdk": "github:matrix-org/matrix-js-sdk#develop",
"matrix-widget-api": "^1.16.1", "matrix-widget-api": "^1.16.1",
"node-stdlib-browser": "^1.3.1", "node-stdlib-browser": "^1.3.1",
"normalize.css": "^8.0.1", "normalize.css": "^8.0.1",
@@ -149,17 +142,5 @@
"vitest": "^4.1.5", "vitest": "^4.1.5",
"vitest-axe": "^1.0.0-pre.3" "vitest-axe": "^1.0.0-pre.3"
}, },
"pnpm": { "packageManager": "pnpm@11.6.0+sha512.9a36518224080c6fe5165afdcfe79bfa118c29be703f3f462b1e32efe1e98e47e8750b148e08286250aad4113cc7993ca413c4e2cd447752708c2ee5751bc95f"
"overrides": {
"@livekit/components-core>rxjs": "^7.8.1",
"@livekit/track-processors>@mediapipe/tasks-vision": "^0.10.18",
"minimatch": "^10.2.3",
"tar": "^7.5.11",
"glob": "^10.5.0",
"qs": "^6.14.1",
"js-yaml": "^4.1.1",
"esbuild": "^0.28.0"
}
},
"packageManager": "pnpm@10.33.0"
} }
+1497 -2273
View File
File diff suppressed because it is too large Load Diff
+35 -3
View File
@@ -1,3 +1,35 @@
# dependencies where we use branches and hashes in the package.json. But that also use a pre/post install script. allowBuilds:
onlyBuiltDependencies: "@parcel/watcher": true
- "matrix-js-sdk" "@sentry/cli": true
"@swc/core": true
"core-js": true
"esbuild": true
"matrix-js-sdk@https://codeload.github.com/matrix-org/matrix-js-sdk/tar.gz/8c95727b6278fe7942c20d0b9485f984dd0694b7": true
"protobufjs": true
overrides:
# We need compatible versions of RxJS in our dependencies and LiveKit's dependencies, but
# LiveKit has pinned it to a very specific version which is now holding us back from updating.
# See livekit/components-js#1101 for a request for a proper solution.
"@livekit/components-core>rxjs": "^7.8.1"
# Dedupe Mediapipe dependencies.
"@livekit/track-processors>@mediapipe/tasks-vision": "^0.10.18"
# Security fix: https://security-tracker.debian.org/tracker/CVE-2026-31802
"tar": "^7.5.11"
# Security fixes:
# - https://github.com/advisories/GHSA-7r86-cg39-jmmj
# - https://github.com/advisories/GHSA-23c5-xmqv-rm74
"minimatch": "^10.2.3"
# Security fix: https://github.com/element-hq/element-call/security/dependabot/109
"glob": "^10.5.0"
# Security fixes:
# - https://github.com/element-hq/element-call/security/dependabot/110
# - https://github.com/element-hq/element-call/security/dependabot/122
"qs": "^6.14.1"
# Security fix: https://github.com/element-hq/element-call/security/dependabot/106
"js-yaml": "^4.1.1"
# Storybook declares support for 0.27.0 only but empirically works fine with 0.28.0.
"esbuild": "^0.28.0"
# Multiple security fixes: https://github.com/nodejs/undici/releases/tag/v6.24.0
"undici": "^6.24.0"
# Security fix: https://github.com/advisories/GHSA-rf6f-7fwh-wjgh
"flatted": "^3.4.2"
+18
View File
@@ -20,3 +20,21 @@
color: var(--cpd-color-text-secondary); color: var(--cpd-color-text-secondary);
text-align: center; text-align: center;
} }
.technicalDetails {
margin-top: var(--cpd-space-1x);
}
.technicalDetailsSummary {
cursor: pointer;
font-weight: bold;
}
.technicalDetailsPre {
margin-top: var(--cpd-space-2x);
padding: var(--cpd-space-2x);
background-color: var(--cpd-color-bg-subtle-secondary);
overflow: auto;
font-size: var(--cpd-font-size-body-sm);
white-space: pre-wrap;
}
+14
View File
@@ -8,3 +8,17 @@ Please see LICENSE in the repository root for full details.
.endCall > svg { .endCall > svg {
color: var(--stopgap-color-on-solid-accent); color: var(--stopgap-color-on-solid-accent);
} }
.rotate > svg {
animation: spin 1s linear infinite;
}
@keyframes spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
+113
View File
@@ -0,0 +1,113 @@
/*
Copyright 2026 Element Creations Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details.
*/
import { describe, expect, test, vi } from "vitest";
import { render, screen } from "@testing-library/react";
import userEvent from "@testing-library/user-event";
import { TooltipProvider } from "@vector-im/compound-web";
import { MicButton, VideoButton } from "./Button";
describe("MicButton", () => {
test("calls onClick when not busy", async () => {
const user = userEvent.setup();
const onClick = vi.fn();
render(
<TooltipProvider>
<MicButton enabled={true} onClick={onClick} />
</TooltipProvider>,
);
const button = screen.getByRole("switch");
await user.click(button);
expect(onClick).toHaveBeenCalled();
});
test("does not call onClick when busy", async () => {
const user = userEvent.setup();
const onClick = vi.fn();
render(
<TooltipProvider>
<MicButton enabled={true} busy={true} onClick={onClick} />
</TooltipProvider>,
);
const button = screen.getByRole("switch");
expect(button).toHaveAttribute("aria-disabled", "true");
expect(button).toHaveAttribute("aria-busy", "true");
await user.click(button);
expect(onClick).not.toHaveBeenCalled();
});
test("does not call onClick when disabled", async () => {
const user = userEvent.setup();
const onClick = vi.fn();
render(
<TooltipProvider>
<MicButton enabled={true} disabled={true} onClick={onClick} />
</TooltipProvider>,
);
const button = screen.getByRole("switch");
expect(button).toHaveAttribute("aria-disabled", "true");
await user.click(button);
expect(onClick).not.toHaveBeenCalled();
});
});
describe("VideoButton", () => {
test("calls onClick when not busy", async () => {
const user = userEvent.setup();
const onClick = vi.fn();
render(
<TooltipProvider>
<VideoButton enabled={true} onClick={onClick} />
</TooltipProvider>,
);
const button = screen.getByRole("switch");
await user.click(button);
expect(onClick).toHaveBeenCalled();
});
test("does not call onClick when busy", async () => {
const user = userEvent.setup();
const onClick = vi.fn();
render(
<TooltipProvider>
<VideoButton enabled={true} busy={true} onClick={onClick} />
</TooltipProvider>,
);
const button = screen.getByRole("switch");
expect(button).toHaveAttribute("aria-disabled", "true");
expect(button).toHaveAttribute("aria-busy", "true");
await user.click(button);
expect(onClick).not.toHaveBeenCalled();
});
test("does not call onClick when disabled", async () => {
const user = userEvent.setup();
const onClick = vi.fn();
render(
<TooltipProvider>
<VideoButton enabled={true} disabled={true} onClick={onClick} />
</TooltipProvider>,
);
const button = screen.getByRole("switch");
expect(button).toHaveAttribute("aria-disabled", "true");
await user.click(button);
expect(onClick).not.toHaveBeenCalled();
});
});
+25 -4
View File
@@ -16,6 +16,7 @@ import {
import { import {
MicOnSolidIcon, MicOnSolidIcon,
MicOffSolidIcon, MicOffSolidIcon,
SpinnerIcon,
VideoCallSolidIcon, VideoCallSolidIcon,
VideoCallOffSolidIcon, VideoCallOffSolidIcon,
EndCallIcon, EndCallIcon,
@@ -32,12 +33,13 @@ import { platform } from "../Platform";
interface MicButtonProps extends ComponentPropsWithoutRef<"button"> { interface MicButtonProps extends ComponentPropsWithoutRef<"button"> {
enabled: boolean; enabled: boolean;
busy?: boolean;
size?: "md" | "lg"; size?: "md" | "lg";
} }
export const MicButton: FC<MicButtonProps> = ({ enabled, ...props }) => { export const MicButton: FC<MicButtonProps> = ({ enabled, busy, ...props }) => {
const { t } = useTranslation(); const { t } = useTranslation();
const Icon = enabled ? MicOnSolidIcon : MicOffSolidIcon; const Icon = busy ? SpinnerIcon : enabled ? MicOnSolidIcon : MicOffSolidIcon;
const label = enabled const label = enabled
? t("mute_microphone_button_label") ? t("mute_microphone_button_label")
: t("unmute_microphone_button_label"); : t("unmute_microphone_button_label");
@@ -51,6 +53,11 @@ export const MicButton: FC<MicButtonProps> = ({ enabled, ...props }) => {
role="switch" role="switch"
aria-checked={enabled} aria-checked={enabled}
{...props} {...props}
aria-busy={busy}
className={classNames(props.className, {
[styles.rotate]: !!busy,
})}
disabled={props.disabled || busy}
/> />
</Tooltip> </Tooltip>
); );
@@ -58,12 +65,21 @@ export const MicButton: FC<MicButtonProps> = ({ enabled, ...props }) => {
interface VideoButtonProps extends ComponentPropsWithoutRef<"button"> { interface VideoButtonProps extends ComponentPropsWithoutRef<"button"> {
enabled: boolean; enabled: boolean;
busy?: boolean;
size?: "md" | "lg"; size?: "md" | "lg";
} }
export const VideoButton: FC<VideoButtonProps> = ({ enabled, ...props }) => { export const VideoButton: FC<VideoButtonProps> = ({
enabled,
busy,
...props
}) => {
const { t } = useTranslation(); const { t } = useTranslation();
const Icon = enabled ? VideoCallSolidIcon : VideoCallOffSolidIcon; const Icon = busy
? SpinnerIcon
: enabled
? VideoCallSolidIcon
: VideoCallOffSolidIcon;
const label = enabled const label = enabled
? t("stop_video_button_label") ? t("stop_video_button_label")
: t("start_video_button_label"); : t("start_video_button_label");
@@ -77,6 +93,11 @@ export const VideoButton: FC<VideoButtonProps> = ({ enabled, ...props }) => {
role="switch" role="switch"
aria-checked={enabled} aria-checked={enabled}
{...props} {...props}
aria-busy={busy}
className={classNames(props.className, {
[styles.rotate]: !!busy,
})}
disabled={props.disabled || busy}
/> />
</Tooltip> </Tooltip>
); );
+22
View File
@@ -80,7 +80,9 @@ export const Default: Story = {
showLogo: false, showLogo: false,
layoutMode: "grid", layoutMode: "grid",
audioEnabled: true, audioEnabled: true,
audioBusy: false,
videoEnabled: true, videoEnabled: true,
videoBusy: false,
setLayoutMode: fn(), setLayoutMode: fn(),
openSettings: fn(), openSettings: fn(),
toggleAudio: fn(), toggleAudio: fn(),
@@ -152,6 +154,26 @@ export const WithAudioAndVideoOptions: Story = {
selectedVideo: "1", selectedVideo: "1",
}, },
}; };
export const AudioBusy: Story = {
...Default,
args: {
...Default.args,
audioEnabled: true,
audioBusy: true,
videoEnabled: true,
},
};
export const VideoBusy: Story = {
...Default,
args: {
...Default.args,
audioEnabled: true,
videoEnabled: true,
videoBusy: true,
},
};
export const WithLogo: Story = { export const WithLogo: Story = {
...Default, ...Default,
args: { args: {
+10 -2
View File
@@ -72,7 +72,9 @@ export interface FooterActions {
// we do not use any ? optional properties so that the vm type is including all fields. // we do not use any ? optional properties so that the vm type is including all fields.
export interface FooterState { export interface FooterState {
audioEnabled: boolean; audioEnabled: boolean;
audioBusy: boolean;
videoEnabled: boolean; videoEnabled: boolean;
videoBusy: boolean;
videoBlurEnabled: boolean; videoBlurEnabled: boolean;
showFooter: boolean; showFooter: boolean;
@@ -122,7 +124,9 @@ export const CallFooter: FC<FooterProps> = ({ ref, children, vm }) => {
const setLayoutMode = useBehavior(vm.setLayoutMode$); const setLayoutMode = useBehavior(vm.setLayoutMode$);
const openSettings = useBehavior(vm.openSettings$); const openSettings = useBehavior(vm.openSettings$);
const audioEnabled = useBehavior(vm.audioEnabled$); const audioEnabled = useBehavior(vm.audioEnabled$);
const audioBusy = useBehavior(vm.audioBusy$);
const videoEnabled = useBehavior(vm.videoEnabled$); const videoEnabled = useBehavior(vm.videoEnabled$);
const videoBusy = useBehavior(vm.videoBusy$);
const toggleAudio = useBehavior(vm.toggleAudio$); const toggleAudio = useBehavior(vm.toggleAudio$);
const toggleVideo = useBehavior(vm.toggleVideo$); const toggleVideo = useBehavior(vm.toggleVideo$);
const sharingScreen = useBehavior(vm.sharingScreen$); const sharingScreen = useBehavior(vm.sharingScreen$);
@@ -167,6 +171,7 @@ export const CallFooter: FC<FooterProps> = ({ ref, children, vm }) => {
key="audio" key="audio"
iconsAndLabels="audio" iconsAndLabels="audio"
enabled={audioEnabled ?? false} enabled={audioEnabled ?? false}
busy={audioBusy ?? false}
onMuteClick={toggleAudio} onMuteClick={toggleAudio}
data-testid="incall_mute" data-testid="incall_mute"
options={audioOptions} options={audioOptions}
@@ -180,8 +185,9 @@ export const CallFooter: FC<FooterProps> = ({ ref, children, vm }) => {
size={buttonSize} size={buttonSize}
key="audio" key="audio"
enabled={audioEnabled ?? false} enabled={audioEnabled ?? false}
busy={audioBusy ?? false}
onClick={toggleAudio} onClick={toggleAudio}
disabled={toggleAudio === undefined} disabled={(audioBusy ?? false) || toggleAudio === undefined}
data-testid="incall_mute" data-testid="incall_mute"
/>, />,
); );
@@ -194,6 +200,7 @@ export const CallFooter: FC<FooterProps> = ({ ref, children, vm }) => {
key="video" key="video"
iconsAndLabels="video" iconsAndLabels="video"
enabled={videoEnabled ?? false} enabled={videoEnabled ?? false}
busy={videoBusy ?? false}
onMuteClick={toggleVideo} onMuteClick={toggleVideo}
options={videoOptions} options={videoOptions}
selectedOption={selectedVideo} selectedOption={selectedVideo}
@@ -208,8 +215,9 @@ export const CallFooter: FC<FooterProps> = ({ ref, children, vm }) => {
size={buttonSize} size={buttonSize}
key="video" key="video"
enabled={videoEnabled ?? false} enabled={videoEnabled ?? false}
busy={videoBusy ?? false}
onClick={toggleVideo} onClick={toggleVideo}
disabled={toggleVideo === undefined} disabled={(videoBusy ?? false) || toggleVideo === undefined}
data-testid="incall_videomute" data-testid="incall_videomute"
/>, />,
); );
+10 -1
View File
@@ -32,14 +32,21 @@ function buildMuteBehaviors(
muteStates: MuteStates, muteStates: MuteStates,
): Pick< ): Pick<
ViewModel<FooterSnapshot>, ViewModel<FooterSnapshot>,
"audioEnabled$" | "toggleAudio$" | "videoEnabled$" | "toggleVideo$" | "audioEnabled$"
| "audioBusy$"
| "toggleAudio$"
| "videoEnabled$"
| "videoBusy$"
| "toggleVideo$"
> { > {
return { return {
audioEnabled$: muteStates.audio.enabled$, audioEnabled$: muteStates.audio.enabled$,
audioBusy$: muteStates.audio.syncing$,
toggleAudio$: scope.behavior( toggleAudio$: scope.behavior(
muteStates.audio.toggle$.pipe(map((t) => t ?? undefined)), muteStates.audio.toggle$.pipe(map((t) => t ?? undefined)),
), ),
videoEnabled$: muteStates.video.enabled$, videoEnabled$: muteStates.video.enabled$,
videoBusy$: muteStates.video.syncing$,
toggleVideo$: scope.behavior( toggleVideo$: scope.behavior(
muteStates.video.toggle$.pipe(map((t) => t ?? undefined)), muteStates.video.toggle$.pipe(map((t) => t ?? undefined)),
), ),
@@ -252,7 +259,9 @@ export function createLobbyFooterViewModel(
setLayoutMode: undefined, setLayoutMode: undefined,
toggleScreenSharing: undefined, toggleScreenSharing: undefined,
audioEnabled: undefined, audioEnabled: undefined,
audioBusy: false,
videoEnabled: undefined, videoEnabled: undefined,
videoBusy: false,
layoutMode: undefined, layoutMode: undefined,
sharingScreen: false, sharingScreen: false,
audioOutputSwitcher: undefined, audioOutputSwitcher: undefined,
@@ -93,6 +93,48 @@ describe("MediaMuteAndSwitchButton", () => {
expect(onMute).toHaveBeenCalled(); expect(onMute).toHaveBeenCalled();
}); });
test("disables mute button while busy", async () => {
const user = userEvent.setup();
const onMute = vi.fn();
const { getByRole } = renderComponent(
<MediaMuteAndSwitchButton
title={"Switcher"}
onMuteClick={onMute}
iconsAndLabels="audio"
enabled={true}
busy={true}
/>,
);
const muteButton = getByRole("switch", { name: "Mute microphone" });
expect(muteButton).toHaveAttribute("aria-disabled", "true");
expect(muteButton).toHaveAttribute("aria-busy", "true");
await user.click(muteButton);
expect(onMute).not.toHaveBeenCalled();
});
test("disables video button while busy", async () => {
const user = userEvent.setup();
const onMute = vi.fn();
const { getByRole } = renderComponent(
<MediaMuteAndSwitchButton
title={"Switcher"}
onMuteClick={onMute}
iconsAndLabels="video"
enabled={true}
busy={true}
/>,
);
const videoButton = getByRole("switch", { name: "Stop video" });
expect(videoButton).toHaveAttribute("aria-disabled", "true");
expect(videoButton).toHaveAttribute("aria-busy", "true");
await user.click(videoButton);
expect(onMute).not.toHaveBeenCalled();
});
test("requests device names when opened", async () => { test("requests device names when opened", async () => {
const user = userEvent.setup(); const user = userEvent.setup();
const requestDeviceNames = vi.fn(); const requestDeviceNames = vi.fn();
+8 -2
View File
@@ -40,6 +40,8 @@ export interface MediaMuteAndSwitchButtonProps {
enabled?: boolean; enabled?: boolean;
/** Callback if the mute button is clicked */ /** Callback if the mute button is clicked */
onMuteClick?: () => void; onMuteClick?: () => void;
/** True while mute/unmute operation is syncing. */
busy?: boolean;
iconsAndLabels: "video" | "audio"; iconsAndLabels: "video" | "audio";
/** The options available for the media device selector modal */ /** The options available for the media device selector modal */
options?: MenuOptions[]; options?: MenuOptions[];
@@ -59,6 +61,7 @@ const BLUR_ID = "blur";
export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
title, title,
enabled, enabled,
busy,
onMuteClick, onMuteClick,
iconsAndLabels, iconsAndLabels,
options, options,
@@ -69,6 +72,7 @@ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
}) => { }) => {
const [plannedSelection, setPlannedSelection] = useState<string | null>(null); const [plannedSelection, setPlannedSelection] = useState<string | null>(null);
const [menuOpen, setMenuOpen] = useState(false); const [menuOpen, setMenuOpen] = useState(false);
const isBusy = busy ?? false;
const { t } = useTranslation(); const { t } = useTranslation();
const devices = useMediaDevices(); const devices = useMediaDevices();
@@ -83,12 +87,13 @@ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
button = ( button = (
<VideoButton <VideoButton
enabled={enabled ?? false} enabled={enabled ?? false}
busy={isBusy}
onClick={(e) => { onClick={(e) => {
onMuteClick?.(); onMuteClick?.();
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
}} }}
disabled={onMuteClick === undefined} disabled={isBusy || onMuteClick === undefined}
data-testid="incall_videomute" data-testid="incall_videomute"
/> />
); );
@@ -106,12 +111,13 @@ export const MediaMuteAndSwitchButton: FC<MediaMuteAndSwitchButtonProps> = ({
button = ( button = (
<MicButton <MicButton
enabled={enabled ?? false} enabled={enabled ?? false}
busy={isBusy}
onClick={(e) => { onClick={(e) => {
onMuteClick?.(); onMuteClick?.();
e.preventDefault(); e.preventDefault();
e.stopPropagation(); e.stopPropagation();
}} }}
disabled={onMuteClick === undefined} disabled={isBusy || onMuteClick === undefined}
data-testid="incall_mute" data-testid="incall_mute"
/> />
); );
@@ -6,6 +6,7 @@ exports[`MediaMuteAndSwitchButton > renders 1`] = `
class="container" class="container"
> >
<button <button
aria-busy="false"
aria-checked="false" aria-checked="false"
aria-disabled="true" aria-disabled="true"
aria-labelledby="_r_0_" aria-labelledby="_r_0_"
+54
View File
@@ -0,0 +1,54 @@
/*
Copyright 2026 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details.
*/
import { describe, expect, it, vi, afterEach } from "vitest";
import { logger } from "matrix-js-sdk/lib/logger";
import { validateConfig } from "./Config";
import { MatrixRTCMode } from "./ConfigOptions";
describe("validateConfig", () => {
afterEach(() => {
vi.restoreAllMocks();
});
it("passes through a missing matrix_rtc_mode unchanged", () => {
const result = validateConfig({});
expect(result.matrix_rtc_mode).toBeUndefined();
});
it.each(Object.values(MatrixRTCMode))(
"keeps a valid matrix_rtc_mode value (%s)",
(mode) => {
const warnSpy = vi.spyOn(logger, "warn").mockImplementation(() => {});
const result = validateConfig({ matrix_rtc_mode: mode });
expect(result.matrix_rtc_mode).toBe(mode);
expect(warnSpy).not.toHaveBeenCalled();
},
);
it("drops an invalid matrix_rtc_mode value and warns", () => {
const warnSpy = vi.spyOn(logger, "warn").mockImplementation(() => {});
const result = validateConfig({
// Intentionally bypass the type to simulate bad JSON.
matrix_rtc_mode: "nonsense" as unknown as MatrixRTCMode,
});
expect(result.matrix_rtc_mode).toBeUndefined();
expect(warnSpy).toHaveBeenCalledTimes(1);
expect(warnSpy.mock.calls[0][0]).toContain("nonsense");
});
it("does not touch unrelated fields when dropping an invalid mode", () => {
vi.spyOn(logger, "warn").mockImplementation(() => {});
const result = validateConfig({
matrix_rtc_mode: "nope" as unknown as MatrixRTCMode,
ssla: "https://example.invalid/ssla",
});
expect(result.matrix_rtc_mode).toBeUndefined();
expect(result.ssla).toBe("https://example.invalid/ssla");
});
});
+22 -1
View File
@@ -6,6 +6,7 @@ Please see LICENSE in the repository root for full details.
*/ */
import { merge } from "lodash-es"; import { merge } from "lodash-es";
import { logger } from "matrix-js-sdk/lib/logger";
import { getUrlParams } from "../UrlParams"; import { getUrlParams } from "../UrlParams";
import { import {
@@ -14,6 +15,11 @@ import {
type ResolvedConfigOptions, type ResolvedConfigOptions,
} from "./ConfigOptions"; } from "./ConfigOptions";
import { isFailure } from "../utils/fetch"; import { isFailure } from "../utils/fetch";
import { MatrixRTCMode } from "./ConfigOptions";
const VALID_MATRIX_RTC_MODES: ReadonlySet<string> = new Set(
Object.values(MatrixRTCMode),
);
export class Config { export class Config {
private static internalInstance: Config | undefined; private static internalInstance: Config | undefined;
@@ -44,7 +50,11 @@ export class Config {
Config.internalInstance.initPromise = downloadConfig(fetchTarget).then( Config.internalInstance.initPromise = downloadConfig(fetchTarget).then(
(config) => { (config) => {
internalInstance.config = merge({}, DEFAULT_CONFIG, config); internalInstance.config = merge(
{},
DEFAULT_CONFIG,
validateConfig(config),
);
}, },
); );
} }
@@ -84,6 +94,17 @@ export class Config {
private initPromise?: Promise<void>; private initPromise?: Promise<void>;
} }
export function validateConfig(config: ConfigOptions): ConfigOptions {
const mode = config.matrix_rtc_mode;
if (mode !== undefined && !VALID_MATRIX_RTC_MODES.has(mode)) {
logger.warn(
`Ignoring invalid matrix_rtc_mode in config.json: ${String(mode)}`,
);
delete config.matrix_rtc_mode;
}
return config;
}
async function downloadConfig(fetchTarget: string): Promise<ConfigOptions> { async function downloadConfig(fetchTarget: string): Promise<ConfigOptions> {
const response = await fetch(fetchTarget); const response = await fetch(fetchTarget);
+27
View File
@@ -6,6 +6,26 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details. Please see LICENSE in the repository root for full details.
*/ */
/**
* The MatrixRTC mode determines how Element Call interacts with the
* MatrixRTC backend and other participants. Selectable via the Developer
* Settings, or pinned for a deployment via `matrix_rtc_mode` in config.json.
*/
export enum MatrixRTCMode {
/** Legacy single-SFU + user-keyed memberships + legacy JWT endpoint. */
Legacy = "legacy",
/** Multi-SFU transport, legacy JWT endpoint, no sticky events. */
Compatibility = "compatibility",
/**
* Multi-SFU transport with:
* - sticky events
* - hashed RTC backend identity
* - the new endpoint for the jwt token on the local membership (remote memberships will always try the new jwt endpoint first -> then the legacy one)
* - use the hashed identity for the local membership
*/
Matrix_2_0 = "matrix_2_0",
}
export interface ConfigOptions { export interface ConfigOptions {
/** /**
* The Posthog endpoint to which analytics data will be sent. * The Posthog endpoint to which analytics data will be sent.
@@ -104,6 +124,13 @@ export interface ConfigOptions {
*/ */
sync_disconnect_grace_period_ms?: number; sync_disconnect_grace_period_ms?: number;
/**
* Pins the {@link MatrixRTCMode} for all clients on this deployment,
* overriding any per-user choice from the Developer Settings. If unset,
* the user's Developer Settings choice (or its default of `Legacy`) wins.
*/
matrix_rtc_mode?: MatrixRTCMode;
/** /**
* These are low level options that are used to configure the MatrixRTC session. * These are low level options that are used to configure the MatrixRTC session.
* Take care when changing these options. * Take care when changing these options.
+1
View File
@@ -12,6 +12,7 @@ export interface Controls {
canEnterPip(): boolean; canEnterPip(): boolean;
enablePip(): void; enablePip(): void;
disablePip(): void; disablePip(): void;
onPipMediaOrientationUpdate?: (orientation: "landscape" | "portrait") => void;
setAvailableAudioDevices(devices: OutputDevice[]): void; setAvailableAudioDevices(devices: OutputDevice[]): void;
setAudioDevice(id: string): void; setAudioDevice(id: string): void;
+1 -1
View File
@@ -7,7 +7,7 @@ Please see LICENSE in the repository root for full details.
.tile.draggable { .tile.draggable {
cursor: grab; cursor: grab;
box-shadow: var(--big-drop-shadow); --draggable-shadow: var(--big-drop-shadow);
} }
.tile.draggable:active { .tile.draggable:active {
+22 -7
View File
@@ -15,6 +15,7 @@ import {
vitest, vitest,
} from "vitest"; } from "vitest";
import fetchMock from "fetch-mock"; import fetchMock from "fetch-mock";
import { MatrixError } from "matrix-js-sdk";
import { getSFUConfigWithOpenID, type OpenIDClientParts } from "./openIDSFU"; import { getSFUConfigWithOpenID, type OpenIDClientParts } from "./openIDSFU";
import { testJWTToken } from "../utils/test-fixtures"; import { testJWTToken } from "../utils/test-fixtures";
@@ -63,7 +64,10 @@ describe("getSFUConfigWithOpenID", () => {
fetchMock.post("https://sfu.example.org/sfu/get", () => { fetchMock.post("https://sfu.example.org/sfu/get", () => {
return { return {
status: 500, status: 500,
body: { error: "Test failure" }, body: {
errcode: "M_LOOKUP_FAILED",
error: "Failed to look up user info from homeserver",
},
}; };
}); });
try { try {
@@ -75,9 +79,12 @@ describe("getSFUConfigWithOpenID", () => {
); );
} catch (ex: unknown) { } catch (ex: unknown) {
expect(ex).toBeInstanceOf(FailToGetOpenIdToken); expect(ex).toBeInstanceOf(FailToGetOpenIdToken);
expect((ex as FailToGetOpenIdToken).cause).toEqual( expect((ex as FailToGetOpenIdToken).cause).toBeInstanceOf(MatrixError);
new Error("SFU Config fetch failed with status code 500"), const mxError = (ex as Error).cause as MatrixError;
expect(mxError.message).toEqual(
"MatrixError: [500] Failed to look up user info from homeserver",
); );
void (await fetchMock.flush()); void (await fetchMock.flush());
return; return;
} }
@@ -181,13 +188,19 @@ describe("getSFUConfigWithOpenID", () => {
fetchMock.post("https://sfu.example.org/get_token", () => { fetchMock.post("https://sfu.example.org/get_token", () => {
return { return {
status: 500, status: 500,
body: { error: "Test failure" }, body: {
errcode: "M_LOOKUP_FAILED",
error: "Failed to look up user info from homeserver",
},
}; };
}); });
fetchMock.post("https://sfu.example.org/sfu/get", () => { fetchMock.post("https://sfu.example.org/sfu/get", () => {
return { return {
status: 500, status: 500,
body: { error: "Test failure" }, body: {
errcode: "M_LOOKUP_FAILED",
error: "Failed to look up user info from homeserver",
},
}; };
}); });
try { try {
@@ -203,8 +216,10 @@ describe("getSFUConfigWithOpenID", () => {
); );
} catch (ex) { } catch (ex) {
expect(ex).toBeInstanceOf(FailToGetOpenIdToken); expect(ex).toBeInstanceOf(FailToGetOpenIdToken);
expect((ex as FailToGetOpenIdToken).cause).toEqual( expect((ex as FailToGetOpenIdToken).cause).toBeInstanceOf(MatrixError);
new Error("SFU Config fetch failed with status code 500"), const mxError = (ex as Error).cause as MatrixError;
expect(mxError.message).toEqual(
"MatrixError: [500] Failed to look up user info from homeserver",
); );
void (await fetchMock.flush()); void (await fetchMock.flush());
} }
+7 -3
View File
@@ -5,7 +5,11 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details. Please see LICENSE in the repository root for full details.
*/ */
import { type IOpenIDToken, type MatrixClient } from "matrix-js-sdk"; import {
type IOpenIDToken,
type MatrixClient,
parseErrorResponse,
} from "matrix-js-sdk";
import { type CallMembershipIdentityParts } from "matrix-js-sdk/lib/matrixrtc/EncryptionManager"; import { type CallMembershipIdentityParts } from "matrix-js-sdk/lib/matrixrtc/EncryptionManager";
import { type Logger } from "matrix-js-sdk/lib/logger"; import { type Logger } from "matrix-js-sdk/lib/logger";
@@ -248,7 +252,7 @@ async function getLiveKitJWT(
}); });
if (!res.ok) { if (!res.ok) {
throw new Error("SFU Config fetch failed with status code " + res.status); throw parseErrorResponse(res, await res.text());
} }
return await res.json(); return await res.json();
} }
@@ -308,7 +312,7 @@ export async function getLiveKitJWTWithDelayDelegation(
if (res.status === 404) { if (res.status === 404) {
throw new NotSupportedError(msg); throw new NotSupportedError(msg);
} else { } else {
throw new Error(msg); throw parseErrorResponse(res, await res.text());
} }
} }
return await res.json(); return await res.json();
+2 -3
View File
@@ -1,9 +1,9 @@
.reactionIndicatorWidget { .reactionIndicatorWidget {
display: flex; display: flex;
background-color: #00000030;
border-radius: var(--cpd-radius-pill-effect); border-radius: var(--cpd-radius-pill-effect);
box-shadow: 0 0 var(--cpd-space-2x) #00000040; box-shadow: 0 0 var(--cpd-space-2x) #00000040;
background: "ffffff40"; color: var(--cpd-color-text-on-solid-primary);
background: var(--cpd-color-icon-secondary-alpha);
backdrop-filter: blur(10px); backdrop-filter: blur(10px);
outline: var(--cpd-border-width-1) solid var(--cpd-color-alpha-gray-400); outline: var(--cpd-border-width-1) solid var(--cpd-color-alpha-gray-400);
outline-offset: calc(-1 * var(--cpd-border-width-1)); outline-offset: calc(-1 * var(--cpd-border-width-1));
@@ -33,7 +33,6 @@
.reaction { .reaction {
margin: var(--cpd-space-1x); margin: var(--cpd-space-1x);
color: white;
display: flex; display: flex;
align-items: center; align-items: center;
border-radius: var(--cpd-radius-pill-effect); border-radius: var(--cpd-radius-pill-effect);
+174
View File
@@ -16,6 +16,8 @@ import {
} from "react"; } from "react";
import { BrowserRouter } from "react-router-dom"; import { BrowserRouter } from "react-router-dom";
import userEvent from "@testing-library/user-event"; import userEvent from "@testing-library/user-event";
import { ConnectionError } from "livekit-client";
import { MatrixError } from "matrix-js-sdk";
import { import {
type CallErrorRecoveryAction, type CallErrorRecoveryAction,
@@ -25,8 +27,12 @@ import {
ConnectionLostError, ConnectionLostError,
E2EENotSupportedError, E2EENotSupportedError,
type ElementCallError, type ElementCallError,
FailToGetOpenIdToken,
InsufficientCapacityError, InsufficientCapacityError,
LivekitConnectionError,
MatrixRTCTransportMissingError, MatrixRTCTransportMissingError,
PeerConnectionTimeoutError,
StickyEventsRequiredError,
UnknownCallError, UnknownCallError,
} from "../utils/errors.ts"; } from "../utils/errors.ts";
import { mockConfig } from "../utils/test.ts"; import { mockConfig } from "../utils/test.ts";
@@ -54,6 +60,12 @@ test.each([
expectedDescription: expectedDescription:
"The server has reached its maximum capacity and you cannot join the call at this time. Try again later, or contact your server admin if the problem persists.", "The server has reached its maximum capacity and you cannot join the call at this time. Try again later, or contact your server admin if the problem persists.",
}, },
{
error: new StickyEventsRequiredError(),
expectedTitle: "Homeserver does not support Matrix 2.0 calls",
expectedDescription:
"This deployment is configured to use Matrix 2.0 call mode, but the homeserver does not advertise support for sticky events (MSC4354). Ask your server admin to upgrade, or switch the deployment to a compatible mode.",
},
])( ])(
"should report correct error for $expectedTitle", "should report correct error for $expectedTitle",
async ({ error, expectedTitle, expectedDescription }) => { async ({ error, expectedTitle, expectedDescription }) => {
@@ -252,3 +264,165 @@ test("should have a close button in widget mode", async () => {
); );
expect(mockWidget.api.transport.stop).toHaveBeenCalled(); expect(mockWidget.api.transport.stop).toHaveBeenCalled();
}); });
test("should show technical details when error has a matrixError cause", async () => {
const underlyingError = new MatrixError(
{
errcode: "M_LOOKUP_FAILED",
error: "Failed to look up user info from homeserver",
},
500,
"https://matrix-rtc.m.localhost/livekit/jwt/sfu/get",
);
const error = new FailToGetOpenIdToken(underlyingError);
const TestComponent = (): ReactNode => {
throw error;
};
render(
<BrowserRouter>
<GroupCallErrorBoundary
onError={vi.fn()}
recoveryActionHandler={vi.fn()}
widget={null}
>
<TestComponent />
</GroupCallErrorBoundary>
</BrowserRouter>,
);
await screen.findByText("Something went wrong");
// Technical details should be present
const detailsElement = screen.getByText("Technical details");
expect(detailsElement).toBeInTheDocument();
// Verify error details are shown
expect(
screen.getByText(/Failed to look up user info from homeserver/i, {
selector: "pre",
}),
).toBeInTheDocument();
});
test("should not show technical details when error has no matrix error cause", async () => {
const error = new ConnectionLostError();
const TestComponent = (): ReactNode => {
throw error;
};
render(
<BrowserRouter>
<GroupCallErrorBoundary
onError={vi.fn()}
recoveryActionHandler={vi.fn()}
widget={null}
>
<TestComponent />
</GroupCallErrorBoundary>
</BrowserRouter>,
);
await screen.findByText("Connection lost");
// Technical details should not be present (ConnectionLostError has no cause)
expect(screen.queryByText("Technical details")).not.toBeInTheDocument();
});
describe("LiveKit ConnectionError variants", () => {
test.each([
{
name: "notAllowed",
error: ConnectionError.notAllowed("Permission denied by server", 403),
expectedReason: "NotAllowed",
},
{
name: "timeout",
error: ConnectionError.timeout("Connection timed out"),
expectedReason: "Timeout",
},
{
name: "serverUnreachable",
error: ConnectionError.serverUnreachable("Server is unreachable", 503),
expectedReason: "ServerUnreachable",
},
{
name: "serviceNotFound",
error: ConnectionError.serviceNotFound(
"RTC service not found",
"v0-rtc" as const,
),
expectedReason: "ServiceNotFound",
},
{
name: "internal",
error: ConnectionError.internal("Internal server error", {
status: 500,
statusText: "Internal Server Error",
}),
expectedReason: "InternalError",
},
])(
"should display LiveKit $name error correctly",
async ({ error, expectedReason }) => {
const TestComponent = (): ReactNode => {
throw new LivekitConnectionError(error);
};
const { asFragment } = render(
<BrowserRouter>
<GroupCallErrorBoundary
onError={vi.fn()}
recoveryActionHandler={vi.fn()}
widget={null}
>
<TestComponent />
</GroupCallErrorBoundary>
</BrowserRouter>,
);
// Check title
await screen.findByText("Failed to connect to Livekit server");
// Check that reason is displayed in the description
expect(screen.getByText(/Reason:/i)).toBeInTheDocument();
expect(screen.getByText(expectedReason)).toBeInTheDocument();
expect(asFragment()).toMatchSnapshot();
},
);
test("should link to troubleshoot guide when timeout error", async () => {
const error = new PeerConnectionTimeoutError();
const TestComponent = (): ReactNode => {
throw error;
};
const { asFragment } = render(
<BrowserRouter>
<GroupCallErrorBoundary
onError={vi.fn()}
recoveryActionHandler={vi.fn()}
widget={null}
>
<TestComponent />
</GroupCallErrorBoundary>
</BrowserRouter>,
);
await screen.findByText("Connection timeout");
// Verify the link is present and has correct href
const link = screen.getByText("troubleshooting guide");
expect(link).toHaveAttribute(
"href",
"https://docs.element.io/latest/element-server-suite-pro/configuring-components/configuring-matrix-rtc/#sfu-connectivity-troubleshooting",
);
// Snapshot the complete rendered error
expect(asFragment()).toMatchSnapshot();
});
});
+35 -1
View File
@@ -23,6 +23,7 @@ import {
} from "@vector-im/compound-design-tokens/assets/web/icons"; } from "@vector-im/compound-design-tokens/assets/web/icons";
import { Button } from "@vector-im/compound-web"; import { Button } from "@vector-im/compound-web";
import { logger } from "matrix-js-sdk/lib/logger"; import { logger } from "matrix-js-sdk/lib/logger";
import { MatrixError } from "matrix-js-sdk";
import { import {
ConnectionLostError, ConnectionLostError,
@@ -34,6 +35,7 @@ import {
import { FullScreenView } from "../FullScreenView.tsx"; import { FullScreenView } from "../FullScreenView.tsx";
import { ErrorView } from "../ErrorView.tsx"; import { ErrorView } from "../ErrorView.tsx";
import { type WidgetHelpers } from "../widget.ts"; import { type WidgetHelpers } from "../widget.ts";
import styles from "../ErrorView.module.css";
export type CallErrorRecoveryAction = "reconnect"; // | "retry" ; export type CallErrorRecoveryAction = "reconnect"; // | "retry" ;
@@ -78,6 +80,9 @@ const ErrorPage: FC<ErrorPageProps> = ({
}); });
} }
const technicalError =
error.cause instanceof MatrixError ? error.cause : null;
return ( return (
<FullScreenView> <FullScreenView>
<ErrorView <ErrorView
@@ -87,7 +92,26 @@ const ErrorPage: FC<ErrorPageProps> = ({
widget={widget} widget={widget}
> >
<p> <p>
{error.localisedMessage ?? ( {error.localisedMessageKey ? (
<Trans
// @ts-expect-error - Dynamic i18nKey from error object
i18nKey={error.localisedMessageKey}
values={error.localisedMessageValues}
components={[
<a
href={String(error.localisedMessageValues?.linkUrl || "#")}
target="_blank"
rel="noopener noreferrer"
>
{/* Content injected by Trans component */}
</a>,
<b />,
<code />,
]}
/>
) : error.localisedMessage ? (
error.localisedMessage
) : (
<Trans <Trans
i18nKey="error.unexpected_ec_error" i18nKey="error.unexpected_ec_error"
components={[<b />, <code />]} components={[<b />, <code />]}
@@ -95,6 +119,16 @@ const ErrorPage: FC<ErrorPageProps> = ({
/> />
)} )}
</p> </p>
{technicalError ? (
<details className={styles.technicalDetails}>
<summary className={styles.technicalDetailsSummary}>
{t("technical_details")}
</summary>
<pre className={styles.technicalDetailsPre}>
{technicalError.message}
</pre>
</details>
) : null}
{actions && {actions &&
actions.map((action, index) => ( actions.map((action, index) => (
<Button <Button
+87 -55
View File
@@ -19,7 +19,12 @@ import {
vitest, vitest,
} from "vitest"; } from "vitest";
import { render, waitFor, screen, act } from "@testing-library/react"; import { render, waitFor, screen, act } from "@testing-library/react";
import { type MatrixClient, JoinRule, type RoomState } from "matrix-js-sdk"; import {
type MatrixClient,
JoinRule,
type RoomState,
UnsupportedStickyEventsEndpointError,
} from "matrix-js-sdk";
import { import {
MatrixRTCSessionEvent, MatrixRTCSessionEvent,
type MatrixRTCSession, type MatrixRTCSession,
@@ -46,6 +51,7 @@ import {
MockRTCSession, MockRTCSession,
} from "../utils/test"; } from "../utils/test";
import { GroupCallView } from "./GroupCallView"; import { GroupCallView } from "./GroupCallView";
import { GroupCallErrorBoundary } from "./GroupCallErrorBoundary";
import { ElementWidgetActions, type WidgetHelpers } from "../widget"; import { ElementWidgetActions, type WidgetHelpers } from "../widget";
import { LazyEventEmitter } from "../LazyEventEmitter"; import { LazyEventEmitter } from "../LazyEventEmitter";
import { MatrixRTCTransportMissingError } from "../utils/errors"; import { MatrixRTCTransportMissingError } from "../utils/errors";
@@ -130,6 +136,9 @@ beforeEach(() => {
function createGroupCallView( function createGroupCallView(
widget: WidgetHelpers | null, widget: WidgetHelpers | null,
joined = true, joined = true,
options: {
withErrorBoundary?: boolean;
} = {},
): { ): {
rtcSession: MatrixRTCSession; rtcSession: MatrixRTCSession;
getByText: ReturnType<typeof render>["getByText"]; getByText: ReturnType<typeof render>["getByText"];
@@ -166,24 +175,36 @@ function createGroupCallView(
video: { enabled: false }, video: { enabled: false },
// TODO-MULTI-SFU: This cast isn't valid, it's likely the cause of some current test failures // TODO-MULTI-SFU: This cast isn't valid, it's likely the cause of some current test failures
} as unknown as MuteStates; } as unknown as MuteStates;
const groupCallView = (
<GroupCallView
client={client}
isPasswordlessUser={false}
confineToRoom={false}
preload={false}
skipLobby={false}
rtcSession={rtcSession.asMockedSession()}
muteStates={muteState}
widget={widget}
// TODO-MULTI-SFU: Make joined and setJoined work
joined={true}
setJoined={function (value: boolean): void {}}
/>
);
const { getByText } = render( const { getByText } = render(
<BrowserRouter> <BrowserRouter>
<TooltipProvider> <TooltipProvider>
<MediaDevicesContext value={mockMediaDevices({})}> <MediaDevicesContext value={mockMediaDevices({})}>
<ProcessorProvider> <ProcessorProvider>
<GroupCallView {options.withErrorBoundary ? (
client={client} <GroupCallErrorBoundary
isPasswordlessUser={false} recoveryActionHandler={vi.fn()}
confineToRoom={false} widget={null}
preload={false} >
skipLobby={false} {groupCallView}
rtcSession={rtcSession.asMockedSession()} </GroupCallErrorBoundary>
muteStates={muteState} ) : (
widget={widget} groupCallView
// TODO-MULTI-SFU: Make joined and setJoined work )}
joined={true}
setJoined={function (value: boolean): void {}}
/>
</ProcessorProvider> </ProcessorProvider>
</MediaDevicesContext> </MediaDevicesContext>
</TooltipProvider> </TooltipProvider>
@@ -251,12 +272,15 @@ test.skip("GroupCallView plays a leave sound synchronously in widget mode", asyn
expect(leaveRTCSession).toHaveBeenCalledOnce(); expect(leaveRTCSession).toHaveBeenCalledOnce();
}); });
test.skip("Should close widget when all other left and have time to play a sound", async () => { test("Should close widget when all other left and play a sound", async () => {
const user = userEvent.setup(); const user = userEvent.setup();
const widgetClosedCalled = Promise.withResolvers<void>(); let widgetClosedCalled = false;
const { promise: widgetClosedPromise, resolve: widgetClosedResolver } =
Promise.withResolvers<void>();
const widgetSendMock = vi.fn().mockImplementation((action: string) => { const widgetSendMock = vi.fn().mockImplementation((action: string) => {
if (action === ElementWidgetActions.Close) { if (action === ElementWidgetActions.Close) {
widgetClosedCalled.resolve(); widgetClosedCalled = true;
widgetClosedResolver();
} }
}); });
const widgetStopMock = vi.fn().mockResolvedValue(undefined); const widgetStopMock = vi.fn().mockResolvedValue(undefined);
@@ -272,7 +296,7 @@ test.skip("Should close widget when all other left and have time to play a sound
lazyActions: new LazyEventEmitter(), lazyActions: new LazyEventEmitter(),
}; };
const resolvePlaySound = Promise.withResolvers<void>(); const resolvePlaySound = Promise.withResolvers<void>();
playSound = vi.fn().mockReturnValue(resolvePlaySound); playSound = vi.fn().mockReturnValue(resolvePlaySound.promise);
(useAudioContext as MockedFunction<typeof useAudioContext>).mockReturnValue({ (useAudioContext as MockedFunction<typeof useAudioContext>).mockReturnValue({
playSound, playSound,
playSoundLooping: vitest.fn(), playSoundLooping: vitest.fn(),
@@ -283,47 +307,15 @@ test.skip("Should close widget when all other left and have time to play a sound
const leaveButton = getByText("SimulateOtherLeft"); const leaveButton = getByText("SimulateOtherLeft");
await user.click(leaveButton); await user.click(leaveButton);
await flushPromises(); await flushPromises();
expect(widgetSendMock).not.toHaveBeenCalled(); expect(widgetClosedCalled).toBeFalsy();
resolvePlaySound.resolve(); resolvePlaySound.resolve();
await flushPromises();
expect(playSound).toHaveBeenCalledWith("left"); expect(playSound).toHaveBeenCalledWith("left", 0);
await widgetClosedPromise;
await widgetClosedCalled.promise;
await flushPromises(); await flushPromises();
expect(widgetClosedCalled).toBeTruthy();
expect(widgetStopMock).toHaveBeenCalledOnce(); expect(widgetStopMock).toHaveBeenCalledOnce();
}); }, 80000);
test("Should close widget when all other left", async () => {
const user = userEvent.setup();
const widgetClosedCalled = Promise.withResolvers<void>();
const widgetSendMock = vi.fn().mockImplementation((action: string) => {
if (action === ElementWidgetActions.Close) {
widgetClosedCalled.resolve();
}
});
const widgetStopMock = vi.fn().mockResolvedValue(undefined);
const widget = {
api: {
setAlwaysOnScreen: vi.fn().mockResolvedValue(true),
transport: {
send: widgetSendMock,
reply: vi.fn().mockResolvedValue(undefined),
stop: widgetStopMock,
} as unknown as ITransport,
} as Partial<WidgetHelpers["api"]>,
lazyActions: new LazyEventEmitter(),
};
const { getByText } = createGroupCallView(widget as WidgetHelpers);
const leaveButton = getByText("SimulateOtherLeft");
await user.click(leaveButton);
await flushPromises();
await widgetClosedCalled.promise;
await flushPromises();
expect(widgetStopMock).toHaveBeenCalledOnce();
});
test("Should not close widget when auto leave due to error", async () => { test("Should not close widget when auto leave due to error", async () => {
const user = userEvent.setup(); const user = userEvent.setup();
@@ -390,6 +382,46 @@ test.skip("GroupCallView shows errors that occur during joining", async () => {
screen.getByText("Call is not supported"); screen.getByText("Call is not supported");
}); });
test("translates wrapped UnsupportedStickyEventsEndpointError to the StickyEventsRequiredError screen", async () => {
// Mirror the shape the SDK emits: the MembershipManager scheduler wraps
// the original UnsupportedStickyEventsEndpointError in a generic Error
// but preserves the original on `.cause`.
const stickyError = new UnsupportedStickyEventsEndpointError(
"Server does not support the sticky events",
"sendStickyEvent",
);
const wrappedError = new Error(
"The MembershipManager shut down because of the end condition: " +
String(stickyError),
{ cause: stickyError },
);
const { rtcSession } = createGroupCallView(null, true, {
withErrorBoundary: true,
});
await act(() =>
rtcSession.emit(MatrixRTCSessionEvent.MembershipManagerError, wrappedError),
);
await screen.findByText("Homeserver does not support Matrix 2.0 calls");
});
test("falls back to ConnectionLostError for unrecognised membership manager errors", async () => {
const { rtcSession } = createGroupCallView(null, true, {
withErrorBoundary: true,
});
await act(() =>
rtcSession.emit(
MatrixRTCSessionEvent.MembershipManagerError,
new Error("something else broke"),
),
);
await screen.findByText("Connection lost");
});
test("user can reconnect after a membership manager error", async () => { test("user can reconnect after a membership manager error", async () => {
const user = userEvent.setup(); const user = userEvent.setup();
const { rtcSession } = createGroupCallView(null, true); const { rtcSession } = createGroupCallView(null, true);
+40 -6
View File
@@ -13,7 +13,12 @@ import {
useMemo, useMemo,
useState, useState,
} from "react"; } from "react";
import { type MatrixClient, JoinRule, type Room } from "matrix-js-sdk"; import {
type MatrixClient,
JoinRule,
type Room,
UnsupportedStickyEventsEndpointError,
} from "matrix-js-sdk";
import { import {
Room as LivekitRoom, Room as LivekitRoom,
isE2EESupported as isE2EESupportedBrowser, isE2EESupported as isE2EESupportedBrowser,
@@ -67,6 +72,7 @@ import {
ConnectionLostError, ConnectionLostError,
E2EENotSupportedError, E2EENotSupportedError,
ElementCallError, ElementCallError,
StickyEventsRequiredError,
UnknownCallError, UnknownCallError,
} from "../utils/errors.ts"; } from "../utils/errors.ts";
import { GroupCallErrorBoundary } from "./GroupCallErrorBoundary.tsx"; import { GroupCallErrorBoundary } from "./GroupCallErrorBoundary.tsx";
@@ -120,7 +126,7 @@ export const GroupCallView: FC<Props> = ({
const muteAllAudio = useBehavior(muteAllAudio$); const muteAllAudio = useBehavior(muteAllAudio$);
const leaveSoundContext = useLatest( const leaveSoundContext = useLatest(
useAudioContext({ useAudioContext<CallEventSounds>({
sounds: callEventAudioSounds, sounds: callEventAudioSounds,
latencyHint: "interactive", latencyHint: "interactive",
muted: muteAllAudio, muted: muteAllAudio,
@@ -162,8 +168,22 @@ export const GroupCallView: FC<Props> = ({
useTypedEventEmitter( useTypedEventEmitter(
rtcSession, rtcSession,
MatrixRTCSessionEvent.MembershipManagerError, MatrixRTCSessionEvent.MembershipManagerError,
(error) => setExternalError(new ConnectionLostError()), (error) => {
// When matrix_rtc_mode=matrix_2_0 is in effect but the homeserver does
// not advertise MSC4354 (sticky events), the SDK throws an
// `UnsupportedStickyEventsEndpointError`. The MembershipManager
// scheduler wraps it and exposes the original via `.cause`.
if (
error instanceof Error &&
error.cause instanceof UnsupportedStickyEventsEndpointError
) {
setExternalError(new StickyEventsRequiredError());
} else {
setExternalError(new ConnectionLostError());
}
},
); );
useEffect(() => { useEffect(() => {
// Sanity check the room object // Sanity check the room object
if (client.getRoom(rtcSession.room.roomId) !== rtcSession.room) if (client.getRoom(rtcSession.room.roomId) !== rtcSession.room)
@@ -318,12 +338,26 @@ export const GroupCallView: FC<Props> = ({
( (
reason: "timeout" | "user" | "allOthersLeft" | "decline" | "error", reason: "timeout" | "user" | "allOthersLeft" | "decline" | "error",
): void => { ): void => {
let playSound: CallEventSounds = "left"; let audioPromise: Promise<void> | undefined = undefined;
if (reason === "timeout" || reason === "decline") playSound = reason; switch (reason) {
case "allOthersLeft":
// When "allOthersLeft", the leaveSoundEffect$ in CallEventAudioRenderer
// already plays the "left" sound when the remote participant's media
// disappears. We play it here silenced (volumeOverwrite = 0) so we have the right duration in the audioPromise.
// (used to destory the widget)
audioPromise = leaveSoundContext.current?.playSound("left", 0);
break;
case "timeout":
case "decline":
audioPromise = leaveSoundContext.current?.playSound(reason);
break;
default:
audioPromise = leaveSoundContext.current?.playSound("left");
}
setJoined(false); setJoined(false);
setLeft(true); setLeft(true);
const audioPromise = leaveSoundContext.current?.playSound(playSound);
// We need to wait until the callEnded event is tracked on PostHog, // We need to wait until the callEnded event is tracked on PostHog,
// otherwise the iframe may get killed first. // otherwise the iframe may get killed first.
const posthogRequest = new Promise((resolve) => { const posthogRequest = new Promise((resolve) => {
+3 -3
View File
@@ -266,7 +266,7 @@ export const InCallView: FC<InCallViewProps> = ({
() => void toggleRaisedHand(), () => void toggleRaisedHand(),
); );
const ringing = useBehavior(vm.ringing$); const ringingIntent = useBehavior(vm.ringingIntent$);
const audioParticipants = useBehavior(vm.livekitRoomItems$); const audioParticipants = useBehavior(vm.livekitRoomItems$);
const participantCount = useBehavior(vm.participantCount$); const participantCount = useBehavior(vm.participantCount$);
const reconnecting = useBehavior(vm.reconnecting$); const reconnecting = useBehavior(vm.reconnecting$);
@@ -289,7 +289,7 @@ export const InCallView: FC<InCallViewProps> = ({
// While ringing, loop the ringtone // While ringing, loop the ringtone
useEffect((): void | (() => void) => { useEffect((): void | (() => void) => {
const audio = latestPickupPhaseAudio.current; const audio = latestPickupPhaseAudio.current;
if (ringing && audio) { if (ringingIntent !== null && audio) {
const endSound = audio.playSoundLooping( const endSound = audio.playSoundLooping(
"waiting", "waiting",
audio.soundDuration["waiting"] ?? 1, audio.soundDuration["waiting"] ?? 1,
@@ -300,7 +300,7 @@ export const InCallView: FC<InCallViewProps> = ({
}); });
}; };
} }
}, [ringing, latestPickupPhaseAudio]); }, [ringingIntent, latestPickupPhaseAudio]);
// iOS Safari doesn't reliably fire `click` on plain <div>s, so we listen // iOS Safari doesn't reliably fire `click` on plain <div>s, so we listen
// for `pointerup` instead. Scrolls end in `pointercancel`, not `pointerup`, // for `pointerup` instead. Scrolls end in `pointercancel`, not `pointerup`,
File diff suppressed because it is too large Load Diff
@@ -328,6 +328,7 @@ exports[`InCallView > rendering > renders 1`] = `
</svg> </svg>
</button> </button>
<button <button
aria-busy="false"
aria-checked="false" aria-checked="false"
aria-disabled="true" aria-disabled="true"
aria-labelledby="_r_i_" aria-labelledby="_r_i_"
@@ -352,6 +353,7 @@ exports[`InCallView > rendering > renders 1`] = `
</svg> </svg>
</button> </button>
<button <button
aria-busy="false"
aria-checked="false" aria-checked="false"
aria-disabled="true" aria-disabled="true"
aria-labelledby="_r_n_" aria-labelledby="_r_n_"
@@ -304,6 +304,7 @@ exports[`LobbyView > renders with header and participant count 1`] = `
</svg> </svg>
</button> </button>
<button <button
aria-busy="false"
aria-checked="false" aria-checked="false"
aria-disabled="true" aria-disabled="true"
aria-labelledby="_r_g_" aria-labelledby="_r_g_"
@@ -328,6 +329,7 @@ exports[`LobbyView > renders with header and participant count 1`] = `
</svg> </svg>
</button> </button>
<button <button
aria-busy="false"
aria-checked="false" aria-checked="false"
aria-disabled="true" aria-disabled="true"
aria-labelledby="_r_l_" aria-labelledby="_r_l_"
+101
View File
@@ -17,7 +17,10 @@ import { getSFUConfigWithOpenID } from "../livekit/openIDSFU";
import { import {
customLivekitUrl as customLivekitUrlSetting, customLivekitUrl as customLivekitUrlSetting,
enableExtendedLivekitLogs as enableExtendedLivekitLogsSetting, enableExtendedLivekitLogs as enableExtendedLivekitLogsSetting,
matrixRTCMode as matrixRTCModeSetting,
} from "./settings"; } from "./settings";
import { MatrixRTCMode } from "../config/ConfigOptions";
import { mockConfig } from "../utils/test";
// Mock url params hook to avoid environment-dependent snapshot churn. // Mock url params hook to avoid environment-dependent snapshot churn.
vi.mock("../UrlParams", () => ({ vi.mock("../UrlParams", () => ({
@@ -311,4 +314,102 @@ describe("DeveloperSettingsTab", () => {
expect(enableExtendedLivekitLogsSetting.getValue()).toBe(true); expect(enableExtendedLivekitLogsSetting.getValue()).toBe(true);
}); });
}); });
describe("matrix rtc mode", () => {
afterEach(() => {
matrixRTCModeSetting.setValue(MatrixRTCMode.Legacy);
vi.restoreAllMocks();
});
function getModeRadios(): {
legacy: HTMLInputElement;
compatibility: HTMLInputElement;
matrix20: HTMLInputElement;
} {
return {
legacy: screen.getByDisplayValue(
MatrixRTCMode.Legacy,
) as HTMLInputElement,
compatibility: screen.getByDisplayValue(
MatrixRTCMode.Compatibility,
) as HTMLInputElement,
matrix20: screen.getByDisplayValue(
MatrixRTCMode.Matrix_2_0,
) as HTMLInputElement,
};
}
it("radios reflect the localStorage setting when config does not force the mode", async () => {
mockConfig({});
matrixRTCModeSetting.setValue(MatrixRTCMode.Compatibility);
const client = createMockMatrixClient();
render(
<TooltipProvider>
<DeveloperSettingsTab
client={client}
env={{} as unknown as ImportMetaEnv}
/>
</TooltipProvider>,
);
await waitFor(() =>
expect(client.doesServerSupportUnstableFeature).toHaveBeenCalled(),
);
const radios = getModeRadios();
expect(radios.compatibility).toBeChecked();
expect(radios.legacy).not.toBeChecked();
expect(radios.matrix20).not.toBeChecked();
// None are disabled by config; only Matrix_2_0 may be disabled by sticky-events support.
expect(radios.legacy).not.toBeDisabled();
expect(radios.compatibility).not.toBeDisabled();
});
it.each([
MatrixRTCMode.Legacy,
MatrixRTCMode.Compatibility,
MatrixRTCMode.Matrix_2_0,
])(
"disables all radios and shows the config value (%s) as checked when matrix_rtc_mode is set",
async (configMode) => {
mockConfig({ matrix_rtc_mode: configMode });
// Local setting is intentionally different from the config value to
// prove config wins.
matrixRTCModeSetting.setValue(
configMode === MatrixRTCMode.Legacy
? MatrixRTCMode.Compatibility
: MatrixRTCMode.Legacy,
);
const client = createMockMatrixClient();
render(
<TooltipProvider>
<DeveloperSettingsTab
client={client}
env={{} as unknown as ImportMetaEnv}
/>
</TooltipProvider>,
);
await waitFor(() =>
expect(client.doesServerSupportUnstableFeature).toHaveBeenCalled(),
);
const radios = getModeRadios();
expect(radios.legacy).toBeDisabled();
expect(radios.compatibility).toBeDisabled();
expect(radios.matrix20).toBeDisabled();
const checkedValue = (
{
[MatrixRTCMode.Legacy]: radios.legacy,
[MatrixRTCMode.Compatibility]: radios.compatibility,
[MatrixRTCMode.Matrix_2_0]: radios.matrix20,
} as const
)[configMode];
expect(checkedValue).toBeChecked();
},
);
});
}); });
+14 -5
View File
@@ -33,6 +33,7 @@ import {
import { type Room as LivekitRoom } from "livekit-client"; import { type Room as LivekitRoom } from "livekit-client";
import { FieldRow, InputField } from "../input/Input"; import { FieldRow, InputField } from "../input/Input";
import { Config } from "../config/Config";
import { import {
useSetting, useSetting,
duplicateTiles as duplicateTilesSetting, duplicateTiles as duplicateTilesSetting,
@@ -42,9 +43,9 @@ import {
alwaysShowIphoneEarpiece as alwaysShowIphoneEarpieceSetting, alwaysShowIphoneEarpiece as alwaysShowIphoneEarpieceSetting,
matrixRTCMode as matrixRTCModeSetting, matrixRTCMode as matrixRTCModeSetting,
customLivekitUrl as customLivekitUrlSetting, customLivekitUrl as customLivekitUrlSetting,
MatrixRTCMode,
enableExtendedLivekitLogs as enableExtendedLivekitLogsSetting, enableExtendedLivekitLogs as enableExtendedLivekitLogsSetting,
} from "./settings"; } from "./settings";
import { MatrixRTCMode } from "../config/ConfigOptions";
import styles from "./DeveloperSettingsTab.module.css"; import styles from "./DeveloperSettingsTab.module.css";
import { useUrlParams } from "../UrlParams"; import { useUrlParams } from "../UrlParams";
import { getSFUConfigWithOpenID } from "../livekit/openIDSFU"; import { getSFUConfigWithOpenID } from "../livekit/openIDSFU";
@@ -93,6 +94,11 @@ export const DeveloperSettingsTab: FC<Props> = ({
}, },
[setMatrixRTCMode], [setMatrixRTCMode],
); );
const configMatrixRTCMode = Config.get().matrix_rtc_mode as
| MatrixRTCMode
| undefined;
const matrixRTCModeForced = configMatrixRTCMode !== undefined;
const effectiveMatrixRTCMode = configMatrixRTCMode ?? matrixRTCMode;
const [showConnectionStats, setShowConnectionStats] = useSetting( const [showConnectionStats, setShowConnectionStats] = useSetting(
showConnectionStatsSetting, showConnectionStatsSetting,
@@ -312,13 +318,15 @@ export const DeveloperSettingsTab: FC<Props> = ({
<Heading as="h3" type="body" weight="semibold" size="lg"> <Heading as="h3" type="body" weight="semibold" size="lg">
{t("developer_mode.matrixRTCMode.title")} {t("developer_mode.matrixRTCMode.title")}
</Heading> </Heading>
{matrixRTCModeForced && <p>Your deployment overrides the mode.</p>}
<Form> <Form>
<InlineField <InlineField
name={matrixRTCModeRadioGroup} name={matrixRTCModeRadioGroup}
control={ control={
<RadioControl <RadioControl
checked={matrixRTCMode === MatrixRTCMode.Legacy} checked={effectiveMatrixRTCMode === MatrixRTCMode.Legacy}
value={MatrixRTCMode.Legacy} value={MatrixRTCMode.Legacy}
disabled={matrixRTCModeForced}
onChange={onMatrixRTCModeChange} onChange={onMatrixRTCModeChange}
/> />
} }
@@ -332,8 +340,9 @@ export const DeveloperSettingsTab: FC<Props> = ({
name={matrixRTCModeRadioGroup} name={matrixRTCModeRadioGroup}
control={ control={
<RadioControl <RadioControl
checked={matrixRTCMode === MatrixRTCMode.Compatibility} checked={effectiveMatrixRTCMode === MatrixRTCMode.Compatibility}
value={MatrixRTCMode.Compatibility} value={MatrixRTCMode.Compatibility}
disabled={matrixRTCModeForced}
onChange={onMatrixRTCModeChange} onChange={onMatrixRTCModeChange}
/> />
} }
@@ -347,9 +356,9 @@ export const DeveloperSettingsTab: FC<Props> = ({
name={matrixRTCModeRadioGroup} name={matrixRTCModeRadioGroup}
control={ control={
<RadioControl <RadioControl
checked={matrixRTCMode === MatrixRTCMode.Matrix_2_0} checked={effectiveMatrixRTCMode === MatrixRTCMode.Matrix_2_0}
value={MatrixRTCMode.Matrix_2_0} value={MatrixRTCMode.Matrix_2_0}
disabled={!stickyEventsSupported} disabled={matrixRTCModeForced || !stickyEventsSupported}
onChange={onMatrixRTCModeChange} onChange={onMatrixRTCModeChange}
/> />
} }
@@ -224,13 +224,13 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</div> </div>
</div> </div>
<form <form
class="_root_19upo_16" class="_root_1o4d9_17"
> >
<div <div
class="_field_19upo_26" class="_field_1o4d9_27"
> >
<label <label
class="_label_19upo_59" class="_label_1o4d9_60"
for="radix-_r_7_" for="radix-_r_7_"
> >
Custom Livekit-url Custom Livekit-url
@@ -248,7 +248,7 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
/> />
</div> </div>
<span <span
class="_message_19upo_85 _help-message_19upo_91" class="_message_1o4d9_86 _help-message_1o4d9_92"
id="radix-_r_8_" id="radix-_r_8_"
> >
Currently, no overwrite is set. Url from well-known or config is used. Currently, no overwrite is set. Url from well-known or config is used.
@@ -261,13 +261,13 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
MatrixRTC mode MatrixRTC mode
</h3> </h3>
<form <form
class="_root_19upo_16" class="_root_1o4d9_17"
> >
<div <div
class="_inline-field_19upo_32" class="_inline-field_1o4d9_33"
> >
<div <div
class="_inline-field-control_19upo_44" class="_inline-field-control_1o4d9_45"
> >
<div <div
class="_container_1ug7n_10" class="_container_1ug7n_10"
@@ -288,16 +288,16 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</div> </div>
</div> </div>
<div <div
class="_inline-field-body_19upo_38" class="_inline-field-body_1o4d9_39"
> >
<label <label
class="_label_19upo_59" class="_label_1o4d9_60"
for="radix-_r_9_" for="radix-_r_9_"
> >
Legacy: state events & oldest membership SFU Legacy: state events & oldest membership SFU
</label> </label>
<span <span
class="_message_19upo_85 _help-message_19upo_91" class="_message_1o4d9_86 _help-message_1o4d9_92"
id="radix-_r_a_" id="radix-_r_a_"
> >
Compatible with old versions of EC that do not support multi SFU Compatible with old versions of EC that do not support multi SFU
@@ -305,10 +305,10 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</div> </div>
</div> </div>
<div <div
class="_inline-field_19upo_32" class="_inline-field_1o4d9_33"
> >
<div <div
class="_inline-field-control_19upo_44" class="_inline-field-control_1o4d9_45"
> >
<div <div
class="_container_1ug7n_10" class="_container_1ug7n_10"
@@ -328,16 +328,16 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</div> </div>
</div> </div>
<div <div
class="_inline-field-body_19upo_38" class="_inline-field-body_1o4d9_39"
> >
<label <label
class="_label_19upo_59" class="_label_1o4d9_60"
for="radix-_r_b_" for="radix-_r_b_"
> >
Compatibility: state events & multi SFU Compatibility: state events & multi SFU
</label> </label>
<span <span
class="_message_19upo_85 _help-message_19upo_91" class="_message_1o4d9_86 _help-message_1o4d9_92"
id="radix-_r_c_" id="radix-_r_c_"
> >
Compatible with homeservers that do not support sticky events (but all other EC clients are v0.17.0 or later) Compatible with homeservers that do not support sticky events (but all other EC clients are v0.17.0 or later)
@@ -345,10 +345,10 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</div> </div>
</div> </div>
<div <div
class="_inline-field_19upo_32" class="_inline-field_1o4d9_33"
> >
<div <div
class="_inline-field-control_19upo_44" class="_inline-field-control_1o4d9_45"
> >
<div <div
class="_container_1ug7n_10" class="_container_1ug7n_10"
@@ -368,16 +368,16 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
</div> </div>
</div> </div>
<div <div
class="_inline-field-body_19upo_38" class="_inline-field-body_1o4d9_39"
> >
<label <label
class="_label_19upo_59" class="_label_1o4d9_60"
for="radix-_r_d_" for="radix-_r_d_"
> >
Matrix 2.0: sticky events & multi SFU Matrix 2.0: sticky events & multi SFU
</label> </label>
<span <span
class="_message_19upo_85 _help-message_19upo_91" class="_message_1o4d9_86 _help-message_1o4d9_92"
id="radix-_r_e_" id="radix-_r_e_"
> >
Compatible only with homservers supporting sticky events and all EC clients v0.17.0 or later Compatible only with homservers supporting sticky events and all EC clients v0.17.0 or later
+1 -1
View File
@@ -149,7 +149,7 @@ class IndexedDBLogStore {
* @return Resolves when the store is ready. * @return Resolves when the store is ready.
*/ */
public async connect(): Promise<void> { public async connect(): Promise<void> {
const req = this.indexedDB.open("logs"); const req = this.indexedDB.open("logs-element-call");
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
req.onsuccess = (): void => { req.onsuccess = (): void => {
this.db = req.result; this.db = req.result;
+1 -12
View File
@@ -11,6 +11,7 @@ import { BehaviorSubject } from "rxjs";
import { PosthogAnalytics } from "../analytics/PosthogAnalytics"; import { PosthogAnalytics } from "../analytics/PosthogAnalytics";
import { type Behavior } from "../state/Behavior"; import { type Behavior } from "../state/Behavior";
import { useBehavior } from "../useBehavior"; import { useBehavior } from "../useBehavior";
import { MatrixRTCMode } from "../config/ConfigOptions";
export class Setting<T> { export class Setting<T> {
public constructor( public constructor(
@@ -134,18 +135,6 @@ export const enableExtendedLivekitLogs = new Setting<boolean>(
false, false,
); );
export enum MatrixRTCMode {
Legacy = "legacy",
Compatibility = "compatibility",
/** This implies using
* - sticky events
* - hashed RTC backend identity
* - the new endpoint for the jwt token on the local membership (remote memberships will always try the new jwt endpoint first -> then the legacy one)
* - use the hashed identity for the local membership
*/
Matrix_2_0 = "matrix_2_0",
}
export const matrixRTCMode = new Setting<MatrixRTCMode>( export const matrixRTCMode = new Setting<MatrixRTCMode>(
"matrix-rtc-mode", "matrix-rtc-mode",
MatrixRTCMode.Legacy, MatrixRTCMode.Legacy,
@@ -5,17 +5,19 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details. Please see LICENSE in the repository root for full details.
*/ */
import { describe, it } from "vitest"; import { test } from "vitest";
import { import {
EventType, EventType,
type IEvent,
type IRoomTimelineData, type IRoomTimelineData,
MatrixEvent, MatrixEvent,
type Room, type Room,
} from "matrix-js-sdk"; } from "matrix-js-sdk";
import { type RTCCallIntent } from "matrix-js-sdk/lib/matrixrtc";
import { map, mergeMap, NEVER, type Observable, startWith } from "rxjs";
import { withTestScheduler } from "../../utils/test"; import { withTestScheduler } from "../../utils/test";
import { import {
alice,
aliceRtcMember, aliceRtcMember,
local, local,
localRtcMember, localRtcMember,
@@ -23,9 +25,10 @@ import {
import { import {
type CallNotificationWrapper, type CallNotificationWrapper,
createCallNotificationLifecycle$, createCallNotificationLifecycle$,
type Props as CallNotificationLifecycleProps, type RingAttempt,
} from "./CallNotificationLifecycle"; } from "./CallNotificationLifecycle";
import { trackEpoch } from "../ObservableScope"; import { Epoch, trackEpoch } from "../ObservableScope";
import { constant } from "../Behavior";
function mockRingEvent( function mockRingEvent(
eventId: string, eventId: string,
@@ -40,311 +43,272 @@ function mockRingEvent(
} as unknown as CallNotificationWrapper; } as unknown as CallNotificationWrapper;
} }
describe("waitForCallPickup$", () => { const defaultProps = {
it("unknown -> ringing -> timeout when notified and nobody joins", () => { memberships$: constant(new Epoch([])),
withTestScheduler(({ scope, expectObservable, behavior, hot }) => { matrixRoomMembers$: constant(new Map([[alice.userId, alice]])),
// No one ever joins (only local user) receivedDecline$: NEVER,
const props: CallNotificationLifecycleProps = { options: {
scope, waitForCallPickup: true,
memberships$: scope.behavior( autoLeaveWhenOthersLeft: false,
behavior("a", { a: [] }).pipe(trackEpoch()), },
), localUser: localRtcMember,
sentCallNotification$: hot("10ms a", { };
a: mockRingEvent("$notif1", 30),
}),
receivedDecline$: hot(""),
options: {
waitForCallPickup: true,
autoLeaveWhenOthersLeft: false,
},
localUser: localRtcMember,
};
const lifecycle = createCallNotificationLifecycle$(props); function summarizeRingAttempts$(
ringAttempts$: Observable<RingAttempt>,
): Observable<
| { intent: RTCCallIntent; recipient: string }
| { outcome: "accept" | "decline" | "timeout" }
> {
return ringAttempts$.pipe(
mergeMap(({ intent, recipient, outcome$ }) =>
outcome$.pipe(
map((outcome) => ({ outcome })),
startWith({ intent, recipient }),
),
),
);
}
expectObservable(lifecycle.callPickupState$).toBe("a 9ms b 29ms c", { test("no ring attempt when waitForCallPickup=false", () => {
a: "unknown", withTestScheduler(({ scope, expectObservable, hot }) => {
b: "ringing", const { ringAttempts$ } = createCallNotificationLifecycle$({
c: "timeout", scope,
}); ...defaultProps,
sentCallNotification$: hot("-a", {
a: mockRingEvent("$notif1", 30),
}),
options: { ...defaultProps.options, waitForCallPickup: false },
}); });
});
it("ringing -> success if someone joins before timeout is reached", () => { expectObservable(ringAttempts$).toBe("");
withTestScheduler(({ scope, hot, behavior, expectObservable }) => { });
// Someone joins at 20ms (both LiveKit participant and MatrixRTC member) });
const props: CallNotificationLifecycleProps = {
scope, test("no ring attempt when notification type is not ring", () => {
memberships$: scope.behavior( withTestScheduler(({ scope, expectObservable, hot }) => {
behavior("a 19ms b", { const { ringAttempts$ } = createCallNotificationLifecycle$({
a: [localRtcMember], scope,
b: [localRtcMember, aliceRtcMember], ...defaultProps,
}).pipe(trackEpoch()), sentCallNotification$: hot("-a", {
), a: {
sentCallNotification$: hot("5ms a", { ...mockRingEvent("$notif1", 30),
a: mockRingEvent("$notif2", 100), notification_type: "notification",
}),
receivedDecline$: hot(""),
options: {
waitForCallPickup: true,
autoLeaveWhenOthersLeft: false,
}, },
localUser: localRtcMember, }),
}; });
const lifecycle = createCallNotificationLifecycle$(props);
expectObservable(lifecycle.callPickupState$).toBe("a 4ms b 14ms c", { expectObservable(ringAttempts$).toBe("");
a: "unknown", });
b: "ringing", });
c: "success",
}); test("no ring attempt if lifetime is missing", () => {
withTestScheduler(({ scope, expectObservable, hot }) => {
const { ringAttempts$ } = createCallNotificationLifecycle$({
scope,
...defaultProps,
sentCallNotification$: hot("-a", {
a: mockRingEvent("$notif1", undefined),
}),
}); });
expectObservable(ringAttempts$).toBe("");
}); });
it("success when someone joins before we notify", () => { });
withTestScheduler(({ scope, hot, behavior, expectObservable }) => {
// Someone joins at 20ms (both LiveKit participant and MatrixRTC member) test("ring attempt times out after nobody joins", () => {
const props: CallNotificationLifecycleProps = { withTestScheduler(({ scope, expectObservable, hot }) => {
scope, const { ringAttempts$ } = createCallNotificationLifecycle$({
memberships$: scope.behavior( scope,
behavior("a 9ms b", { ...defaultProps,
a: [localRtcMember], // No one ever joins (only local user)
b: [localRtcMember, aliceRtcMember], memberships$: constant(new Epoch([])),
}).pipe(trackEpoch()), sentCallNotification$: hot("-a", {
), a: mockRingEvent("$notif1", 30),
sentCallNotification$: hot("20ms a", { }),
a: mockRingEvent("$notif2", 50), });
}),
receivedDecline$: hot(""), expectObservable(summarizeRingAttempts$(ringAttempts$)).toBe("-a 29ms A", {
options: { a: { intent: "audio", recipient: alice.userId },
waitForCallPickup: true, A: { outcome: "timeout" },
autoLeaveWhenOthersLeft: false,
},
localUser: localRtcMember,
};
const lifecycle = createCallNotificationLifecycle$(props);
expectObservable(lifecycle.callPickupState$).toBe("a 9ms b", {
a: "unknown",
b: "success",
});
}); });
}); });
it("notify without lifetime -> immediate timeout", () => { });
withTestScheduler(({ scope, hot, behavior, expectObservable }) => {
// Someone joins at 20ms (both LiveKit participant and MatrixRTC member) test("ring attempt is accepted once recipient joins", () => {
const props: CallNotificationLifecycleProps = { withTestScheduler(({ scope, expectObservable, hot, behavior }) => {
scope, const { ringAttempts$ } = createCallNotificationLifecycle$({
memberships$: scope.behavior( scope,
behavior("a", { ...defaultProps,
a: [localRtcMember], memberships$: scope.behavior(
}).pipe(trackEpoch()), behavior("a-b", { a: [], b: [aliceRtcMember] }).pipe(trackEpoch()),
), ),
sentCallNotification$: hot("10ms a", { sentCallNotification$: hot("-a", {
a: mockRingEvent("$notif2", undefined), a: mockRingEvent("$notif1", 30),
}), }),
receivedDecline$: hot(""), });
options: {
waitForCallPickup: true, expectObservable(summarizeRingAttempts$(ringAttempts$)).toBe("-aA", {
autoLeaveWhenOthersLeft: false, a: { intent: "audio", recipient: alice.userId },
}, A: { outcome: "accept" },
localUser: localRtcMember,
};
const lifecycle = createCallNotificationLifecycle$(props);
expectObservable(lifecycle.callPickupState$).toBe("a 9ms b", {
a: "unknown",
b: "timeout",
});
}); });
}); });
});
it("stays null when waitForCallPickup=false", () => { test("ring attempt is immediately accepted if recipient is already joined", () => {
withTestScheduler(({ scope, hot, behavior, expectObservable }) => { withTestScheduler(({ scope, expectObservable, hot }) => {
// Someone joins at 20ms (both LiveKit participant and MatrixRTC member) const { ringAttempts$ } = createCallNotificationLifecycle$({
const validProps: CallNotificationLifecycleProps = { scope,
scope, ...defaultProps,
memberships$: scope.behavior( memberships$: constant(new Epoch([aliceRtcMember])),
behavior("a--b", { sentCallNotification$: hot("-a", {
a: [localRtcMember], a: mockRingEvent("$notif1", 30),
b: [localRtcMember, aliceRtcMember], }),
}).pipe(trackEpoch()), });
),
sentCallNotification$: hot("10ms a", { expectObservable(summarizeRingAttempts$(ringAttempts$)).toBe("-(aA)", {
a: mockRingEvent("$notif5", 30), a: { intent: "audio", recipient: alice.userId },
}), A: { outcome: "accept" },
receivedDecline$: hot(""),
options: {
waitForCallPickup: true,
autoLeaveWhenOthersLeft: false,
},
localUser: localRtcMember,
};
const propsDeactivated = {
...validProps,
options: {
...validProps.options,
waitForCallPickup: false,
},
};
const lifecycle = createCallNotificationLifecycle$(propsDeactivated);
expectObservable(lifecycle.callPickupState$).toBe("n", {
n: null,
});
const lifecycleReference = createCallNotificationLifecycle$(validProps);
expectObservable(lifecycleReference.callPickupState$).toBe("u--s", {
u: "unknown",
s: "success",
});
}); });
}); });
});
it("decline before timeout window ends -> decline", () => { test("ring attempt can be declined", () => {
withTestScheduler(({ scope, hot, behavior, expectObservable }) => { withTestScheduler(({ scope, expectObservable, hot }) => {
// Someone joins at 20ms (both LiveKit participant and MatrixRTC member) const { ringAttempts$ } = createCallNotificationLifecycle$({
const props: CallNotificationLifecycleProps = { scope,
scope, ...defaultProps,
memberships$: scope.behavior( sentCallNotification$: hot("-a", {
behavior("a", { a: mockRingEvent("$notif1", 30),
a: [localRtcMember], }),
}).pipe(trackEpoch()), receivedDecline$: hot("--d", {
), d: [
sentCallNotification$: hot("10ms a", { new MatrixEvent({
a: mockRingEvent("$decl1", 50), type: EventType.RTCDecline,
}), sender: alice.userId,
receivedDecline$: hot("40ms d", { content: {
d: [ "m.relates_to": {
new MatrixEvent({ rel_type: "m.reference",
type: EventType.RTCDecline, event_id: "$notif1",
content: {
"m.relates_to": {
rel_type: "m.reference",
event_id: "$decl1",
},
}, },
}), },
{} as Room, }),
undefined, {} as Room,
false, undefined,
{} as IRoomTimelineData, false,
], {} as IRoomTimelineData,
}), ],
options: { }),
waitForCallPickup: true, });
autoLeaveWhenOthersLeft: false,
}, expectObservable(summarizeRingAttempts$(ringAttempts$)).toBe("-aA", {
localUser: localRtcMember, a: { intent: "audio", recipient: alice.userId },
}; A: { outcome: "decline" },
const lifecycle = createCallNotificationLifecycle$(props);
expectObservable(lifecycle.callPickupState$).toBe("a 9ms b 29ms e", {
a: "unknown",
b: "ringing",
e: "decline",
});
}); });
}); });
it("decline after timeout window ends -> stays timeout", () => { });
withTestScheduler(({ scope, hot, behavior, expectObservable }) => {
// Someone joins at 20ms (both LiveKit participant and MatrixRTC member) test("ring attempt times out if recipient declines too late", () => {
const props: CallNotificationLifecycleProps = { withTestScheduler(({ scope, expectObservable, hot }) => {
scope, const { ringAttempts$ } = createCallNotificationLifecycle$({
memberships$: scope.behavior( scope,
behavior("a", { ...defaultProps,
a: [localRtcMember], sentCallNotification$: hot("-a", {
}).pipe(trackEpoch()), a: mockRingEvent("$notif1", 30),
), }),
sentCallNotification$: hot("10ms a", { receivedDecline$: hot("100ms d", {
a: mockRingEvent("$decl", 20), d: [
}), new MatrixEvent({
receivedDecline$: hot("40ms d", { type: EventType.RTCDecline,
d: [ sender: alice.userId,
new MatrixEvent({ content: {
type: EventType.RTCDecline, "m.relates_to": {
content: { rel_type: "m.reference",
"m.relates_to": { event_id: "$notif1",
rel_type: "m.reference",
event_id: "$decl",
},
}, },
}), },
{} as Room, }),
undefined, {} as Room,
false, undefined,
{} as IRoomTimelineData, false,
], {} as IRoomTimelineData,
}), ],
options: { }),
waitForCallPickup: true, });
autoLeaveWhenOthersLeft: false,
}, expectObservable(summarizeRingAttempts$(ringAttempts$)).toBe("-a 29ms A", {
localUser: localRtcMember, a: { intent: "audio", recipient: alice.userId },
}; A: { outcome: "timeout" },
const lifecycle = createCallNotificationLifecycle$(props);
expectObservable(lifecycle.callPickupState$, "50ms !").toBe(
"a 9ms b 19ms e",
{
a: "unknown",
b: "ringing",
e: "timeout",
},
);
}); });
}); });
// });
function testStaysRinging(
declineEvent: Partial<IEvent>, test("decline event relating to wrong event is ignored (times out)", () => {
expectDecline: boolean, withTestScheduler(({ scope, expectObservable, hot }) => {
): void { const { ringAttempts$ } = createCallNotificationLifecycle$({
withTestScheduler(({ scope, hot, behavior, expectObservable }) => { scope,
// Someone joins at 20ms (both LiveKit participant and MatrixRTC member) ...defaultProps,
const props: CallNotificationLifecycleProps = { sentCallNotification$: hot("-a", {
scope, a: mockRingEvent("$notif1", 30),
memberships$: scope.behavior( }),
behavior("a", { receivedDecline$: hot("--d", {
a: [localRtcMember], d: [
}).pipe(trackEpoch()), new MatrixEvent({
), type: EventType.RTCDecline,
sentCallNotification$: hot("10ms a", { sender: alice.userId,
a: mockRingEvent("$right", 50), content: {
}), "m.relates_to": {
receivedDecline$: hot("20ms d", { rel_type: "m.reference",
d: [ event_id: "$other", // <---- WRONG
new MatrixEvent(declineEvent), },
{} as Room, },
undefined, }),
false, {} as Room,
{} as IRoomTimelineData, undefined,
], false,
}), {} as IRoomTimelineData,
options: { ],
waitForCallPickup: true, }),
autoLeaveWhenOthersLeft: false, });
},
localUser: localRtcMember, expectObservable(summarizeRingAttempts$(ringAttempts$)).toBe("-a 29ms A", {
}; a: { intent: "audio", recipient: alice.userId },
const lifecycle = createCallNotificationLifecycle$(props); A: { outcome: "timeout" },
const marbles = expectDecline ? "a 9ms b 9ms d" : "a 9ms b";
expectObservable(lifecycle.callPickupState$, "21ms !").toBe(marbles, {
a: "unknown",
b: "ringing",
d: "decline",
});
}); });
}
const reference = (refId?: string, sender?: string): Partial<IEvent> => ({
event_id: "$decline",
type: EventType.RTCDecline,
sender: sender ?? "@other:example.org",
content: {
"m.relates_to": {
rel_type: "m.reference",
event_id: refId ?? "$right",
},
},
}); });
it("decline reference works", () => { });
testStaysRinging(reference(), true);
}); test("decline event from wrong sender is ignored (times out)", () => {
it("decline with wrong id is ignored (stays ringing)", () => { withTestScheduler(({ scope, expectObservable, hot }) => {
testStaysRinging(reference("$wrong"), false); const { ringAttempts$ } = createCallNotificationLifecycle$({
}); scope,
it("decline with wrong id is ignored (stays ringing)", () => { ...defaultProps,
testStaysRinging(reference(undefined, local.userId), false); sentCallNotification$: hot("-a", {
a: mockRingEvent("$notif1", 30),
}),
receivedDecline$: hot("--d", {
d: [
new MatrixEvent({
type: EventType.RTCDecline,
sender: local.userId, // <---- WRONG
content: {
"m.relates_to": {
rel_type: "m.reference",
event_id: "$notif1",
},
},
}),
{} as Room,
undefined,
false,
{} as IRoomTimelineData,
],
}),
});
expectObservable(summarizeRingAttempts$(ringAttempts$)).toBe("-a 29ms A", {
a: { intent: "audio", recipient: alice.userId },
A: { outcome: "timeout" },
});
}); });
}); });
@@ -10,24 +10,22 @@ import {
type IRTCNotificationContent, type IRTCNotificationContent,
type MatrixRTCSession, type MatrixRTCSession,
MatrixRTCSessionEvent, MatrixRTCSessionEvent,
type RTCCallIntent,
} from "matrix-js-sdk/lib/matrixrtc"; } from "matrix-js-sdk/lib/matrixrtc";
import { import {
combineLatest,
concat,
endWith,
filter, filter,
fromEvent, fromEvent,
ignoreElements,
map, map,
merge, merge,
NEVER, NEVER,
type Observable, type Observable,
of, of,
pairwise, pairwise,
startWith,
switchMap, switchMap,
takeUntil,
timer, timer,
EMPTY,
race,
take,
} from "rxjs"; } from "rxjs";
import { import {
type EventTimelineSetHandlerMap, type EventTimelineSetHandlerMap,
@@ -35,18 +33,28 @@ import {
type Room as MatrixRoom, type Room as MatrixRoom,
RoomEvent, RoomEvent,
} from "matrix-js-sdk"; } from "matrix-js-sdk";
import { logger as rootLogger } from "matrix-js-sdk/lib/logger";
import { type Behavior } from "../Behavior"; import { type Behavior } from "../Behavior";
import { type Epoch, mapEpoch, type ObservableScope } from "../ObservableScope"; import { type Epoch, type ObservableScope } from "../ObservableScope";
import { type RoomMemberMap } from "./remoteMembers/MatrixMemberMetadata";
const logger = rootLogger.getChild("[CallNotificationLifecycle]");
export type AutoLeaveReason = "allOthersLeft" | "timeout" | "decline"; export type AutoLeaveReason = "allOthersLeft" | "timeout" | "decline";
export type CallPickupState =
| "unknown" export interface RingAttempt {
| "ringing" intent: RTCCallIntent;
| "timeout" /**
| "decline" * The user ID of the recipient being rung.
| "success" */
| null; recipient: string;
/**
* The eventual outcome of the ringing attempt. (Emits a single value.)
*/
// TODO: Include a callback for attempting ringing again in case of a timeout
outcome$: Observable<"accept" | "decline" | "timeout">;
}
export type CallNotificationWrapper = { export type CallNotificationWrapper = {
event_id: string; event_id: string;
@@ -76,6 +84,7 @@ export function createReceivedDecline$(
export interface Props { export interface Props {
scope: ObservableScope; scope: ObservableScope;
memberships$: Behavior<Epoch<CallMembership[]>>; memberships$: Behavior<Epoch<CallMembership[]>>;
matrixRoomMembers$: Behavior<RoomMemberMap>;
sentCallNotification$: Observable<CallNotificationWrapper | null>; sentCallNotification$: Observable<CallNotificationWrapper | null>;
receivedDecline$: Observable< receivedDecline$: Observable<
Parameters<EventTimelineSetHandlerMap[RoomEvent.Timeline]> Parameters<EventTimelineSetHandlerMap[RoomEvent.Timeline]>
@@ -84,34 +93,81 @@ export interface Props {
localUser: { deviceId: string; userId: string }; localUser: { deviceId: string; userId: string };
} }
/**
* @returns two observables:
* `callPickupState$` The current call pickup state of the call.
* - "unknown": The client has not yet sent the notification event. We don't know if it will because it first needs to send its own membership.
* Then we can conclude if we were the first one to join or not.
* - "ringing": The call is ringing on other devices in this room (This client should give audiovisual feedback that this is happening).
* - "timeout": No-one picked up in the defined time this call should be ringing on others devices.
* The call failed. If desired this can be used as a trigger to exit the call.
* - "success": Someone else joined. The call is in a normal state. No audiovisual feedback.
* - null: EC is configured to never show any waiting for answer state.
*
* `autoLeave$` An observable that emits (null) when the call should be automatically left.
* - if options.autoLeaveWhenOthersLeft is set to true it emits when all others left.
* - if options.waitForCallPickup is set to true it emits if noone picked up the ring or if the ring got declined.
* - if options.autoLeaveWhenOthersLeft && options.waitForCallPickup is false it will never emit.
*
*/
export function createCallNotificationLifecycle$({ export function createCallNotificationLifecycle$({
scope, scope,
memberships$, memberships$,
matrixRoomMembers$,
sentCallNotification$, sentCallNotification$,
receivedDecline$, receivedDecline$,
options, options,
localUser, localUser,
}: Props): { }: Props): {
callPickupState$: Behavior<CallPickupState>; /**
* An observable of attempts to ring the remote participant's devices.
*/
ringAttempts$: Observable<RingAttempt>;
/**
* An observable that emits when the call should be automatically left.
* - if options.autoLeaveWhenOthersLeft is set to true it emits when all others left.
* - if options.waitForCallPickup is set to true it emits if noone picked up the ring or if the ring got declined.
* - if options.autoLeaveWhenOthersLeft && options.waitForCallPickup is false it will never emit.
*/
autoLeave$: Observable<AutoLeaveReason>; autoLeave$: Observable<AutoLeaveReason>;
} { } {
let ringAttempts$: Observable<RingAttempt> = NEVER;
if (options.waitForCallPickup)
ringAttempts$ = sentCallNotification$.pipe(
filter(
(
notificationEvent: CallNotificationWrapper | null,
): notificationEvent is CallNotificationWrapper =>
// only care about new events (legacy do not have decline pattern)
notificationEvent?.notification_type === "ring" &&
notificationEvent.lifetime > 0,
),
switchMap((notificationEvent) => {
// We assume that there is only one other user in the room when ringing
// TODO: Respect io.element.functional_members
const recipient = [...matrixRoomMembers$.value.keys()].find(
(userId) => userId !== localUser.userId,
);
if (recipient === undefined) {
logger.warn("No recipient for notification event; not ringing.");
return EMPTY;
}
// Ringing times out after lifetime ms have passed
const timeout$ = timer(notificationEvent.lifetime).pipe(
map(() => "timeout" as const),
);
// Call is accepted when the recipient joins
const accept$ = memberships$.pipe(
filter((ms) => ms.value.some((m) => m.userId === recipient)),
map(() => "accept" as const),
);
// Call is declined when we receive a decline event
const decline$ = receivedDecline$.pipe(
filter(
([event]) =>
event.getRelation()?.rel_type === "m.reference" &&
event.getRelation()?.event_id === notificationEvent.event_id &&
event.getSender() === recipient,
),
map(() => "decline" as const),
);
return of({
intent: notificationEvent["m.call.intent"] ?? "audio",
recipient,
outcome$: race(timeout$, accept$, decline$).pipe(
take(1),
scope.share,
),
});
}),
scope.share,
);
const allOthersLeft$ = memberships$.pipe( const allOthersLeft$ = memberships$.pipe(
pairwise(), pairwise(),
filter( filter(
@@ -122,87 +178,18 @@ export function createCallNotificationLifecycle$({
map(() => {}), map(() => {}),
); );
/**
* Whether some Matrix user other than ourself is joined to the call.
*/
const someoneElseJoined$ = memberships$.pipe(
mapEpoch((ms) => ms.some((m) => m.userId !== localUser.userId)),
) as Behavior<Epoch<boolean>>;
/**
* The state of the current ringing attempt, if the RTC session is indeed
* ringing the remote participant's devices. Otherwise `null`.
*/
const remoteRingState$: Behavior<"ringing" | "timeout" | "decline" | null> =
scope.behavior(
sentCallNotification$.pipe(
filter(
(notificationEventArgs: CallNotificationWrapper | null) =>
// only care about new events (legacy do not have decline pattern)
notificationEventArgs?.notification_type === "ring",
),
map((e) => e as CallNotificationWrapper),
switchMap((notificationEvent) => {
const lifetimeMs = notificationEvent?.lifetime ?? 0;
return concat(
lifetimeMs === 0
? // If no lifetime, skip the ring state
of(null)
: // Ring until lifetime ms have passed
timer(lifetimeMs).pipe(
ignoreElements(),
startWith("ringing" as const),
),
// The notification lifetime has timed out, meaning ringing has likely
// stopped on all receiving clients.
of("timeout" as const),
// This makes sure we will not drop into the `endWith("decline" as const)` state
NEVER,
).pipe(
takeUntil(
receivedDecline$.pipe(
filter(
([event]) =>
event.getRelation()?.rel_type === "m.reference" &&
event.getRelation()?.event_id ===
notificationEvent.event_id &&
event.getSender() !== localUser.userId &&
callPickupState$.value !== "timeout",
),
),
),
endWith("decline" as const),
);
}),
),
null,
);
const callPickupState$ = scope.behavior(
options.waitForCallPickup === true
? combineLatest(
[someoneElseJoined$, remoteRingState$],
(someoneElseJoined, ring) => {
if (someoneElseJoined.value === true) {
return "success" as const;
}
// Show the ringing state of the most recent ringing attempt.
// as long as we have not yet sent an RTC notification event or noone else joined,
// ring will be null -> callPickupState$ = unknown.
return ring ?? ("unknown" as const);
},
)
: NEVER,
null,
);
const autoLeave$ = merge( const autoLeave$ = merge(
options.autoLeaveWhenOthersLeft === true options.autoLeaveWhenOthersLeft === true
? allOthersLeft$.pipe(map(() => "allOthersLeft" as const)) ? allOthersLeft$.pipe(map(() => "allOthersLeft" as const))
: NEVER, : NEVER,
callPickupState$.pipe( ringAttempts$.pipe(
filter((state) => state === "timeout" || state === "decline"), switchMap(({ outcome$ }) =>
outcome$.pipe(
filter((outcome) => outcome === "timeout" || outcome === "decline"),
),
),
), ),
); );
return { autoLeave$, callPickupState$ };
return { ringAttempts$, autoLeave$ };
} }
+45 -4
View File
@@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details. Please see LICENSE in the repository root for full details.
*/ */
import { test, vi, onTestFinished, it, describe } from "vitest"; import { test, vi, onTestFinished, it, describe, expect } from "vitest";
import { import {
BehaviorSubject, BehaviorSubject,
combineLatest, combineLatest,
@@ -65,7 +65,7 @@ import {
localParticipant, localParticipant,
withCallViewModel as withCallViewModelInMode, withCallViewModel as withCallViewModelInMode,
} from "./CallViewModelTestUtils.ts"; } from "./CallViewModelTestUtils.ts";
import { MatrixRTCMode } from "../../settings/settings.ts"; import { MatrixRTCMode } from "../../config/ConfigOptions.ts";
import { initializeWidget } from "../../widget.ts"; import { initializeWidget } from "../../widget.ts";
initializeWidget(); initializeWidget();
@@ -899,6 +899,41 @@ describe.each([
}, },
); );
// TODO add media to lk mocks
test("onPipMediaOrientationUpdate is called with the spotlight media orientation", () => {
// Set the spy before creating the view model so the initial call is captured
const onPipMediaOrientationUpdate = vi.fn();
window.controls.onPipMediaOrientationUpdate = onPipMediaOrientationUpdate;
onTestFinished(() => {
window.controls.onPipMediaOrientationUpdate = undefined;
});
withTestScheduler(({ behavior }) => {
// Alice starts as a regular participant, then shares her screen, then stops
const aliceSharingInputMarbles = "nyn";
withCallViewModel(
{
remoteParticipants$: constant([aliceParticipant]),
rtcMembers$: constant([localRtcMember, aliceRtcMember]),
sharingScreen: new Map([
[aliceParticipant, behavior(aliceSharingInputMarbles, yesNo)],
]),
},
() => {},
);
});
// Should be called exactly 3 times:
// 1. Initially with "portrait" (Alice is in spotlight as a user, default portrait orientation)
// 2. With "landscape" when Alice starts screen sharing (screen shares always use landscape)
// 3. With "portrait" again when Alice stops screen sharing and returns to user tile
expect(onPipMediaOrientationUpdate).toHaveBeenCalledTimes(3);
expect(onPipMediaOrientationUpdate).toHaveBeenNthCalledWith(1, "portrait");
expect(onPipMediaOrientationUpdate).toHaveBeenNthCalledWith(2, "landscape");
expect(onPipMediaOrientationUpdate).toHaveBeenNthCalledWith(3, "portrait");
});
test("PiP tile in expanded spotlight layout switches speakers without layout shifts", () => { test("PiP tile in expanded spotlight layout switches speakers without layout shifts", () => {
withTestScheduler(({ behavior, schedule, expectObservable }) => { withTestScheduler(({ behavior, schedule, expectObservable }) => {
// Switch to spotlight immediately // Switch to spotlight immediately
@@ -1386,7 +1421,10 @@ describe.each([
}); });
// Should ring for 30ms and then time out // Should ring for 30ms and then time out
expectObservable(vm.ringing$).toBe("(ny) 26ms n", yesNo); expectObservable(vm.ringingIntent$).toBe("(ab) 26ms a", {
a: null,
b: "audio",
});
// Layout should show placeholder media for the participant we're // Layout should show placeholder media for the participant we're
// ringing the entire time (even once timed out) // ringing the entire time (even once timed out)
expectObservable(summarizeLayout$(vm.layout$)).toBe("a", { expectObservable(summarizeLayout$(vm.layout$)).toBe("a", {
@@ -1425,7 +1463,10 @@ describe.each([
}); });
// Should ring until Alice joins // Should ring until Alice joins
expectObservable(vm.ringing$).toBe("(ny) 17ms n", yesNo); expectObservable(vm.ringingIntent$).toBe("(ab) 17ms a", {
a: null,
b: "audio",
});
// Layout should show placeholder media for the participant we're // Layout should show placeholder media for the participant we're
// ringing the entire time // ringing the entire time
expectObservable(summarizeLayout$(vm.layout$)).toBe("a 20ms b", { expectObservable(summarizeLayout$(vm.layout$)).toBe("a 20ms b", {
+115 -81
View File
@@ -29,7 +29,6 @@ import {
pairwise, pairwise,
race, race,
scan, scan,
skipWhile,
startWith, startWith,
Subject, Subject,
switchAll, switchAll,
@@ -39,10 +38,13 @@ import {
tap, tap,
throttleTime, throttleTime,
timer, timer,
takeUntil,
concat,
} from "rxjs"; } from "rxjs";
import { logger as rootLogger } from "matrix-js-sdk/lib/logger"; import { logger as rootLogger } from "matrix-js-sdk/lib/logger";
import { import {
MembershipManagerEvent, MembershipManagerEvent,
type RTCCallIntent,
type LivekitTransportConfig, type LivekitTransportConfig,
type MatrixRTCSession, type MatrixRTCSession,
} from "matrix-js-sdk/lib/matrixrtc"; } from "matrix-js-sdk/lib/matrixrtc";
@@ -60,10 +62,11 @@ import {
} from "../../utils/observable"; } from "../../utils/observable";
import { import {
duplicateTiles, duplicateTiles,
MatrixRTCMode,
playReactionsSound, playReactionsSound,
showReactions, showReactions,
} from "../../settings/settings"; } from "../../settings/settings";
import { Config } from "../../config/Config";
import { MatrixRTCMode } from "../../config/ConfigOptions";
import { isFirefox, platform } from "../../Platform"; import { isFirefox, platform } from "../../Platform";
import { setPipEnabled$ } from "../../controls"; import { setPipEnabled$ } from "../../controls";
import { TileStore } from "../TileStore"; import { TileStore } from "../TileStore";
@@ -229,9 +232,9 @@ export interface CallViewModel {
// lifecycle // lifecycle
autoLeave$: Observable<AutoLeaveReason>; autoLeave$: Observable<AutoLeaveReason>;
/** /**
* Whether we are ringing a call recipient. * Whether we are ringing a call recipient. Contains the ringing intent if so.
*/ */
ringing$: Behavior<boolean>; ringingIntent$: Behavior<RTCCallIntent | null>;
/** Observable that emits when the user should leave the call (hangup pressed, widget action, error). /** Observable that emits when the user should leave the call (hangup pressed, widget action, error).
* THIS DOES NOT LEAVE THE CALL YET. The only way to leave the call (send the hangup event) is * THIS DOES NOT LEAVE THE CALL YET. The only way to leave the call (send the hangup event) is
* - by ending the scope * - by ending the scope
@@ -416,8 +419,15 @@ export function createCallViewModel$(
options.encryptionSystem, options.encryptionSystem,
matrixRTCSession, matrixRTCSession,
); );
// matrix_rtc_mode in config.json overrides the user's Developer Settings choice.
// It is validated at config load (src/config/Config.ts) so the cast is safe.
const configMatrixRTCMode = Config.get().matrix_rtc_mode as
| MatrixRTCMode
| undefined;
const matrixRTCMode$ = const matrixRTCMode$ =
options.matrixRTCMode$ ?? constant(MatrixRTCMode.Legacy); configMatrixRTCMode !== undefined
? constant(configMatrixRTCMode)
: (options.matrixRTCMode$ ?? constant(MatrixRTCMode.Legacy));
// Each hbar seperates a block of input variables required for the CallViewModel to function. // Each hbar seperates a block of input variables required for the CallViewModel to function.
// The outputs of this block is written under the hbar. // The outputs of this block is written under the hbar.
@@ -602,20 +612,6 @@ export function createCallViewModel$(
), ),
); );
// ------------------------------------------------------------------------
// callLifecycle
// TODO if we are in "unknown" state we need a loading rendering (or empty screen)
// Otherwise it looks like we already connected and only than the ringing starts which is weird.
const { callPickupState$, autoLeave$ } = createCallNotificationLifecycle$({
scope: scope,
memberships$: memberships$,
sentCallNotification$: createSentCallNotification$(scope, matrixRTCSession),
receivedDecline$: createReceivedDecline$(matrixRoom),
options: options,
localUser: { userId: userId, deviceId: deviceId },
});
// ------------------------------------------------------------------------ // ------------------------------------------------------------------------
// matrixMemberMetadataStore // matrixMemberMetadataStore
@@ -626,6 +622,21 @@ export function createCallViewModel$(
matrixRoomMembers$, matrixRoomMembers$,
); );
// ------------------------------------------------------------------------
// callLifecycle
// TODO if we are in "unknown" state we need a loading rendering (or empty screen)
// Otherwise it looks like we already connected and only than the ringing starts which is weird.
const { ringAttempts$, autoLeave$ } = createCallNotificationLifecycle$({
scope,
memberships$,
matrixRoomMembers$,
sentCallNotification$: createSentCallNotification$(scope, matrixRTCSession),
receivedDecline$: createReceivedDecline$(matrixRoom),
options,
localUser: { userId, deviceId },
});
const allConnections$ = scope.behavior( const allConnections$ = scope.behavior(
connectionManager.connectionManagerData$.pipe(map((d) => d.value)), connectionManager.connectionManagerData$.pipe(map((d) => d.value)),
); );
@@ -758,11 +769,13 @@ export function createCallViewModel$(
pretendToBeDisconnected$: localMembership.reconnecting$, pretendToBeDisconnected$: localMembership.reconnecting$,
displayName$: scope.behavior( displayName$: scope.behavior(
matrixMemberMetadataStore matrixMemberMetadataStore
.createDisplayNameBehavior$(userId) .createDisplayNameBehavior$(scope, userId)
.pipe(map((name) => name ?? userId)), .pipe(map((name) => name ?? userId)),
), ),
mxcAvatarUrl$: mxcAvatarUrl$: matrixMemberMetadataStore.createAvatarUrlBehavior$(
matrixMemberMetadataStore.createAvatarUrlBehavior$(userId), scope,
userId,
),
handRaised$: scope.behavior( handRaised$: scope.behavior(
handsRaised$.pipe(map((v) => v[mediaId]?.time ?? null)), handsRaised$.pipe(map((v) => v[mediaId]?.time ?? null)),
), ),
@@ -774,49 +787,42 @@ export function createCallViewModel$(
), ),
); );
const ringingMedia$ = scope.behavior<RingingMediaViewModel[]>( const ringingMedia$ = scope.behavior<RingingMediaViewModel | null>(
combineLatest([userMedia$, matrixRoomMembers$, callPickupState$]).pipe( ringAttempts$.pipe(
generateItems( switchMap(({ intent, recipient, outcome$ }) =>
"CallViewModel ringingMedia$", outcome$.pipe(
function* ([userMedia, roomMembers, callPickupState]) { startWith("ringing" as const),
if ( generateItems(
callPickupState === "ringing" || "CallViewModel ringingMedia$",
callPickupState === "timeout" || function* (pickupState) {
callPickupState === "decline" if (pickupState !== "accept")
) { yield { keys: [intent, recipient], data: pickupState };
// TODO: Respect io.element.functional_members },
for (const member of roomMembers.values()) { (scope, pickupState$, intent, userId) =>
if (!userMedia.some((vm) => vm.userId === member.userId)) createRingingMedia({
yield { id: `ringing:${userId}`,
keys: [member.userId], userId,
data: callPickupState, displayName$: scope.behavior(
}; matrixRoomMembers$.pipe(
} map(
} (members) =>
}, members.get(userId)?.rawDisplayName || userId,
(scope, pickupState$, userId) => ),
createRingingMedia({ ),
id: `ringing:${userId}`, ),
userId, mxcAvatarUrl$:
displayName$: scope.behavior( matrixMemberMetadataStore.createAvatarUrlBehavior$(
matrixRoomMembers$.pipe( scope,
map((members) => members.get(userId)?.rawDisplayName || userId), userId,
), ),
), pickupState$,
mxcAvatarUrl$: intent,
matrixMemberMetadataStore.createAvatarUrlBehavior$(userId), }),
pickupState$, ),
muteStates, map(([media]) => media ?? null),
}), ),
), ),
distinctUntilChanged(shallowEquals), startWith(null),
tap((ringingMedia) => {
if (ringingMedia.length > 1)
// Warn that UI may do something unexpected in this case
logger.warn(
`Ringing more than one participant is not supported (ringing ${ringingMedia.map((vm) => vm.userId).join(", ")})`,
);
}),
), ),
); );
@@ -858,11 +864,7 @@ export function createCallViewModel$(
matrixLivekitMembers$.pipe(map((ms) => ms.value.length)), matrixLivekitMembers$.pipe(map((ms) => ms.value.length)),
); );
const leaveSoundEffect$ = combineLatest([callPickupState$, userMedia$]).pipe( const leaveSoundEffect$ = userMedia$.pipe(
// Until the call is successful, do not play a leave sound.
// If callPickupState$ is null, then we always play the sound as it will not conflict with a decline sound.
skipWhile(([c]) => c !== null && c !== "success"),
map(([, userMedia]) => userMedia),
pairwise(), pairwise(),
filter( filter(
([prev, current]) => ([prev, current]) =>
@@ -871,6 +873,9 @@ export function createCallViewModel$(
), ),
map(() => {}), map(() => {}),
throttleTime(THROTTLE_SOUND_EFFECT_MS), throttleTime(THROTTLE_SOUND_EFFECT_MS),
// Avoid doubling up on any auto-leave sounds (e.g. the decline sound),
// which are handled elsewhere
takeUntil(autoLeave$),
); );
const userHangup$ = new Subject<void>(); const userHangup$ = new Subject<void>();
@@ -975,8 +980,8 @@ export function createCallViewModel$(
}>( }>(
ringingMedia$.pipe( ringingMedia$.pipe(
switchMap((ringingMedia) => { switchMap((ringingMedia) => {
if (ringingMedia.length > 0) if (ringingMedia !== null)
return of({ spotlight: ringingMedia, pip$: localUserMediaForPip$ }); return of({ spotlight: [ringingMedia], pip$: localUserMediaForPip$ });
return screenShares$.pipe( return screenShares$.pipe(
switchMap((screenShares) => { switchMap((screenShares) => {
@@ -1132,14 +1137,10 @@ export function createCallViewModel$(
// show ringing media instead // show ringing media instead
if (userMedia.length === 1) if (userMedia.length === 1)
return ringingMedia$.pipe( return ringingMedia$.pipe(
map((ringingMedia) => { map(
return ringingMedia.length === 1 (ringingMedia) =>
? { ringingMedia && { local, remote: ringingMedia },
local, ),
remote: ringingMedia[0],
}
: null;
}),
); );
} }
} }
@@ -1191,6 +1192,33 @@ export function createCallViewModel$(
})), })),
); );
spotlight$
.pipe(
switchMap((media) => {
let layout;
const pipMedia = media[0];
if (pipMedia === undefined) return of(undefined);
switch (pipMedia.type) {
case "user":
layout = pipMedia.videoOrientation$;
break;
case "ringing":
layout = of("landscape" as const);
break;
case "screen share":
layout = of("landscape" as const);
break;
}
return layout;
}),
scope.bind(),
)
.subscribe((orientation) => {
if (orientation === undefined) return;
logger.info("controls api pip orientation updated:", orientation);
window.controls.onPipMediaOrientationUpdate?.(orientation);
});
/** /**
* The media to be used to produce a layout. * The media to be used to produce a layout.
*/ */
@@ -1689,8 +1717,14 @@ export function createCallViewModel$(
return { return {
autoLeave$: autoLeave$, autoLeave$: autoLeave$,
ringing$: scope.behavior( ringingIntent$: scope.behavior(
callPickupState$.pipe(map((state) => state === "ringing")), ringAttempts$.pipe(
switchMap(({ intent, outcome$ }) =>
// Hold the intent as the value until the ring attempt completes
concat(of(intent), NEVER.pipe(takeUntil(outcome$)), of(null)),
),
startWith<RTCCallIntent | null>(null),
),
), ),
leave$: leave$, leave$: leave$,
hangup: (): void => userHangup$.next(), hangup: (): void => userHangup$.next(),
@@ -56,7 +56,7 @@ import {
import { type Behavior, constant } from "../Behavior"; import { type Behavior, constant } from "../Behavior";
import { type ProcessorState } from "../../livekit/TrackProcessorContext"; import { type ProcessorState } from "../../livekit/TrackProcessorContext";
import { type MediaDevices } from "../MediaDevices"; import { type MediaDevices } from "../MediaDevices";
import { type MatrixRTCMode } from "../../settings/settings"; import { type MatrixRTCMode } from "../../config/ConfigOptions";
mockConfig({ mockConfig({
livekit: { livekit_service_url: "http://my-default-service-url.com" }, livekit: { livekit_service_url: "http://my-default-service-url.com" },
@@ -26,7 +26,7 @@ import { logger } from "matrix-js-sdk/lib/logger";
import { type LocalParticipant, type LocalTrack } from "livekit-client"; import { type LocalParticipant, type LocalTrack } from "livekit-client";
import { PosthogAnalytics } from "../../../analytics/PosthogAnalytics"; import { PosthogAnalytics } from "../../../analytics/PosthogAnalytics";
import { MatrixRTCMode } from "../../../settings/settings"; import { MatrixRTCMode } from "../../../config/ConfigOptions";
import { type HomeserverDisconnectReason } from "./HomeserverConnected"; import { type HomeserverDisconnectReason } from "./HomeserverConnected";
import { import {
flushPromises, flushPromises,
@@ -53,7 +53,7 @@ import {
import { ElementWidgetActions, widget } from "../../../widget.ts"; import { ElementWidgetActions, widget } from "../../../widget.ts";
import { getUrlParams } from "../../../UrlParams.ts"; import { getUrlParams } from "../../../UrlParams.ts";
import { PosthogAnalytics } from "../../../analytics/PosthogAnalytics.ts"; import { PosthogAnalytics } from "../../../analytics/PosthogAnalytics.ts";
import { MatrixRTCMode } from "../../../settings/settings.ts"; import { MatrixRTCMode } from "../../../config/ConfigOptions.ts";
import { Config } from "../../../config/Config.ts"; import { Config } from "../../../config/Config.ts";
import { import {
ConnectionState, ConnectionState,
@@ -63,6 +63,7 @@ function createMockLocalTrack(source: Track.Source): LocalTrack {
function createMockMuteState(enabled$: BehaviorSubject<boolean>): { function createMockMuteState(enabled$: BehaviorSubject<boolean>): {
enabled$: BehaviorSubject<boolean>; enabled$: BehaviorSubject<boolean>;
syncing$: BehaviorSubject<boolean>;
setHandler: (h: (enabled: boolean) => void) => void; setHandler: (h: (enabled: boolean) => void) => void;
unsetHandler: () => void; unsetHandler: () => void;
} { } {
@@ -70,6 +71,7 @@ function createMockMuteState(enabled$: BehaviorSubject<boolean>): {
const ms = { const ms = {
enabled$, enabled$,
syncing$: new BehaviorSubject(false),
setHandler: vi.fn().mockImplementation((h: (enabled: boolean) => void) => { setHandler: vi.fn().mockImplementation((h: (enabled: boolean) => void) => {
currentHandler = h; currentHandler = h;
}), }),
@@ -132,6 +134,7 @@ beforeEach(() => {
new Map(), new Map(),
{}, {},
{}, {},
{},
); );
vi.mocked(localParticipant).createTracks = vi vi.mocked(localParticipant).createTracks = vi
@@ -112,27 +112,49 @@ export class Publisher {
this.logger.info("Local track published", localTrackPublication); this.logger.info("Local track published", localTrackPublication);
const lkRoom = this.connection.livekitRoom; const lkRoom = this.connection.livekitRoom;
if (!this.shouldPublish) { if (!this.shouldPublish) {
this.logger.debug("Not publishing, pausing upstream");
this.pauseUpstreams(lkRoom, [localTrackPublication.source]).catch((e) => { this.pauseUpstreams(lkRoom, [localTrackPublication.source]).catch((e) => {
this.logger.error(`Failed to pause upstreams`, e); this.logger.error(`Failed to pause upstreams`, e);
}); });
} }
// also check the mute state and apply it
if (localTrackPublication.source === Track.Source.Microphone) { if (localTrackPublication.source === Track.Source.Microphone) {
const enabled = this.muteStates.audio.enabled$.value; const muteState = this.muteStates.audio;
lkRoom.localParticipant.setMicrophoneEnabled(enabled).catch((e) => { // skip this if a sync is in progress: enabled$ still reflects the old
this.logger.error( // state while the handler is mid-flight, so the handler itself will apply
`Failed to enable microphone track, enabled:${enabled}`, // the correct mute state once it completes.
e, if (!muteState.syncing$.value) {
); const enabled = muteState.enabled$.value;
}); if (!enabled) {
this.logger.info(
"Local audio track just published but muted meanwhile, setting enabled to false",
);
lkRoom.localParticipant.setMicrophoneEnabled(false).catch((e) => {
this.logger.error(
`Failed to enable microphone track, enabled:${enabled}`,
e,
);
});
}
}
} else if (localTrackPublication.source === Track.Source.Camera) { } else if (localTrackPublication.source === Track.Source.Camera) {
const enabled = this.muteStates.video.enabled$.value; const muteState = this.muteStates.video;
lkRoom.localParticipant.setCameraEnabled(enabled).catch((e) => { // skip this if a sync is in progress: enabled$ still reflects the old
this.logger.error( // state while the handler is mid-flight, so the handler itself will apply
`Failed to enable camera track, enabled:${enabled}`, // the correct mute state once it completes.
e, if (!muteState.syncing$.value) {
); const enabled = muteState.enabled$.value;
}); if (!enabled) {
this.logger.info(
"Local video track just published but muted meanwhile, setting enabled to false",
);
lkRoom.localParticipant.setCameraEnabled(false).catch((e) => {
this.logger.error(
`Failed to enable camera track, enabled:${enabled}`,
e,
);
});
}
}
} }
} }
/** /**
@@ -260,7 +260,10 @@ describe("Start connection states", () => {
await deferredSFU.promise; await deferredSFU.promise;
return { return {
status: 500, status: 500,
body: "Internal Server Error", body: {
errcode: "M_LOOKUP_FAILED",
error: "Failed to look up user info from homeserver",
},
}; };
}); });
@@ -282,7 +285,7 @@ describe("Start connection states", () => {
capturedState.cause instanceof Error capturedState.cause instanceof Error
) { ) {
expect(capturedState.cause.message).toContain( expect(capturedState.cause.message).toContain(
"SFU Config fetch failed with status code 500", "Failed to look up user info from homeserver",
); );
expect(connection.transport.livekit_alias).toEqual( expect(connection.transport.livekit_alias).toEqual(
livekitFocus.livekit_alias, livekitFocus.livekit_alias,
@@ -12,8 +12,9 @@ import {
} from "@livekit/components-core"; } from "@livekit/components-core";
import { import {
ConnectionError, ConnectionError,
type Room as LivekitRoom, ConnectionErrorReason,
type RemoteParticipant, type RemoteParticipant,
type Room as LivekitRoom,
} from "livekit-client"; } from "livekit-client";
import { type LivekitTransportConfig } from "matrix-js-sdk/lib/matrixrtc"; import { type LivekitTransportConfig } from "matrix-js-sdk/lib/matrixrtc";
import { BehaviorSubject, map } from "rxjs"; import { BehaviorSubject, map } from "rxjs";
@@ -30,6 +31,8 @@ import { type ObservableScope } from "../../ObservableScope.ts";
import { import {
ElementCallError, ElementCallError,
InsufficientCapacityError, InsufficientCapacityError,
LivekitConnectionError,
PeerConnectionTimeoutError,
SFURoomCreationRestrictedError, SFURoomCreationRestrictedError,
UnknownCallError, UnknownCallError,
} from "../../../utils/errors.ts"; } from "../../../utils/errors.ts";
@@ -248,6 +251,13 @@ export class Connection {
// In the first case there will not be a 404, so we are in the second case. // In the first case there will not be a 404, so we are in the second case.
throw new SFURoomCreationRestrictedError(); throw new SFURoomCreationRestrictedError();
} }
if (e.reason === ConnectionErrorReason.Timeout) {
// Unabled to establish peer connection within the timeout
throw new PeerConnectionTimeoutError();
}
throw new LivekitConnectionError(e);
} }
throw e; throw e;
} }
@@ -105,7 +105,7 @@ describe("MatrixMemberMetadata", () => {
} }
it("should show our own user if present in rtc session and room", () => { it("should show our own user if present in rtc session and room", () => {
withTestScheduler(({ behavior, expectObservable }) => { withTestScheduler(({ scope, behavior, expectObservable }) => {
fakeMemberWith({ fakeMemberWith({
userId: "@local:example.com", userId: "@local:example.com",
rawDisplayName: "it's a me", rawDisplayName: "it's a me",
@@ -118,8 +118,10 @@ describe("MatrixMemberMetadata", () => {
memberships$, memberships$,
createRoomMembers$(testScope, mockMatrixRoom), createRoomMembers$(testScope, mockMatrixRoom),
); );
const dn$ = const dn$ = metadataStore.createDisplayNameBehavior$(
metadataStore.createDisplayNameBehavior$("@local:example.com"); scope,
"@local:example.com",
);
expectObservable(dn$).toBe("a", { expectObservable(dn$).toBe("a", {
a: "it's a me", a: "it's a me",
@@ -146,7 +148,7 @@ describe("MatrixMemberMetadata", () => {
it("should get displayName for users", () => { it("should get displayName for users", () => {
setUpBasicRoom(); setUpBasicRoom();
withTestScheduler(({ behavior, expectObservable }) => { withTestScheduler(({ scope, behavior, expectObservable }) => {
const memberships$ = behavior("a", { const memberships$ = behavior("a", {
a: [ a: [
mockRtcMembership("@alice:example.com", "DEVICE1"), mockRtcMembership("@alice:example.com", "DEVICE1"),
@@ -158,8 +160,10 @@ describe("MatrixMemberMetadata", () => {
memberships$, memberships$,
createRoomMembers$(testScope, mockMatrixRoom), createRoomMembers$(testScope, mockMatrixRoom),
); );
const aliceDispName$ = const aliceDispName$ = metadataStore.createDisplayNameBehavior$(
metadataStore.createDisplayNameBehavior$("@alice:example.com"); scope,
"@alice:example.com",
);
expectObservable(aliceDispName$).toBe("a", { expectObservable(aliceDispName$).toBe("a", {
a: "Alice", a: "Alice",
@@ -322,7 +326,7 @@ describe("MatrixMemberMetadata", () => {
}); });
it("should track individual member id with createDisplayNameBehavior", () => { it("should track individual member id with createDisplayNameBehavior", () => {
withTestScheduler(({ behavior, schedule, expectObservable }) => { withTestScheduler(({ scope, behavior, schedule, expectObservable }) => {
setUpBasicRoom(); setUpBasicRoom();
const BOB = "@bob:example.com"; const BOB = "@bob:example.com";
const CARL = "@carl:example.com"; const CARL = "@carl:example.com";
@@ -356,8 +360,8 @@ describe("MatrixMemberMetadata", () => {
createRoomMembers$(testScope, mockMatrixRoom), createRoomMembers$(testScope, mockMatrixRoom),
); );
const bob$ = metadataStore.createDisplayNameBehavior$(BOB); const bob$ = metadataStore.createDisplayNameBehavior$(scope, BOB);
const carl$ = metadataStore.createDisplayNameBehavior$(CARL); const carl$ = metadataStore.createDisplayNameBehavior$(scope, CARL);
expectObservable(bob$).toBe("abc-", { expectObservable(bob$).toBe("abc-", {
a: undefined, a: undefined,
@@ -378,7 +382,7 @@ describe("MatrixMemberMetadata", () => {
}); });
it("should disambiguate users with invisible characters", () => { it("should disambiguate users with invisible characters", () => {
withTestScheduler(({ behavior, expectObservable }) => { withTestScheduler(({ scope, behavior, expectObservable }) => {
const bobRtcMember = mockRtcMembership("@bob:example.org", "BBBB"); const bobRtcMember = mockRtcMembership("@bob:example.org", "BBBB");
const bobZeroWidthSpaceRtcMember = mockRtcMembership( const bobZeroWidthSpaceRtcMember = mockRtcMembership(
"@bob2:example.org", "@bob2:example.org",
@@ -411,12 +415,18 @@ describe("MatrixMemberMetadata", () => {
createRoomMembers$(testScope, mockMatrixRoom), createRoomMembers$(testScope, mockMatrixRoom),
); );
const bob$ = const bob$ = metadataStore.createDisplayNameBehavior$(
metadataStore.createDisplayNameBehavior$("@bob:example.org"); scope,
const bob2$ = "@bob:example.org",
metadataStore.createDisplayNameBehavior$("@bob2:example.org"); );
const carol$ = const bob2$ = metadataStore.createDisplayNameBehavior$(
metadataStore.createDisplayNameBehavior$("@carol:example.org"); scope,
"@bob2:example.org",
);
const carol$ = metadataStore.createDisplayNameBehavior$(
scope,
"@carol:example.org",
);
expectObservable(bob$).toBe("ab", { expectObservable(bob$).toBe("ab", {
a: "Bob", a: "Bob",
b: "Bob (@bob:example.org)", b: "Bob (@bob:example.org)",
@@ -517,7 +527,7 @@ describe("MatrixMemberMetadata", () => {
} }
it("should use avatar url from room members", () => { it("should use avatar url from room members", () => {
withTestScheduler(({ behavior, expectObservable }) => { withTestScheduler(({ scope, behavior, expectObservable }) => {
fakeMemberWith({ fakeMemberWith({
userId: "@local:example.com", userId: "@local:example.com",
}); });
@@ -536,11 +546,15 @@ describe("MatrixMemberMetadata", () => {
memberships$, memberships$,
createRoomMembers$(testScope, mockMatrixRoom), createRoomMembers$(testScope, mockMatrixRoom),
); );
const local$ = const local$ = metadataStore.createAvatarUrlBehavior$(
metadataStore.createAvatarUrlBehavior$("@local:example.com"); scope,
"@local:example.com",
);
const alice$ = const alice$ = metadataStore.createAvatarUrlBehavior$(
metadataStore.createAvatarUrlBehavior$("@alice:example.com"); scope,
"@alice:example.com",
);
expectObservable(local$).toBe("a", { expectObservable(local$).toBe("a", {
a: "mxc://example.com/@local:example.com", a: "mxc://example.com/@local:example.com",
@@ -558,7 +572,7 @@ describe("MatrixMemberMetadata", () => {
}); });
it("should update on avatar change and user join/leave", () => { it("should update on avatar change and user join/leave", () => {
withTestScheduler(({ behavior, schedule, expectObservable }) => { withTestScheduler(({ scope, behavior, schedule, expectObservable }) => {
fakeMemberWith({ userId: "@carl:example.com" }); fakeMemberWith({ userId: "@carl:example.com" });
fakeMemberWith({ userId: "@bob:example.com" }); fakeMemberWith({ userId: "@bob:example.com" });
const memberships$ = behavior("ab-d", { const memberships$ = behavior("ab-d", {
@@ -585,9 +599,14 @@ describe("MatrixMemberMetadata", () => {
}, },
}); });
const bob$ = metadataStore.createAvatarUrlBehavior$("@bob:example.com"); const bob$ = metadataStore.createAvatarUrlBehavior$(
const carl$ = scope,
metadataStore.createAvatarUrlBehavior$("@carl:example.com"); "@bob:example.com",
);
const carl$ = metadataStore.createAvatarUrlBehavior$(
scope,
"@carl:example.com",
);
expectObservable(bob$).toBe("a---", { expectObservable(bob$).toBe("a---", {
a: "mxc://example.com/@bob:example.com", a: "mxc://example.com/@bob:example.com",
}); });
@@ -115,8 +115,14 @@ export const createMatrixMemberMetadata$ = (
memberships$: Behavior<Pick<CallMembership, "userId">[]>, memberships$: Behavior<Pick<CallMembership, "userId">[]>,
roomMembers$: Behavior<RoomMemberMap>, roomMembers$: Behavior<RoomMemberMap>,
): { ): {
createDisplayNameBehavior$: (userId: string) => Behavior<string | undefined>; createDisplayNameBehavior$: (
createAvatarUrlBehavior$: (userId: string) => Behavior<string | undefined>; scope: ObservableScope,
userId: string,
) => Behavior<string | undefined>;
createAvatarUrlBehavior$: (
scope: ObservableScope,
userId: string,
) => Behavior<string | undefined>;
displaynameMap$: Behavior<Map<string, string>>; displaynameMap$: Behavior<Map<string, string>>;
avatarMap$: Behavior<Map<string, string | undefined>>; avatarMap$: Behavior<Map<string, string | undefined>>;
} => { } => {
@@ -136,13 +142,13 @@ export const createMatrixMemberMetadata$ = (
), ),
); );
return { return {
createDisplayNameBehavior$: (userId: string) => createDisplayNameBehavior$: (scope: ObservableScope, userId: string) =>
scope.behavior( scope.behavior(
displaynameMap$.pipe( displaynameMap$.pipe(
map((displaynameMap) => displaynameMap.get(userId)), map((displaynameMap) => displaynameMap.get(userId)),
), ),
), ),
createAvatarUrlBehavior$: (userId: string) => createAvatarUrlBehavior$: (scope: ObservableScope, userId: string) =>
scope.behavior( scope.behavior(
roomMembers$.pipe( roomMembers$.pipe(
map((roomMembers) => roomMembers.get(userId)?.getMxcAvatarUrl()), map((roomMembers) => roomMembers.get(userId)?.getMxcAvatarUrl()),
+1 -1
View File
@@ -15,7 +15,7 @@ import { constant } from "./Behavior.ts";
import { aliceParticipant, localRtcMember } from "../utils/test-fixtures.ts"; import { aliceParticipant, localRtcMember } from "../utils/test-fixtures.ts";
import { ElementWidgetActions, widget } from "../widget.ts"; import { ElementWidgetActions, widget } from "../widget.ts";
import { E2eeType } from "../e2ee/e2eeType.ts"; import { E2eeType } from "../e2ee/e2eeType.ts";
import { MatrixRTCMode } from "../settings/settings.ts"; import { MatrixRTCMode } from "../config/ConfigOptions.ts";
vi.mock("@livekit/components-core", { spy: true }); vi.mock("@livekit/components-core", { spy: true });
+69
View File
@@ -92,6 +92,75 @@ describe("MuteState", () => {
await flushPromises(); await flushPromises();
expect(lastEnabled).toBe(true); expect(lastEnabled).toBe(true);
}); });
test("should ignore toggle while syncing but still process set requests", async () => {
const deviceStub = {
available$: constant(
new Map<string, DeviceLabel>([
["mic", { type: "name", name: "Microphone" }],
]),
),
selected$: constant({ id: "mic" }),
select(): void {},
} as unknown as MediaDevice<DeviceLabel, SelectedDevice>;
const muteState = new MuteState(
testScope,
deviceStub,
false,
constant(false),
);
const first = Promise.withResolvers<boolean>();
const second = Promise.withResolvers<boolean>();
const handler = vi
.fn<(desired: boolean) => Promise<boolean>>()
.mockImplementationOnce(async () => first.promise)
.mockImplementationOnce(async () => second.promise);
muteState.setHandler(handler);
const syncingValues: boolean[] = [];
muteState.syncing$.subscribe((syncing) => {
syncingValues.push(syncing);
});
let setEnabled: ((enabled: boolean) => void) | null = null;
muteState.setEnabled$.subscribe((setter) => {
setEnabled = setter;
});
let toggle: (() => void) | null = null;
muteState.toggle$.subscribe((toggleFn) => {
toggle = toggleFn;
});
await flushPromises();
// Start syncing by requesting unmute.
toggle!();
await flushPromises();
expect(handler).toHaveBeenCalledTimes(1);
expect(handler).toHaveBeenNthCalledWith(1, true);
// Toggle requests are ignored while syncing.
toggle!();
await flushPromises();
expect(handler).toHaveBeenCalledTimes(1);
// setEnabled still updates latest desired state while syncing (push-to-talk).
setEnabled!(false);
await flushPromises();
expect(handler).toHaveBeenCalledTimes(1);
first.resolve(true);
await flushPromises();
expect(handler).toHaveBeenCalledTimes(2);
expect(handler).toHaveBeenNthCalledWith(2, false);
second.resolve(false);
await flushPromises();
expect(syncingValues).toContain(true);
expect(syncingValues.at(-1)).toBe(false);
});
}); });
describe("MuteStates", () => { describe("MuteStates", () => {
+29 -10
View File
@@ -30,6 +30,7 @@ import { type Behavior, constant } from "./Behavior";
interface MuteStateData { interface MuteStateData {
enabled$: Observable<boolean>; enabled$: Observable<boolean>;
syncing$: Observable<boolean>;
set: ((enabled: boolean) => void) | null; set: ((enabled: boolean) => void) | null;
toggle: (() => void) | null; toggle: (() => void) | null;
} }
@@ -79,33 +80,40 @@ export class MuteState<Label, Selected> {
this.handler$.value(false).catch((err) => { this.handler$.value(false).catch((err) => {
logger.error("MuteState-disable: handler error", err); logger.error("MuteState-disable: handler error", err);
}); });
return { enabled$: of(false), set: null, toggle: null }; return {
enabled$: of(false),
syncing$: of(false),
set: null,
toggle: null,
};
} }
// Assume the default value only once devices are actually connected // Assume the default value only once devices are actually connected
let enabled = this.enabledByDefault; let enabled = this.enabledByDefault;
const set$ = new Subject<boolean>(); const set$ = new Subject<boolean>();
const toggle$ = new Subject<void>(); const toggle$ = new Subject<void>();
const syncing$ = new BehaviorSubject(false);
const desired$ = merge(set$, toggle$.pipe(map(() => !enabled))); const desired$ = merge(set$, toggle$.pipe(map(() => !enabled)));
const enabled$ = new Observable<boolean>((subscriber) => { const enabled$ = new Observable<boolean>((subscriber) => {
subscriber.next(enabled); subscriber.next(enabled);
let latestDesired = this.enabledByDefault; let latestDesired = this.enabledByDefault;
let syncing = false;
const sync = async (): Promise<void> => { const sync = async (): Promise<void> => {
if (enabled === latestDesired) syncing = false; if (enabled === latestDesired) {
else { syncing$.next(false);
} else {
const previouslyEnabled = enabled; const previouslyEnabled = enabled;
syncing$.next(true);
enabled = await firstValueFrom( enabled = await firstValueFrom(
this.handler$.pipe( this.handler$.pipe(
switchMap(async (handler) => handler(latestDesired)), switchMap(async (handler) => handler(latestDesired)),
), ),
); );
if (enabled === previouslyEnabled) { if (enabled === previouslyEnabled) {
syncing = false; syncing$.next(false);
} else { } else {
subscriber.next(enabled); subscriber.next(enabled);
syncing = true; syncing$.next(true);
sync().catch((err) => { sync().catch((err) => {
// TODO: better error handling // TODO: better error handling
logger.error("MuteState: handler error", err); logger.error("MuteState: handler error", err);
@@ -116,21 +124,28 @@ export class MuteState<Label, Selected> {
const s = desired$.subscribe((desired) => { const s = desired$.subscribe((desired) => {
latestDesired = desired; latestDesired = desired;
if (syncing === false) { if (syncing$.value === false) {
syncing = true; syncing$.next(true);
sync().catch((err) => { sync().catch((err) => {
// TODO: better error handling // TODO: better error handling
logger.error("MuteState: handler error", err); logger.error("MuteState: handler error", err);
}); });
} }
}); });
return (): void => s.unsubscribe(); return (): void => {
s.unsubscribe();
syncing$.complete();
};
}); });
return { return {
set: (enabled: boolean): void => set$.next(enabled), set: (enabled: boolean): void => set$.next(enabled),
toggle: (): void => toggle$.next(), toggle: (): void => {
if (syncing$.value) return;
toggle$.next();
},
enabled$, enabled$,
syncing$,
}; };
}), }),
), ),
@@ -147,6 +162,10 @@ export class MuteState<Label, Selected> {
this.data$.pipe(map(({ toggle }) => toggle)), this.data$.pipe(map(({ toggle }) => toggle)),
); );
public readonly syncing$: Behavior<boolean> = this.scope.behavior(
this.data$.pipe(switchMap(({ syncing$ }) => syncing$)),
);
public constructor( public constructor(
private readonly scope: ObservableScope, private readonly scope: ObservableScope,
private readonly device: MediaDevice<Label, Selected>, private readonly device: MediaDevice<Label, Selected>,
+6 -14
View File
@@ -5,8 +5,9 @@ SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details. Please see LICENSE in the repository root for full details.
*/ */
import { type RTCCallIntent } from "matrix-js-sdk/lib/matrixrtc";
import { type Behavior } from "../Behavior"; import { type Behavior } from "../Behavior";
import { type MuteStates } from "../MuteStates";
import { import {
type BaseMediaInputs, type BaseMediaInputs,
type BaseMediaViewModel, type BaseMediaViewModel,
@@ -20,32 +21,23 @@ import {
export interface RingingMediaViewModel extends BaseMediaViewModel { export interface RingingMediaViewModel extends BaseMediaViewModel {
type: "ringing"; type: "ringing";
pickupState$: Behavior<"ringing" | "timeout" | "decline">; pickupState$: Behavior<"ringing" | "timeout" | "decline">;
/** intent: RTCCallIntent;
* Whether this media would be expected to have video, were it not simply a
* placeholder.
*/
videoEnabled$: Behavior<boolean>;
} }
export interface RingingMediaInputs extends BaseMediaInputs { export interface RingingMediaInputs extends BaseMediaInputs {
pickupState$: Behavior<"ringing" | "timeout" | "decline">; pickupState$: Behavior<"ringing" | "timeout" | "decline">;
/** intent: RTCCallIntent;
* The local user's own mute states.
*/
muteStates: MuteStates;
} }
export function createRingingMedia({ export function createRingingMedia({
pickupState$, pickupState$,
muteStates, intent,
...inputs ...inputs
}: RingingMediaInputs): RingingMediaViewModel { }: RingingMediaInputs): RingingMediaViewModel {
return { return {
...createBaseMedia(inputs), ...createBaseMedia(inputs),
type: "ringing", type: "ringing",
pickupState$, pickupState$,
// If our own video is enabled, then this is a video call and we would intent,
// expect remote media to have video as well
videoEnabled$: muteStates.video.enabled$,
}; };
} }
+9 -4
View File
@@ -48,6 +48,7 @@ export interface BaseUserMediaViewModel extends BaseMemberMediaViewModel {
audioEnabled$: Behavior<boolean>; audioEnabled$: Behavior<boolean>;
videoEnabled$: Behavior<boolean>; videoEnabled$: Behavior<boolean>;
videoFit$: Behavior<"cover" | "contain">; videoFit$: Behavior<"cover" | "contain">;
videoOrientation$: Behavior<"landscape" | "portrait">;
toggleCropVideo: () => void; toggleCropVideo: () => void;
/** /**
* The expected identity of the LiveKit participant. Exposed for debugging. * The expected identity of the LiveKit participant. Exposed for debugging.
@@ -104,6 +105,7 @@ export function createBaseUserMedia(
{ width: number; height: number } | undefined { width: number; height: number } | undefined
>(undefined); >(undefined);
const videoSize$ = videoSizeFromParticipant$(participant$);
return { return {
...createMemberMedia(scope, { ...createMemberMedia(scope, {
...inputs, ...inputs,
@@ -129,11 +131,14 @@ export function createBaseUserMedia(
videoEnabled$: scope.behavior( videoEnabled$: scope.behavior(
media$.pipe(map((m) => m?.cameraTrack?.isMuted === false)), media$.pipe(map((m) => m?.cameraTrack?.isMuted === false)),
), ),
videoFit$: videoFit$( videoOrientation$: scope.behavior(
scope, videoSize$.pipe(
videoSizeFromParticipant$(participant$), map((s) => (s ? s.width / s.height : 1)),
targetSize$, map((aspect) => (aspect > 1 ? "landscape" : "portrait")),
),
"portrait",
), ),
videoFit$: videoFit$(scope, videoSize$, targetSize$),
toggleCropVideo: () => toggleCropVideo$.next(), toggleCropVideo: () => toggleCropVideo$.next(),
rtcBackendIdentity, rtcBackendIdentity,
handRaised$, handRaised$,
+3 -1
View File
@@ -32,7 +32,9 @@ export function observeRtpStreamStats$(
> { > {
return combineLatest([ return combineLatest([
observeTrackReference$(participant, source), observeTrackReference$(participant, source),
interval(1000).pipe(startWith(0)), // The update frequency is high because we use this value to update the PiP orientation and the fit/fill video tile props based on that
// We want it to be responsive. For just the debug tools 1s would be sufficient.
interval(350).pipe(startWith(0)),
]).pipe( ]).pipe(
switchMap(async ([trackReference]) => { switchMap(async ([trackReference]) => {
const track = trackReference?.publication?.track; const track = trackReference?.publication?.track;
+1
View File
@@ -10,6 +10,7 @@ Please see LICENSE in the repository root for full details.
--hover-space-margin: var(--cpd-space-1x); --hover-space-margin: var(--cpd-space-1x);
transition: outline-color ease 0.15s; transition: outline-color ease 0.15s;
outline: var(--cpd-border-width-2) solid rgb(0 0 0 / 0); outline: var(--cpd-border-width-2) solid rgb(0 0 0 / 0);
box-shadow: var(--draggable-shadow);
} }
/* Use a pseudo-element to create the expressive speaking border, since CSS /* Use a pseudo-element to create the expressive speaking border, since CSS
+1 -4
View File
@@ -26,7 +26,6 @@ import {
createRingingMedia, createRingingMedia,
type RingingMediaViewModel, type RingingMediaViewModel,
} from "../state/media/RingingMediaViewModel"; } from "../state/media/RingingMediaViewModel";
import { type MuteStates } from "../state/MuteStates";
global.IntersectionObserver = class MockIntersectionObserver { global.IntersectionObserver = class MockIntersectionObserver {
public observe(): void {} public observe(): void {}
@@ -93,10 +92,8 @@ test("GridTile displays ringing media", async () => {
>("ringing"); >("ringing");
const vm = createRingingMedia({ const vm = createRingingMedia({
pickupState$, pickupState$,
muteStates: {
video: { enabled$: constant(false) },
} as unknown as MuteStates,
id: "test", id: "test",
intent: "audio",
userId: "@alice:example.org", userId: "@alice:example.org",
displayName$: constant("Alice"), displayName$: constant("Alice"),
mxcAvatarUrl$: constant(undefined), mxcAvatarUrl$: constant(undefined),
+3 -3
View File
@@ -77,7 +77,6 @@ const RingingMediaTile: FC<RingingMediaTileProps> = ({
}) => { }) => {
const { t } = useTranslation(); const { t } = useTranslation();
const pickupState = useBehavior(vm.pickupState$); const pickupState = useBehavior(vm.pickupState$);
const videoEnabled = useBehavior(vm.videoEnabled$);
return ( return (
<MediaView <MediaView
@@ -89,11 +88,12 @@ const RingingMediaTile: FC<RingingMediaTileProps> = ({
pickupState === "ringing" pickupState === "ringing"
? { ? {
text: t("video_tile.calling"), text: t("video_tile.calling"),
Icon: videoEnabled ? VideoCallSolidIcon : VoiceCallSolidIcon, Icon:
vm.intent === "video" ? VideoCallSolidIcon : VoiceCallSolidIcon,
} }
: { text: t("video_tile.call_ended"), Icon: EndCallIcon } : { text: t("video_tile.call_ended"), Icon: EndCallIcon }
} }
videoEnabled={videoEnabled} videoEnabled={false}
videoFit="cover" videoFit="cover"
mirror={false} mirror={false}
{...props} {...props}
+1
View File
@@ -10,6 +10,7 @@ Please see LICENSE in the repository root for full details.
inline-size: 100%; inline-size: 100%;
display: flex; display: flex;
border-radius: var(--cpd-space-6x); border-radius: var(--cpd-space-6x);
box-shadow: var(--draggable-shadow);
contain: strict; contain: strict;
overflow-x: auto; overflow-x: auto;
overflow-y: hidden; overflow-y: hidden;
+1 -4
View File
@@ -28,7 +28,6 @@ import {
createRingingMedia, createRingingMedia,
type RingingMediaViewModel, type RingingMediaViewModel,
} from "../state/media/RingingMediaViewModel"; } from "../state/media/RingingMediaViewModel";
import { type MuteStates } from "../state/MuteStates";
global.IntersectionObserver = class MockIntersectionObserver { global.IntersectionObserver = class MockIntersectionObserver {
public observe(): void {} public observe(): void {}
@@ -156,10 +155,8 @@ test("SpotlightTile displays ringing media", async () => {
>("ringing"); >("ringing");
const vm = createRingingMedia({ const vm = createRingingMedia({
pickupState$, pickupState$,
muteStates: {
video: { enabled$: constant(false) },
} as unknown as MuteStates,
id: "test", id: "test",
intent: "audio",
userId: "@alice:example.org", userId: "@alice:example.org",
displayName$: constant("Alice"), displayName$: constant("Alice"),
mxcAvatarUrl$: constant(undefined), mxcAvatarUrl$: constant(undefined),
+2 -2
View File
@@ -212,7 +212,6 @@ const SpotlightRingingMediaItem: FC<SpotlightRingingMediaItemProps> = ({
}) => { }) => {
const { t } = useTranslation(); const { t } = useTranslation();
const pickupState = useBehavior(vm.pickupState$); const pickupState = useBehavior(vm.pickupState$);
const videoEnabled = useBehavior(vm.videoEnabled$);
return ( return (
<MediaView <MediaView
@@ -222,7 +221,8 @@ const SpotlightRingingMediaItem: FC<SpotlightRingingMediaItemProps> = ({
pickupState === "ringing" pickupState === "ringing"
? { ? {
text: t("video_tile.calling"), text: t("video_tile.calling"),
Icon: videoEnabled ? VideoCallSolidIcon : VoiceCallSolidIcon, Icon:
vm.intent === "video" ? VideoCallSolidIcon : VoiceCallSolidIcon,
} }
: { text: t("video_tile.call_ended"), Icon: EndCallIcon } : { text: t("video_tile.call_ended"), Icon: EndCallIcon }
} }
+3 -3
View File
@@ -114,7 +114,7 @@ interface Props<S extends string> {
} }
interface UseAudioContext<S extends string> { interface UseAudioContext<S extends string> {
playSound(soundName: S): Promise<void>; playSound(soundName: S, volumeOverwrite?: number): Promise<void>;
playSoundLooping(soundName: S, delayS?: number): () => Promise<void>; playSoundLooping(soundName: S, delayS?: number): () => Promise<void>;
/** /**
* Map of sound name to duration in seconds. * Map of sound name to duration in seconds.
@@ -195,7 +195,7 @@ export function useAudioContext<S extends string>(
} }
return { return {
playSound: async (name): Promise<void> => { playSound: async (name, volumeOverwrite?: number): Promise<void> => {
if (!audioBuffers[name]) { if (!audioBuffers[name]) {
logger.debug(`Tried to play a sound that wasn't buffered (${name})`); logger.debug(`Tried to play a sound that wasn't buffered (${name})`);
return; return;
@@ -203,7 +203,7 @@ export function useAudioContext<S extends string>(
return playSound( return playSound(
audioContext, audioContext,
audioBuffers[name], audioBuffers[name],
soundEffectVolume * earpieceVolume, volumeOverwrite ?? soundEffectVolume * earpieceVolume,
earpiecePan, earpiecePan,
); );
}, },
+58
View File
@@ -6,6 +6,9 @@ Please see LICENSE in the repository root for full details.
*/ */
import { t } from "i18next"; import { t } from "i18next";
import { type ConnectionError } from "livekit-client";
import { i18nKey } from "./i18n";
export enum ErrorCode { export enum ErrorCode {
/** /**
@@ -18,6 +21,7 @@ export enum ErrorCode {
/** LiveKit indicates that the server has hit its track limits */ /** LiveKit indicates that the server has hit its track limits */
INSUFFICIENT_CAPACITY_ERROR = "INSUFFICIENT_CAPACITY_ERROR", INSUFFICIENT_CAPACITY_ERROR = "INSUFFICIENT_CAPACITY_ERROR",
E2EE_NOT_SUPPORTED = "E2EE_NOT_SUPPORTED", E2EE_NOT_SUPPORTED = "E2EE_NOT_SUPPORTED",
STICKY_EVENTS_NOT_SUPPORTED = "STICKY_EVENTS_NOT_SUPPORTED",
OPEN_ID_ERROR = "OPEN_ID_ERROR", OPEN_ID_ERROR = "OPEN_ID_ERROR",
NO_MATRIX_2_AUTHORIZATION_SERVICE = "NO_MATRIX_2_0_AUTHORIZATION_SERVICE", NO_MATRIX_2_AUTHORIZATION_SERVICE = "NO_MATRIX_2_0_AUTHORIZATION_SERVICE",
SFU_ERROR = "SFU_ERROR", SFU_ERROR = "SFU_ERROR",
@@ -43,6 +47,10 @@ export class ElementCallError extends Error {
public localisedMessage?: string; public localisedMessage?: string;
public localisedTitle: string; public localisedTitle: string;
// Alternative to localisedMessage, for rich error rendering
public localisedMessageKey?: string;
public localisedMessageValues?: Record<string, string>;
protected constructor( protected constructor(
localisedTitle: string, localisedTitle: string,
code: ErrorCode, code: ErrorCode,
@@ -118,6 +126,22 @@ export class MembershipManagerError extends ElementCallError {
} }
} }
/**
* Error indicating that this deployment pins `matrix_rtc_mode=matrix_2_0` in
* config.json but the homeserver does not advertise MSC4354 (sticky events),
* which the Matrix 2.0 mode requires.
*/
export class StickyEventsRequiredError extends ElementCallError {
public constructor() {
super(
t("error.sticky_events_required"),
ErrorCode.STICKY_EVENTS_NOT_SUPPORTED,
ErrorCategory.CONFIGURATION_ISSUE,
t("error.sticky_events_required_description"),
);
}
}
/** /**
* Error indicating that end-to-end encryption is not supported in the current environment. * Error indicating that end-to-end encryption is not supported in the current environment.
*/ */
@@ -235,3 +259,37 @@ export class SFURoomCreationRestrictedError extends ElementCallError {
); );
} }
} }
/**
* Error indicating that the SFU peer-to-peer connection timed out.
*/
export class PeerConnectionTimeoutError extends ElementCallError {
public constructor() {
super(
t("error.peer_connection_timeout"),
ErrorCode.SFU_ERROR,
ErrorCategory.NETWORK_CONNECTIVITY,
);
this.localisedMessageKey = i18nKey(
"error.peer_connection_timeout_description",
);
this.localisedMessageValues = {
linkUrl:
"https://docs.element.io/latest/element-server-suite-pro/configuring-components/configuring-matrix-rtc/#sfu-connectivity-troubleshooting",
};
}
}
export class LivekitConnectionError extends ElementCallError {
public constructor(cause: ConnectionError) {
super(
t("error.livekit_connection_error"),
ErrorCode.SFU_ERROR,
ErrorCategory.NETWORK_CONNECTIVITY,
);
this.localisedMessageKey = i18nKey(
"error.livekit_connection_error_description",
);
this.localisedMessageValues = { reason: cause.reasonName };
}
}
+9
View File
@@ -0,0 +1,9 @@
/*
Copyright 2026 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE in the repository root for full details.
*/
// Custom marker function to allow i18next extraction
export const i18nKey = (key: string): string => key;
+1 -1
View File
@@ -38,7 +38,7 @@ import { type MediaDevices } from "../state/MediaDevices";
import { aliceRtcMember, localRtcMember } from "./test-fixtures"; import { aliceRtcMember, localRtcMember } from "./test-fixtures";
import { type RaisedHandInfo, type ReactionInfo } from "../reactions"; import { type RaisedHandInfo, type ReactionInfo } from "../reactions";
import { constant } from "../state/Behavior"; import { constant } from "../state/Behavior";
import { MatrixRTCMode } from "../settings/settings"; import { MatrixRTCMode } from "../config/ConfigOptions";
import { createCallFooterViewModel } from "../components/CallFooterViewModel"; import { createCallFooterViewModel } from "../components/CallFooterViewModel";
import { type FooterSnapshot } from "../components/CallFooter"; import { type FooterSnapshot } from "../components/CallFooter";
import { type ViewModel } from "../state/ViewModel"; import { type ViewModel } from "../state/ViewModel";