Commit Graph
100 Commits
Author SHA1 Message Date
Timo K 0eb0169ad9 update example 2026-01-09 16:01:03 +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 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 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
Timo K 8bf6518371 remove span processor endpoints 2025-11-24 12:42:00 +01:00
Timo K 2f92867383 remove otel deps 2025-11-24 12:36:36 +01:00
Timo K 1fda5c7920 remove otel to see what impact it has on tests. 2025-11-24 12:33:02 +01:00
Timo K ddd015d696 fix dev EditInPlace 2025-11-24 10:04:01 +01:00
Timo K 7532f72c90 use edit in place (WIP) This is WIP since it will submite -> reload the
page onSave
2025-11-21 18:49:30 +01:00
Timo K e60bc9e98f add developer tab snapshot test 2025-11-21 17:44:35 +01:00
Timo K ccadc17406 Add log to screenshare. 2025-11-21 16:19:19 +01:00
Timo K a731981388 Cleanup transport creation and local store hack. 2025-11-21 14:02:15 +01:00
Timo K 4099c4383d move HomeserverConnected 2025-11-21 13:04:28 +01:00
Timo K d34775fc47 fix linter 2025-11-20 16:40:06 +01:00
Timo K a29f0162ad remove widget log 2025-11-20 16:34:53 +01:00
Timo K a69a50d30c add log to error boudnary 2025-11-20 16:32:40 +01:00
Timo K 89a1bfac2d remove unused test helper 2025-11-20 15:25:53 +01:00
Timo K 1fd9ac93c9 refactor local transport testing and local memberhsip initialization 2025-11-20 15:19:00 +01:00
Timo K 2a19f06e4a reword docstring 2025-11-17 19:45:14 +01:00
Timo K 2e2c799f72 convert CallViewModel into create function pattern. (with much more
minimal changes thanks to the intermediate class refactor)
2025-11-17 18:24:47 +01:00
Timo K f518111887 add back docstrings 2025-11-17 14:55:00 +01:00
Timo K 4414fe3c82 remove all /*PUBLIC*/ 2025-11-17 14:39:24 +01:00
Timo K e9f400e9f1 remove ReturnType 2025-11-17 14:30:16 +01:00
Timo K 7ab90d3c1f Delete unused files 2025-11-17 12:00:28 +01:00
Timo K 348f0dbfa8 CallViewModel structure change. Clear input and outputs. 2025-11-17 11:37:58 +01:00
Timo K b9ad83bf3b fix a couple of more tests. 2025-11-14 18:45:07 +01:00
Timo K b731c2e9fd dont import withCallViewModel in Lifecycle test 2025-11-14 16:53:43 +01:00
Timo K f6d0d7323e fix call lifecycle and add tests. 2025-11-14 16:01:43 +01:00
Timo K fdce3ec1aa Fix a couple of CallViewModel tests. 2025-11-14 10:44:16 +01:00
Timo K 0115242a2b tests first batch 2025-11-13 11:35:37 +01:00
Timo KandValere 9f4d954cfa The source of the local participant is the createLocalMembership$ and
not the MatrixLivekitMembers!

Co-authored-by: Valere <bill.carson@valrsoft.com>
2025-11-12 12:09:31 +01:00
Timo K 8671d3fd67 Very bit test overhaul. All displayname tests are now done in the
Metadata file. and not in the CallViewModel anymore.
2025-11-11 15:52:35 +01:00
Timo K 85f659bcc9 Introduce MatrixMemberMetadata and use it to simplify username and
avatar computation This removes member from the tiles entirely!
2025-11-11 15:51:48 +01:00
Timo K 93c4dc5beb make it run 2025-11-10 15:55:01 +01:00
Timo K b8635b52d8 Working (no local feed) 2025-11-07 19:07:45 +01:00
Timo K cf5c35bccd fix more runtime errors 2025-11-07 17:14:02 +01:00
Timo K e741285b11 Fix lints, move CallViewModel.test.ts. Fix audio renderer 2025-11-07 14:04:40 +01:00
Timo K 28047217b8 Almost running
- NEVER use undefined as the default for behaviors (FOOTGUN)
2025-11-07 12:33:07 +01:00
Timo K 92fdce33ea pull out all screen share related logic. 2025-11-07 08:44:56 +01:00
Timo K 7c41aef801 Add Epoch<T> and use it in for the memberships$ behavior and its
derivatives.
2025-11-06 22:00:48 +01:00
Timo K a55ce19048 cleanup 2025-11-06 15:26:17 +01:00
Timo K d8e29467f6 rename merger 2025-11-05 18:58:40 +01:00
Timo K c19e2245c8 use createSomething$ mathods instead of classes
Rename several classes/behaviors to factory-style creators and adapt
call wiring and tests accordingly:
- Replace ConnectionManager class with createConnectionManager$ which
  returns transports$, connectionManagerData$, connections$
- Convert MatrixLivekitMerger to createMatrixLivekitMembers$
  (matrixLivekitMerger$)
- Rename sessionBehaviors$, localMembership$, localTransport$ to
  createSessionMembershipsAndTransports$, createLocalMembership$,
  createLocalTransport$
- Adjust participant types and hook up connectOptions$; expose join via
  localMembership.requestConnect
- Update tests to use the new factory APIs
2025-11-05 18:57:24 +01:00
Timo K 4d0de2fb71 Refactor Matrix/LiveKit session merging
- Replace MatrixLivekitItem with MatrixLivekitMember, add displayName$
  and participantId, and use explicit LiveKit participant types
- Make sessionBehaviors$ accept a props object and return a typed
  RxRtcSession
- Update CallViewModel to use the new session behaviors, rebuild media
  items from matrixLivekitMembers, handle missing connections and use
  participantId-based keys
- Change localMembership/localTransport to accept Behavior-based
  options, read options.value for enterRTCSession, and fix advertised
  transport selection order
- Update tests and minor UI adjustments (settings modal livekitRooms
  stubbed) and fix JSON formatting in locales
2025-11-05 17:55:36 +01:00
Timo K 107ef16d94 Add MatrixRTCMode and refactor local membership
Remove preferStickyEvents and multiSfu in favor of a MatrixRTCMode
enum/setting (Legacy, Compatibil, Matrix_2_0). Move session join/leave,
track pause/resume, and config error handling out of CallViewModel into
the localMembership module. Update developer settings UI, i18n strings,
and related RTC session helpers and wiring accordingly.
2025-11-05 12:56:58 +01:00
Timo K 57bf86fc4c finish up most of our helper classes. there are no lint issues in the
new classes. The CallViewModel is not done yet however
2025-11-04 20:24:15 +01:00