Commit Graph
100 Commits
Author SHA1 Message Date
Timo K 47e389678b add uuid in our own package.json 2026-01-09 19:48:11 +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 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
Timo K 8110d22c8b fix lint 2025-12-03 10:27:30 +01:00
Timo K 88721be952 cleanup 2025-12-03 10:04:22 +01:00
Timo K 2e646bfac1 Unify LiveKit and Matrix connection states 2025-12-02 19:49:13 +01:00
Timo K 93de12d79c cleanup vite.configs and simplify exported sdk props. 2025-12-02 11:31:56 +01:00
Timo K f76a6cb599 cleanup unnecassary packages + add connected indicator 2025-12-01 20:39:40 +01:00
Timo K ab675cf00b fix test caused by remoteParticipantsWithTracks->remoteParticipants 2025-12-01 20:26:54 +01:00
Timo K 43266e6200 Merge branch 'livekit' into toger5/lib-ec-version 2025-12-01 20:15:58 +01:00
Timo K af47002613 Refactor local membership publisher and connectionState related logic 2025-12-01 20:14:29 +01:00
Timo K 4ec1b19fe2 fix js-sdk tests 2025-12-01 18:54:57 +01:00
Timo K 5f6a45f0e9 also bump js-sdk 2025-12-01 18:45:47 +01:00
Timo K 8cb8357398 make logs just debug. (info -> debug) 2025-12-01 17:34:37 +01:00
Timo K 63cd4f79dd fix playwright test! (It caught an actual bug!!! so the right wording
would be: fix implementation thanks to the playwright test!
2025-12-01 17:29:35 +01:00
Timo K f26aa8f970 fix tests 2025-12-01 15:10:38 +01:00
Timo K 47c6a17d1e review 2025-12-01 14:58:06 +01:00
Timo K 24ed43ce13 Merge branch 'livekit' into toger5/fix-local-transport-update 2025-12-01 14:23:11 +01:00
Timo K 1490359e4c cleanup changes godot->sdk add docs 2025-12-01 14:09:09 +01:00
Timo K 0664af0f1b log cleanup and expose members$ 2025-12-01 13:49:33 +01:00
Timo K 284a52c23c mvp 2025-12-01 12:44:41 +01:00
Timo K 2d8ffc0ccd almost mvp 2025-12-01 12:43:43 +01:00
Timo K 28158bfc23 temp 2025-12-01 12:43:43 +01:00
Timo K 66dece98a5 add more test for publisher 2025-11-28 21:50:22 +01:00
Timo K 2011aef116 skip "Should show error screen if call creation is restricted" on ff 2025-11-28 18:00:04 +01:00
Timo K c0913b6546 fix playwright test 2025-11-27 18:02:46 +01:00
Timo K 46f8fe4ec7 fix test errors 2025-11-27 16:43:28 +01:00
Timo K 4b0f6e76c4 revert complete behavior check 2025-11-27 15:38:31 +01:00
Timo K e5117f705d More testing and cleaning up 2025-11-27 14:42:23 +01:00
Timo K d22d7460fe Another larger refactor to fix sfu switches and in general proper
cleanup.
2025-11-25 20:18:34 +01:00