Commit Graph
100 Commits
Author SHA1 Message Date
Timo K 2c3365a401 remove deprecated widget layout actions 2026-01-19 12:11:32 +01:00
Timo K f41175444b revert changes unrelated to this PR 2026-01-16 16:23:05 +01:00
Timo K 102664482b Activate the hotswap test that was failing before. 2026-01-16 15:41:25 +01:00
Timo K d5df9e65dd Merge branch 'livekit' into toger5/fixing-duble-publishing 2026-01-16 15:38:56 +01:00
Timo K 3f8b3ba3f1 add test to check if publisher is properly destroyed 2026-01-16 14:41:11 +01:00
Timo K 22c1948a82 Add playwright test for hotswatpping transport 2026-01-16 14:27:52 +01:00
Timo K a99a413b88 temp 2026-01-16 14:07:56 +01:00
Timo K 83df152608 review 2026-01-16 13:20:03 +01:00
Timo K f5c31626a6 fix unit tests 2026-01-16 12:43:13 +01:00
Timo K 5a48820927 remove widget layout widget action for good. 2026-01-16 10:22:23 +01:00
Timo K 971d16d243 revert jwt to stable version 2026-01-16 10:21:26 +01:00
Timo K 9b40d7420a refactor to use destroy method 2026-01-15 19:04:32 +01:00
Timo K f71e483080 logging updates 2026-01-15 18:13:34 +01:00
Timo K f7590a33d7 Fix publisher clean up! This is the acutal bug we chased 2026-01-15 18:12:00 +01:00
Timo K c74accb906 remove "fetching" state again (we have to be able to deal with those
kind of switches!) Optimize to not always fetch the oldest member jwt
(only do so in legacy mode)
2026-01-15 18:11:08 +01:00
Timo K b49411abfa dont set localTransport while still fetching oldest member transport 2026-01-14 17:35:35 +01:00
Timo K 41eb45b3c4 fix comments 2026-01-14 12:29:22 +01:00
Timo K 4d35b77077 bump jwt docker 2026-01-13 17:41:46 +01:00
Timo K 20e63c8dc7 fix tests 2026-01-13 17:39:55 +01:00
Timo K ff8d71380d Add livekitAlias debugging info 2026-01-13 15:14:34 +01:00
Timo K d185b52091 more docstrings to docuemnt the migration away from livekit_alias 2026-01-13 12:44:17 +01:00
Timo K 72ca3821ab Change the livekit alias to just be the room id for backwards
compatibility.
2026-01-13 12:37:46 +01:00
Timo K 89e5e5b10a fix uuid 2026-01-12 12:34:50 +01:00
Timo K 8d8eb09922 Merge branch 'livekit' into toger5/userMedia-alternative 2026-01-12 12:34:03 +01:00
Timo K 47e389678b add uuid in our own package.json 2026-01-09 19:48:11 +01:00
Timo K 7a8f5cc859 use crypto.randomUUID() 2026-01-09 19:40:21 +01:00
Timo K 45bb233673 Merge branch 'toger5/delayed-event-delegation' into toger5/userMedia-alternative 2026-01-09 19:38:21 +01:00
Timo K 341277932c fix tests 2026-01-09 19:34:41 +01:00
Timo K 735c17d3e6 fix tile flicker on video mute/unmute
(only pass rtcBackendIdenitity instead of full rtcMember)
2026-01-09 19:31:40 +01:00
Timo K 1a9e4a1a5c bump js-sdk 2026-01-09 19:12:54 +01:00
Timo K 7387a00406 lint 2026-01-09 19:04:42 +01:00
Timo K 32694fddf6 improve rtcBackendIdentity debugging 2026-01-09 19:04:02 +01:00
Timo K 444c50d8c4 Change code style of user media 2026-01-09 18:27:56 +01:00
Timo K 9a88e3dab6 review valere (more readable force new endpoint logic) 2026-01-09 18:05:26 +01:00
Timo K 39432310e3 use actual uuid for member.id
review with some renaming and removal of unnecassary if
2026-01-09 17:56:30 +01:00
Timo K ed3d168ac3 fix tests 2026-01-09 17:29:48 +01:00
Timo K 70b7ebff80 prettier 2026-01-09 16:32:14 +01:00
Timo K b7838e4353 Update README.md 2026-01-09 16:25:06 +01:00
Timo K 0eb0169ad9 update example 2026-01-09 16:01:03 +01:00
Timo K c2e3774749 prettier 2026-01-09 15:40:39 +01:00
Timo K c7c6dc18bf fix js-sdk dependency 2026-01-09 15:28:11 +01:00
Timo K 7dbbd763b9 Refactor how we aquire the jwt token for the local user. (only fetch it
once)

