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 K and Valere
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
Timo K
a44171da1c
changes summary valere timo
2025-10-30 22:15:35 +01:00
Timo K
4f892e358a
start onwMemberhsip.ts
2025-10-30 15:15:49 +01:00
Timo K
c8ef8d6a24
start moving over/removing things from the CallViewModel
2025-10-30 01:13:06 +01:00
Timo K
6b513534f1
lots of fixup in the new classes
2025-10-30 00:09:07 +01:00
Timo K
633a0f9290
connection manager
2025-10-29 18:33:58 +01:00
Timo K and Valere
62ef49ca05
temp
...
Co-authored-by: Valere <bill.carson@valrsoft.com >
2025-10-29 15:20:06 +01:00
Timo K and Valere
3de0bbcfc9
temp
...
Co-authored-by: Valere <bill.carson@valrsoft.com >
2025-10-29 12:37:14 +01:00
Timo K
cfe05f1ed9
more temp
2025-10-28 21:58:10 +01:00
Timo K
9cdbb1135f
temp
2025-10-28 21:18:47 +01:00
Timo K
8da111d39d
remove option to enable/disable room transport
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-10-22 14:13:31 +02:00
Timo K
19daf5f5f3
update snapshot (in call view)
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-10-22 14:10:10 +02:00
Timo K
0fd414358c
Merge branch 'livekit' into voip-team/rebased-multiSFU
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-10-10 12:26:47 +02:00
Timo K
39f8cb95ec
make compatible with related_event (async CallMembership) branch
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-10-09 15:29:47 +02:00
Timo K
68aae4a8e3
fix another rename + another js-sdk bump
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-10-02 11:23:11 +02:00
Timo K
2819c79590
use updated multi sfu js-sdk
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-30 16:47:45 +02:00
Timo K
6b44f3b008
a tiny bit of tests lint fixes.
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-23 12:25:31 +02:00
Timo K
96e96a5e43
fix leaving
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-23 12:25:05 +02:00
Timo K
7777179935
cleanup (delete files useLivekit) now covered by Connection.ts
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-23 11:40:29 +02:00
Timo K
78e9521f22
Make track processor work
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-23 11:38:34 +02:00
Timo K
8bf24895ce
TODO: settings modal with multiple connections
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-22 14:18:23 +02:00
Timo K
dddda7057f
add todo comments and who works on them
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-22 14:17:52 +02:00
Timo K
02f23e25fd
remove todo from matrix audio renderer
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-22 14:16:24 +02:00
Timo K
d9fe31039f
start fixing CallViewModel tests.
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 18:01:45 +02:00
Timo K
41e152f420
dont throw disconnected error at start of the call
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:52:12 +02:00
Timo K
ccfd32c9b2
move leave logic into view model
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:52:12 +02:00
Timo K
38d78ddce4
make audio work
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
cc870c3cc2
enable encryption in per sender case
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
c8098734cd
one e2ee worker per session
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
386dc6c84d
temp before holiday
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
598371b807
lots of work. noone knows if it works.
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
802ebf828d
refactor connection
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
e4a54e3a19
refactor connnection class
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
a617a92e88
make it work
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
33bc78eec1
add logging
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
8ffb360114
add local storage + more readable + remoteParticipants + use publishingParticipants
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
55b46b3f33
introduce publishingParticipants$
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
6bdfd7fbd8
add comment
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
a10489d7df
publish audio in remote rooms
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
7b88420f6a
first video!
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
376a4b4e4a
initial compiling version
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
9011ae4e1f
temp
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-19 17:50:43 +02:00
Timo K
7724cbf9be
fix tests
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 19:21:27 +02:00
Timo K
fe65c1f4da
fix decline event type
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 19:07:52 +02:00
Timo K
a91c71a8e4
types
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 18:36:23 +02:00
Timo K
e30142a43b
Add decline logic and tests
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 18:36:23 +02:00
Timo K
c15551c9f5
types
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 18:29:51 +02:00
Timo K
f410a11934
unused import
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 18:13:04 +02:00
Timo K
3122ccf4e4
dont use deprecated defer
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 18:10:08 +02:00
Timo K
03527e9d7a
fix participant count test
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 18:09:50 +02:00
Timo K
36be15436a
fix linter
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 17:58:46 +02:00
Timo K
04c03b1e72
bump js-sdk to develop branch
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-26 17:41:58 +02:00
Timo K
fb8de061f3
rename to callPickupState
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-25 14:31:14 +02:00
Timo K
acd26c61ef
use custom js-sdk from PR: https://github.com/matrix-org/matrix-js-sdk/pull/4976
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-25 14:24:32 +02:00
Timo K
e475f56af5
waitForNotificationAnswer
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-25 14:11:10 +02:00
Timo K
c0dccf89cb
lint
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-20 22:07:09 +02:00
Timo K
02f9d0822f
update knip.ts
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-05 09:17:50 +02:00
Timo K and hughns
e133289a7f
Make convert remaining js config files to ts
...
Co-authored-by: hughns
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-04 19:09:37 +02:00
Timo
6f0ffa84dc
Merge branch 'livekit' into robin/behaviors
2025-07-14 19:03:18 +02:00
Timo and Robin
434712ba17
fixing some tests
2025-07-11 00:27:46 -04:00
Timo and Robin
d08a180c54
Simplify and improve locality of the device name request logic
2025-06-25 15:50:53 -04:00
Timo and Robin
c03e2c4bde
simple subject instead of derived observable
2025-06-25 15:47:56 -04:00
Timo and Robin
e47a743f1e
Also fix camera reloading in widget mode
2025-06-25 15:47:56 -04:00
Timo and Robin
73ccb38c11
comment
2025-06-25 15:47:56 -04:00
Timo and Robin
ab4eadf58f
Only rerequest permissions if we do not yet get labels when enumerating
2025-06-25 15:47:56 -04:00
Timo
131bdc3522
fix initial selection when using controlled media
2025-06-25 12:14:05 +02:00
Timo
34724b7a8c
revert "custom compare logic"
2025-06-05 14:39:06 +02:00
Timo
b005f36ac7
custom compare logic
2025-06-05 14:36:43 +02:00
Timo
a52b723414
code styling
2025-05-27 18:17:41 +02:00
Timo
a1110af6d5
Fix the actual leaving issue
2025-05-27 17:38:54 +02:00
Timo
b8951944ab
start with a couple of more logs
2025-05-27 17:38:45 +02:00
Timo
f0403c80bc
also add non deprecated audio url parameter
2025-05-22 19:18:04 +02:00
Timo
9f84a5cae0
Deprecate old naming and introduce new words
2025-05-22 18:58:18 +02:00
Timo
4eb867436a
Merge branch 'livekit' into robin/audio-output-controls
2025-05-22 14:10:03 +02:00
Timo
323e088378
use js-sdk branch as in livekit branch
2025-05-22 14:08:35 +02:00
Timo
ab9dfc75f0
Comment to explain the usage/impact of: controlledMediaDevices
2025-05-22 13:04:42 +02:00
Timo
a056a28423
review
2025-05-21 12:53:17 +02:00
Timo
435a7d0adb
earpice -> earpiece
2025-05-20 16:37:14 +02:00
Timo
a1759a46de
rename everything to controlledMediaDevices to make it consistent with the actual name in the url parameters (controlledOutput is now only used for the hook that provides the output handle)
2025-05-20 15:30:02 +02:00
Timo
1cf11b91c1
Back to translated button
2025-05-20 10:17:25 +02:00