Commit Graph

37 Commits

Author SHA1 Message Date
Timo 5526cd74cb Add sticky event support (#3513)
* add sticky event support
 - use new js-sdk
 - use custom synapse
 - don't filter rooms by existing call state events

Signed-off-by: Timo K <toger5@hotmail.de>

* enable sticky events in the joinSessionConfig

Signed-off-by: Timo K <toger5@hotmail.de>

* Remove unused useNewMembershipmanager setting

* Add prefer sticky setting]

* Fixup call detection logic to allow sticky events

* lint

* update docker image

* More tidy

* update checksum

* bump js-sdk fix sticky events type

Signed-off-by: Timo K <toger5@hotmail.de>

* fix demo

Signed-off-by: Timo K <toger5@hotmail.de>

* always use multi sfu if we are using sticky events.

Signed-off-by: Timo K <toger5@hotmail.de>

* review

Signed-off-by: Timo K <toger5@hotmail.de>

* lint

Signed-off-by: Timo K <toger5@hotmail.de>

* Always consider multi-SFU mode enabled when using sticky events

CallViewModel would pass the wrong transport to enterRtcSession when the user enabled sticky events but didn't manually enable multi-SFU mode as well. This likely would've added some confusion to our attempts to test these modes.

* Fix test type errors

* add todo comment

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Half-Shot <will@half-shot.uk>
Co-authored-by: Robin <robin@robin.town>
2025-10-22 12:53:22 +02:00
fkwp 342dd2e7d7 DevX: Add another Matrix site to docker-compose (#3511)
* remove redis, since we dont use it

* update localhost TLS certificat to add *.othersite.m.localhost wildcard

* allow for federation

* Add services and config files for Matrix site othersite.m.localhost

* add element web instance app.othersite.m.localhost

* update README

* exclude synapse database for othersite.m.localhost

* linting
2025-09-22 21:14:12 +02:00
Robin 4be395500f Fix the interactivity of buttons while reconnecting or in earpiece mode (#3486)
* Fix the interactivity of buttons while reconnecting or in earpiece mode

When we're in one of these modes, we need to ensure that everything above the overlay (the header and footer buttons) is interactive, while everything obscured by the overlay (the media tiles) is non-interactive and removed from the accessibility tree. It's not a very easy task to trap focus *outside* an element, so the best solution I could come up with is to set tabindex="-1" manually on all interactive elements belonging to the media tiles.

* Write a Playwright test for reconnecting

* fix lints

Signed-off-by: Timo K <toger5@hotmail.de>

* fix test

Signed-off-by: Timo K <toger5@hotmail.de>

* enable http2 for matrx-rtc host to allow the jwt service to talk to the SFU

* remove rate limit for delayed events

* more time to connect to livekit SFU

* Due to a Firefox issue we set the start anchor for the tab test to the Mute microphone button

* adapt to most recent Element Web version

* Use the "End call" button as proofe for a started call

* Currrenty disabled due to recent Element Web
- not indicating the number of participants
- bypassing Lobby

* linting

* disable 'can only interact with header and footer while reconnecting' for firefox

---------

Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Timo <16718859+toger5@users.noreply.github.com>
Co-authored-by: Timo K <toger5@hotmail.de>
Co-authored-by: fkwp <github-fkwp@w4ve.de>
2025-09-18 12:58:47 +02:00
Valere b35fcf9076 DevX: update dev backend to support jwt-token v3 2025-07-31 17:05:57 +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
Timo 0110465b38 Docker-compose: do not access ports <443 (#3261)
* Do not try accessing ports <1024

* adapt nginx reverse proxy for element web

---------

Co-authored-by: fkwp <github-fkwp@w4ve.de>
2025-05-19 14:18:03 +02:00
fkwp f2b68e6dee add localhost domain to certificate 2025-05-05 16:02:19 +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 25afbf4303 base playwright backend on dev-backend 2025-05-05 14:20:51 +02:00
fkwp fb63e64eb4 removed old localhost tls certificates 2025-05-05 13:06:58 +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 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
Valere 9b945d00f7 cleaning: Remove deprecated config option for EC url 2025-04-04 09:18:58 +02:00
Timo afced3eb73 test fix experiment 2025-04-03 17:02:48 +02:00
Valere 0fbde40359 test: End to end integrated test for call widget 2025-03-25 16:09:38 +01:00
Valere bd38a56ccc Keep rate limits for dev backend, disable only for playwright tests 2025-03-17 09:45:43 +01:00
Valere 83198c061a Disable rate limiting on dev homeserver to avoid flaky tests 2025-03-14 11:01:25 +01:00
fkwp 3495f5b472 linting 2024-12-03 16:57:53 +01:00
fkwp 44e5d2ea91 add MSC4222 2024-12-03 16:54:37 +01:00
fkwp 2961cfa52c update README.md 2024-11-06 20:20:29 +01:00
fkwp 7440f39fef add base_url 2024-11-06 20:00:21 +01:00
fkwp 69776ba08e add .well-known section including a note that this is not effective for the local dev environment 2024-11-06 20:00:21 +01:00
fkwp 82c6db1f94 linting 2024-11-05 00:35:40 +01:00
fkwp a672224324 rename livekit.conf to dev_livekit.conf to make clear that its for the development environment 2024-11-05 00:23:02 +01:00
fkwp 2de105c9fd minimum homeserver configuration for development environment 2024-11-05 00:15:26 +01:00
fkwp 275e0bdb00 minimum nginx tls reverse proxy configuration for synapse homeserver 2024-11-05 00:14:02 +01:00
fkwp 377ccf8f45 add localhost tls certificates for dev environment 2024-11-05 00:05:02 +01:00
Andrew Ferrazzutti b5d25f1f2d Drop unsupported field from backend/livekit.yaml (#2349)
environment was removed in v1.6.0: livekit/livekit@10c8582
2024-05-01 19:31:16 +09:00
Andrew Ferrazzutti d79359ae66 Drop unsupported field from backend/livekit.yaml
signal_relay.enabled was removed in v1.5.3: livekit/livekit@3f2f850
2024-03-07 16:21:59 -05:00
David Baker 6c8b96ed3d Use prebuilt image for docker compose 2023-07-04 18:57:35 +01:00
David Baker 8996aa772c Initial support for getting SFO config using OIDC
* Change `jwt_service_url` to `livekit_service_url`
 * Make it a POST so we can send the openID token sensibly
 * Get an OIDC token & pass it with the request
 * Read the SFU URL from there too

and convert the auth server accordingly, althugh with no actual OIDC
support yet, it just issues tokens blindly just as before and ignores
the openid token completely.

We'll need to update configs & the JWT service before merging this.
2023-06-28 16:35:56 +01:00
Enrico Schwendig 0192ed70ea Local develop setup with docker (#1103)
* Add local live kit backend run setup
2023-06-12 15:52:27 +02:00