Commit Graph
100 Commits
Author SHA1 Message Date
fkwpandClaude Opus 5 a3cd39435c Wire speaker selection through the call footer
- The footer view model now carries the output devices, the current output and
  the callback that changes it, alongside the ones it already carried for input.
- That callback is withheld where the platform cannot route audio to a chosen
  device, and its absence is what renders the section disabled — an absent
  action rather than a flag the view has to interpret.
- An empty output list stays a list rather than becoming an absence, so the
  section is still drawn where a platform enumerates nothing.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 14:56:47 +02:00
fkwpandClaude Opus 5 dd00226526 Show speakers and microphones in the quick audio menu
- Two labelled sections, speaker above microphone, with radio selection in both,
  the pattern the settings list already uses.
- A device that cannot be chosen is shown disabled rather than hidden, so the
  menu keeps one shape across browsers; where a platform lists no output at all,
  a disabled Default stands in that section instead of leaving a bare heading.
- The list is bounded by the measured call area rather than the window, so it
  stays usable where Element Call is a component in a corner of a host's page,
  and follows that area when the host resizes it.
- It scrolls with its section headings pinned and the meter held at its foot,
  and keeps both clear of whichever row the keyboard has just reached.
- The focus ring is shown only when the keyboard moved the focus, tracked on the
  menu rather than the document, so two calls on one page cannot answer for each
  other.
- While a requested device has not arrived, nothing in either section can be
  picked, so a second request cannot overtake the first. That holds only while
  the device is still offered and only within the menu it was asked in: one
  removed before the switch lands never arrives, and waiting for it would leave
  every device unselectable for the rest of the call.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 14:56:47 +02:00
fkwpandClaude Opus 5 c9bfe9df04 Add a microphone level meter
- Draws the level as lit bars, and each failure state as its own message with a
  next action rather than as a meter that has stopped.
- A bar and the space beside it keep one size wherever the meter is drawn; what
  the width decides is how many bars there are. Bars spread to fill would be a
  different shape in every place, and would close into one block where the space
  ran short.
- Announces the level on a fixed scale, so it does not rest on hue or on how
  many bars happened to fit.
- The hook is a bridge and nothing more: the capture belongs to the state layer.
- The capture is held by a component of its own, so a level that does change
  redraws the meter rather than whatever is rendered beside it. A level arrives
  many times a second; held by the menu it would reconcile every device row on
  the way to the bars. A test counts those renders, because nothing else would
  notice the hook moving back.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 14:56:47 +02:00
fkwpandClaude Opus 5 1e64d56964 Give the microphone level its own observable
- Opens a short-lived capture of a named device and reports a smoothed level.
- Owns the capture, the audio context and the frame loop, and releases all three
  idempotently, including when cleanup lands before getUserMedia has resolved.
- Reports denied permission and a missing device as states of their own, so a
  caller never has to read silence as an error.
- Gives the microphone back when the audio graph fails to build. That can fail
  after getUserMedia has resolved, and the capture would otherwise outlive its
  own failure: the device open and its in-use light on, behind a meter saying
  it is unavailable.
- Shares the capture stub through the test utilities, silence and a signal
  alike, so the meter's tests and its stories drive the same microphone.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-22 14:56:46 +02:00