The local jwt token needs to be aquired via the right endpoint. The
endpoint defines how our rtcBackendIdentity is computed. Based on us
using sticky events or state events we also need to use the right
endpoint. This cannot be done generically in the connection manager. The
jwt token now is computed in the localTransport and the resolved sfu
config is passed to the connection manager.

Add JWT endpoint version and SFU config support Pin matrix-js-sdk to a
specific commit and update dev auth image tag. Propagate SFU config and
JWT endpoint choice through local transport, ConnectionManager and
Connection; add JwtEndpointVersion enum and LocalTransportWithSFUConfig
type. Add NO_MATRIX_2 auth error and locale string, thread
rtcBackendIdentity through UI props, and include related test, CSS and
minor imports updates
2026-01-09 13:38:26 +01:00
Timo K d4b06b0f9c fix connection recreation which breaks EC lk connection 2026-01-08 14:27:47 +01:00
Timo K 1909aef186 temp 2026-01-08 12:27:17 +01:00
Timo K 385f63e83e fix tests 2026-01-07 17:46:39 +01:00
Timo K a5a4bb2b82 add retries inside the getLiveKitJWTWithDelayDelegation and
`getLiveKitJWT` functions.
2026-01-07 17:38:29 +01:00
Timo K 5556d363b9 add retries and be more specific when we fall back to legacy endpoint 2026-01-07 17:21:14 +01:00
Timo K 0eeed4e18e fix test snapshot 2026-01-07 17:05:00 +01:00
Timo K d5ad2e38e2 fix up tests 2026-01-07 16:09:08 +01:00
Timo K 75fca3108a cleanup an rename compatibility mode 2026-01-07 16:08:20 +01:00
Timo K d814f60f23 review (docstrings) and remove unused artifacts. 2026-01-07 15:47:44 +01:00
Timo K dd562bdaf5 dont use throw for logic. 2026-01-07 15:36:32 +01:00
Timo K d48042f522 fix lint 2026-01-07 15:18:37 +01:00
Timo K 6480df44e9 add tests for open id delay fallback 2026-01-07 15:10:32 +01:00
Timo K 83d04ac122 fix tests and remove duplicated mocks. 2026-01-07 13:26:37 +01:00
Timo K 556a87d141 fix js-doc 2026-01-05 22:20:19 +01:00
Timo K 69a4189517 self review 2026-01-05 22:00:02 +01:00
Timo K 1580087286 use latest js-sdk 2026-01-05 21:24:52 +01:00
Timo K 00fca6e3c7 simplify localTransport 2026-01-05 21:17:37 +01:00
Timo K 5d5d75ebdf fixup merge 2026-01-05 21:08:33 +01:00
Timo K df2bd22005 Merge branch 'livekit' into toger5/delayed-event-delegation 2026-01-05 21:08:21 +01:00
Timo K 029c38be63 fix prettier 2026-01-05 14:30:55 +01:00
Timo K 5b1eb13d65 fix lints and add hint in the otel readme to the PR removing it. 2026-01-05 14:27:54 +01:00
Timo K 0f5c5d8be5 cleanup based on new js-sdk impl 2025-12-29 17:38:54 +01:00
Timo K 7591e2bda1 Merge branch 'livekit' into toger5/delayed-event-delegation 2025-12-28 21:04:49 +01:00
Timo K 3ba2d13e27 use the js-sdk where the hashed rtcSessionIdeintity is already part of
the event (no need to compute it in the encryption manager)
2025-12-28 21:04:46 +01:00
Timo K 9bd7888fab copyright. 2025-12-23 12:48:54 +01:00
Timo K 150dda16c8 fix lint 2025-12-22 13:44:24 +01:00
Timo K 725ff31d6f reduce PR diff 2025-12-22 13:42:16 +01:00
Timo K 852d2ee375 after merge cleanup 2025-12-22 13:35:40 +01:00
Timo K e78f37a6b3 Merge branch 'livekit' into toger5/lib-ec-version 2025-12-22 12:43:09 +01:00
Timo K 55d18f10fe temp refactored membership rtcidentity 2025-12-19 19:23:41 +01:00
Timo K 50f3bf00ae use correct js-sdk 2025-12-17 10:22:46 +01:00
Timo K ab7e3486b3 Make use of the new jwt service endpoint (with delayed event delegation)
This also does all the compatibility work. When to use which endpoint to
authenticate agains a jwt service.
2025-12-17 09:53:49 +01:00
Timo K 9bd51fdfc4 Merge branch 'livekit' into toger5/pseudonomous-identities 2025-12-16 12:18:00 +01:00
Timo K 5bc6ed5885 small refactor to make it testable. 2025-12-15 20:17:57 +01:00
Timo K 909d980dff still with broken tests... 2025-12-15 18:23:30 +01:00
Timo K 7edc97b917 remove continue button things 2025-12-11 17:24:35 +01:00
Timo K 8225e4f260 remove page.pause 2025-12-11 17:22:02 +01:00
Timo K 207b161b3b fix logger and dismiss button presses 2025-12-11 17:17:56 +01:00
Timo K 9a7e797af4 fix lint 2025-12-11 16:17:45 +01:00
Timo K 08306d663a remove duplicated connecting state and update Test setup 2025-12-11 16:04:12 +01:00
Timo K c1c73b0f02 lint 2025-12-11 15:04:07 +01:00
Timo K 68a32fdff6 Merge branch 'livekit' into toger5/lib-ec-version 2025-12-11 13:17:26 +01:00
Timo K 328cc7133a update playwright so that we do not even need the dismiss anymore. 2025-12-11 11:32:28 +01:00
Timo K 170a38c0ba fix playwright incompatible browser toast 2025-12-11 11:30:14 +01:00
Timo K aabd76044b fix lint 2025-12-10 21:25:35 +01:00
Timo K e626698fda fix connection tests 2025-12-10 21:22:55 +01:00
Timo K 8dac0366b6 fix lints 2025-12-10 21:17:33 +01:00
Timo K b380532d30 lots of error logging and fixing playwright 2025-12-10 21:14:13 +01:00
Timo K 667a3d0e3d fix test not checking for livekit connection state anymore. 2025-12-10 19:18:16 +01:00
Timo K 1941fc9ca1 fix tests. 2025-12-10 19:12:52 +01:00
Timo K 6efce232f8 fix playwright tests 2025-12-10 18:50:19 +01:00
Timo K ef2f53c38a Merge branch 'livekit' into toger5/connection-state-refactor 2025-12-10 13:49:06 +01:00
Timo K 0ebc6078dd Update LocalMember.ts 2025-12-10 12:08:59 +01:00
Timo K 7af89b4216 fix lint 2025-12-09 17:36:56 +01:00
Timo K bf801364a6 cleanup and tests 2025-12-09 15:23:30 +01:00
Timo K e4fee457cf allow to use custom applications 2025-12-08 09:41:01 +01:00
Timo K 7c40b0e177 ideas 2025-12-05 19:48:02 +01:00
Timo K b34a75d990 fix knip 2025-12-03 13:08:51 +01:00