Robin
a0209eb433
Add debug logs to generateItems
...
It's always worth having logs for when state holders are created or destroyed (these are often the most interesting things happening in the application), so I thought it would be nice to have generateItems always log for you when it's doing that.
2026-02-06 13:26:02 +01:00
Timo K
a102b3f4aa
Fix some error log lines that lead to confusion.
...
In the past those log lines often were referenced for issues but they
are no real issues.
Either they are just deprecated code running or expected.
2026-01-19 12:20:37 +01:00
Valere
7a8c2d6ca9
Merge branch 'livekit' into valere/initial_mute_states
2026-01-12 19:13:40 +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
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
Valere
d2907f51d3
prettier format
2026-01-09 12:35:25 +01:00
Valere
a9153f2781
fix: Regression on default mutestate for voicecall + end-2-end tests
2026-01-09 12:03:56 +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
df2bd22005
Merge branch 'livekit' into toger5/delayed-event-delegation
2026-01-05 21:08:21 +01:00
Valere
5e715765d9
fix: un-needed tsdoc script
2025-12-30 18:17:07 +01:00
Valere
da55d84bde
Add script to check that the tsdoc is correct and up-to-date
2025-12-30 17:02:44 +01:00
Will Hunt
72ec1439f4
Support MSC4143 RTC Transport endpoint ( #3629 )
...
* Use rtc-focus branch of js-sdk
* Update makeTransport to fetch backend transports and validate all transports before response.
* Fix test
* Add test
* Loads more tests
* Add tests for openid errors
* improve comment
* update to develop commit
* Add JWT parsing
* Use JWT
* Cleanup
* fixup tests
* fixup tests
* lint
* lint lint
* Fix `Reconnecting`
2025-12-29 17:45:41 +00: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
55d18f10fe
temp refactored membership rtcidentity
2025-12-19 19:23:41 +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
Valere Fedronic
6cfa95bcfa
Merge pull request #3632 from element-hq/valere/double_pub_problems_highlevel
...
Fix: Races that could cause double publication or mute state desyncs
2025-12-17 08:50:00 +01:00
Timo K
9bd51fdfc4
Merge branch 'livekit' into toger5/pseudonomous-identities
2025-12-16 12:18:00 +01:00
Robin
ea6f934667
Don't show user as 'waiting for media' if they don't intend to publish
...
We don't expect them to be publishing on any transport; they might be a subscribe-only bot.
2025-12-15 15:26:42 -05:00
Robin
93ab3ba1ff
Compute the 'waiting for media' state less implicitly
...
On second glance, the way that we determined a media tile to be 'waiting for media' was too implicit for my taste. It would appear on a surface reading to depend on whether a participant was currently publishing any video. But in reality, the 'video' object was always defined as long as a LiveKit participant existed, so in reality it depended on just the participant. We should show this relationship more explicitly by moving the computation into the view model, where it can depend on the participant directly.
2025-12-15 15:26:42 -05:00
Robin
c7e9f1ce14
Explicitly pass the MatrixRTC mode to CallViewModel
2025-12-15 15:09:46 -05:00
Timo K
5bc6ed5885
small refactor to make it testable.
2025-12-15 20:17:57 +01:00
Robin
00d4b8e985
Use a more suitable filter operator to compute local member
2025-12-15 12:52:23 -05:00
Valere
f8310b4611
publisher: only use highlevel participant APIs
2025-12-12 10:31:08 +01:00
Timo K
4ec1b19fe2
fix js-sdk tests
2025-12-01 18:54:57 +01:00
Timo K
f26aa8f970
fix tests
2025-12-01 15:10:38 +01:00
Timo K
66dece98a5
add more test for publisher
2025-11-28 21:50:22 +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
4099c4383d
move HomeserverConnected
2025-11-21 13:04:28 +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
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
b51df36a06
Move one-on-one layout into CallViewModel ( #3567 )
...
* move ononone layout into CallViewModel
* move even more into the vm.
* tests
2025-11-17 17:42:37 +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
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
Robin
b4c17ed26d
Replace generateKeyed$ with a redesigned generateItems operator
...
And use it to clean up a number of code smells, fix some reactivity bugs, and avoid some resource leaks.
2025-11-09 00:46:16 -05:00
Timo K
e741285b11
Fix lints, move CallViewModel.test.ts. Fix audio renderer
2025-11-07 14:04:40 +01:00
Timo K
a55ce19048
cleanup
2025-11-06 15:26:17 +01:00
Valere
6e1a582265
fix tests compilation peer session timo - wip
2025-11-06 12:08:46 +01:00
Valere
5961cb65df
test with marbles
2025-11-03 17:19:17 +01:00
Valere
a7d2a3b9db
es lint fixes
2025-11-03 13:18:33 +01:00
Timo K
c8ef8d6a24
start moving over/removing things from the CallViewModel
2025-10-30 01:13:06 +01:00
Robin
75a8dd21eb
Remove some dead code
2025-10-22 23:17:07 -04:00
Robin
58cd12b9b8
Fix a number of remaining test failures
2025-10-22 22:57:29 -04:00
Robin
a1c7255cc6
Restore CallViewModel tests to working order
...
I've left only one of the tests behind (skipped).
2025-10-22 18:50:16 -04:00
Robin
1b3a56427f
Document generateKeyed$ more thoroughly
2025-10-21 00:27:18 -04:00
Robin
13894aaf3a
Simplify some test helpers that no longer need continuations
2025-10-17 12:34:06 -04:00