fkwp 04b0165961 Fix tap-to-show call controls on iOS (ReactMouseEvent -> ReactPointerEvent) 2026-05-15 12:29:26 +02:00
fkwp 0dc8fab256 linting 2026-05-04 13:36:26 +02:00
fkwp 69757b06ce prettier 2026-05-04 13:27:57 +02:00
fkwp a081b40fb2 add marble test 2026-05-04 13:24:19 +02:00
fkwp 88b5db6675 fix rtsSession initial state 2026-05-04 10:41:48 +02:00
fkwp 22f16174ef addressing review comments 2026-05-04 09:16:55 +02:00
fkwp 6c25048b92 Merge branch 'livekit' into fkwp/feature_relax_homeserver_offline 2026-04-30 21:02:24 +02:00
fkwp 2e4ca9b761 use 10 Seconds of grace period in config.sample.json 2026-04-30 20:54:46 +02:00
fkwp 42aae307f9 use latest stable version of jwt service 2026-04-30 20:53:18 +02:00
fkwp 24c2845958 move starWith to corresponding branch in switchMap 2026-04-30 20:50:45 +02:00
fkwp 39ef815d8b Merge branch 'livekit' into fkwp/feature_relax_homeserver_offline 2026-04-23 17:29:14 +02:00
fkwp 0abc32b80e prettier 2026-04-23 15:47:40 +02:00
fkwp c1f821ca0f Update default sync disconnect grace period to 10000ms in configuration and related functions 2026-04-23 15:33:00 +02:00
fkwp 283c606b9d Add tests for grace period handling in createHomeserverConnected$ 2026-04-22 21:46:25 +02:00
fkwp ee343935a4 Merge branch 'fkwp/delegation_of_delayed_events' into fkwp/feature_relax_homeserver_offline 2026-04-22 21:11:23 +02:00
fkwp 032ec662e9 bump lk-jwt-service 2026-04-22 21:08:49 +02:00
fkwp 9fccd49d7d Improve the handling of the grace period for the home server connection to support both immediate and delayed emissions. 2026-04-22 21:08:31 +02:00
fkwp 9f2db7cfc3 Merge branch 'livekit' into fkwp/delegation_of_delayed_events 2026-04-22 20:42:00 +02:00
fkwp 9e2eef09d4 Add support for a grace period for /sync (aka homeserver disconnected) interruptions 2026-04-22 15:18:50 +02:00
fkwp 4d86580542 pin lk-jwt-service to delegation PR 2026-04-17 23:03:17 +02:00
fkwp 2adb498620 prettier 2026-04-17 18:28:02 +02:00
fkwp d75f2563c6 getting ride of shamefully-hoist=true 2026-04-17 18:23:32 +02:00
fkwp 938a03d0c1 address review comments 2026-04-17 18:21:48 +02:00
fkwp b58ad639c1 Prevents Prettier from formatting the lockfile to avoid conflicts with
pnpm's internal formatting
2026-04-17 11:14:21 +02:00
fkwp 2b42b2bdc1 fix tests after moving to pnpm 2026-04-17 11:13:41 +02:00
fkwp 9c1719a22f Switching to pnpm caused module resolution errors because some dependencies rely on being hoisted to the root. This flag restores the flat node_modules structure temporarily. 2026-04-17 11:08:25 +02:00
fkwp 17ad20cd09 switching from yarn to pnpm 2026-04-17 11:07:31 +02:00
fkwp 5657036f2f Bump matrix js-sdk to support latest MSC4195 update 2026-04-16 17:02:07 +02:00
fkwp 79de8dffff fix test as with the recent version of livekit-client the URL format changed 2026-04-13 09:22:24 +02:00
fkwp cbb9e7a289 Merge branch 'livekit' into fkwp/delegation_of_delayed_events 2026-04-01 11:46:29 +02:00
fkwp 4006a8d9f9 Merge branch 'livekit' into fkwp/delegation_of_delayed_events 2026-03-27 15:29:16 +01:00
fkwp 7b1eb03e2a add ca certs to SFU containers such that webhooks are accepted 2026-02-06 11:54:39 +01:00
fkwp d3a4234f4a setup webhooks for SFUs 2026-02-06 11:54:22 +01:00
fkwp ff3d6bd088 enable sticky events 2025-12-16 11:22:25 +01:00
fkwp 6fe6daba31 switch synapse docker image to one with sticky event support 2025-12-16 11:20:38 +01:00
fkwp 1aa76925f7 removing nextgen_new_foci_type item from foci array since it introduces confusion 2025-08-01 15:39:58 +02:00
fkwp d59e794bdf add alias to nginx 2025-07-31 17:05:57 +02:00
fkwp 0bf5c4a835 simplify package.json scripts and remove NODE_ENV variables since we dont use them 2025-06-11 16:54:10 +02:00
fkwp 3d47609cff Since we are now using templating anyhow we can also combine full and embedded build into one step 2025-06-10 18:17:16 +02:00
fkwp 378d59e948 prettier 2025-06-10 14:27:15 +02:00
fkwp a07dbe645e tools section to self-hosting guide and adding Matrixtester to it 2025-06-10 14:24:59 +02:00
fkwp 6f9adfe3e8 fix: add misssing yarn 2025-06-06 00:21:23 +02:00
fkwp d47e579994 add build_mode also to build_embedded_element_call 2025-06-06 00:20:11 +02:00
fkwp 61d8f9a412 Merge branch 'livekit' into fkwp/dev_build 2025-06-06 00:14:45 +02:00
fkwp 31185ae365 make build_mode optional 2025-06-06 00:13:49 +02:00
fkwp e07c7c864b prettier 2025-06-06 00:02:19 +02:00
fkwp b88bce5220 add production and developt build scripts to package.json 2025-06-05 23:58:51 +02:00
fkwp 775e110ca3 Add build_mode to inputs of build_full_element_call. derive build_mode from PR label 'development build' 2025-06-05 23:58:24 +02:00
fkwp 97d548ee3a add build_mode input and use it in run commands 2025-06-05 23:51:02 +02:00
fkwp b8eccc6d7a use vite minify depending on vite mode 2025-06-05 12:16:22 +02:00
fkwp a548c5d592 test.skip() does only skip the test call back but not the fiturex. Hence, disabling the whole test 2025-05-30 15:03:43 +02:00
fkwp 08ab38280a prettier 2025-05-30 14:49:29 +02:00
fkwp a732fcc604 linting 2025-05-30 14:46:35 +02:00
fkwp 7e19b58976 define the widget test as a slow test 2025-05-30 14:29:17 +02:00
fkwp e56fb7cfc8 use .toBeVisible instead of continueButton.isVisible 2025-05-30 14:10:57 +02:00
fkwp aabfe16021 prettier 2025-05-30 13:51:55 +02:00
fkwp d572977922 refactor: splitout registerUser into its own function. Make the'Confirm your identity by entering your account password below.' flow optional 2025-05-30 13:38:45 +02:00
fkwp ebc714b73f force to pull the latest docker images 2025-05-27 20:06:28 +02:00
fkwp e4fd630f37 fix element web fixture 2025-05-27 19:03:53 +02:00
fkwp 99fc7162e2 fix widget fixture 2025-05-27 18:04:34 +02:00
fkwp 8953936d3d fix docker compose playwright override 2025-05-27 17:53:06 +02:00
fkwp 16aa4ae3a9 Merge branch 'fkwp/docker_compose/resolve_conflicting_ports' into fkwp/docker_compose_allow_local_lk_service 2025-05-27 16:40:28 +02:00
fkwp d585f6232e change JWT port ot 6080 to not conflict with the playwright tests. 2025-05-27 16:30:06 +02:00
fkwp b969857583 Allow the jwt service to be running locallay rather than part of the docker-compose. This helps with developing the lk-jwt-service 2025-05-22 12:49:37 +02:00
fkwp 44ed04475d bump livekit protocol version 2025-05-13 09:38:43 +02:00
fkwp b7e5b81dbf update yarn.lock to remove plugin-basic-ssl 2025-05-05 16:25:18 +02:00
fkwp e12dfa9a9f prettier 2025-05-05 16:17:16 +02:00
fkwp 48b4fd63fe prettier 2025-05-05 16:09:34 +02:00
fkwp f2b68e6dee add localhost domain to certificate 2025-05-05 16:02:19 +02:00
fkwp 128851263b use ssl cert from mini localhost CA 2025-05-05 16:01:58 +02:00
fkwp 679ff8c2af adapt to TLS setup 2025-05-05 15:47:03 +02:00
fkwp 9dcaa60982 added app.m.localhost for element web 2025-05-05 15:26:47 +02:00
fkwp 34a223f04b add yarn dev --host hint 2025-05-05 14:54:14 +02:00
fkwp 005402d8d1 prettier 2025-05-05 14:48:45 +02:00
fkwp 76fb16dbfd update README.md to reflect TLS settings 2025-05-05 14:44:21 +02:00
fkwp 1a3ac826b2 Merge branch 'livekit' into fkwp/refactor_dev_backend 2025-05-05 14:22:10 +02:00
fkwp 25afbf4303 base playwright backend on dev-backend 2025-05-05 14:20:51 +02:00
fkwp 9c65b40225 adapt new hostname schema and move to https URLs 2025-05-05 13:07:37 +02:00
fkwp fb63e64eb4 removed old localhost tls certificates 2025-05-05 13:06:58 +02:00
fkwp 8679b90bd7 add new certs to nginx section 2025-05-05 13:06:02 +02:00
fkwp 14ff6dce93 localhost TLS mini CA including wildcard certs for *.m.localhost 2025-05-05 13:05:07 +02:00
fkwp 08f034251c Add call.m.localhost pointing to yarn dev --host 2025-05-05 13:02:58 +02:00
fkwp 06e1a4eb1e Adapt new naming schema *.m.localhost 2025-05-05 12:57:23 +02:00
fkwp 984383b60d typo 2025-04-25 00:32:19 +02:00
fkwp de4875ac7c replace jsonc with nginx highlighting 2025-04-25 00:31:13 +02:00
fkwp 9416c41d62 added note about certificate exceptions 2025-04-25 00:18:27 +02:00
fkwp b61bed0197 cleanup used ports, reflect endpoint routing of JWT service and SFU websocket connection 2025-04-25 00:18:27 +02:00
fkwp 8ad1d60975 remove NOTE wrt. legacy livekit key from README.md 2025-04-25 00:18:19 +02:00
fkwp 1ae876de26 remove legacy livekit key 2025-04-25 00:18:19 +02:00
fkwp 09177b90d3 added matrix-rtc server to route jwt and sfu traffic. renamed file to dev_nginx.conf 2025-04-25 00:18:01 +02:00
fkwp a5036ee291 Merge branch 'livekit' into fkwp/add_information_about_synapse_listeners 2025-04-17 18:58:09 +02:00
fkwp 4694354f69 add informatino about required synapse listeners 2025-04-15 17:53:27 +02:00
fkwp e98b0ed1ed indentation 2025-04-11 00:06:03 +02:00
fkwp d97332f47a Merge branch 'livekit' into fkwp/doc_update 2025-04-09 20:30:24 +02:00
fkwp 3c5594b7e1 prettier 2025-04-09 13:34:58 +02:00
fkwp eb9593a4e5 add information about CORS headers 2025-04-09 13:16:25 +02:00