Robin
426ea30fe1
Remove all references to .well-known transport advertisement
2026-08-10 15:10:49 +02:00
Robin
7d6a0da6a9
Remove outdated tests
2026-08-10 14:33:14 +02:00
Timo K.
2b84c587f2
lint
2026-07-07 19:45:22 +02:00
Timo K.
a6921e2bfb
all the other logs
2026-07-07 19:12:11 +02:00
Valere
40dacd523b
review: Move the all advertised/active down to the LocalMember
...
And let the local member use it properly to send membership event and publish media
2026-04-09 15:22:10 +02:00
Valere
9fe35ba822
Add back the patch to avoid reconnect glitch
2026-04-03 19:08:52 +02:00
Valere
a89d231858
review change comment to proper doc
2026-04-03 18:51:14 +02:00
Valere
6d99450d81
review: Remove un-needed initial value for behavior
2026-04-03 18:46:49 +02:00
Valere
90bfaecd13
refact: step 2 - break down old membership local transport logic
2026-04-02 16:53:51 +02:00
Valere
4cecdda955
refact: step 1 - extract oldest membership transport into new function
2026-04-02 16:53:51 +02:00
Valere
6dcb470162
Refactor local transport
...
- use the new domain logic to discover the transport
- then try to authenticate
- Also fix the bug in multi sfu where active$ not updated on delayId change
2026-04-02 14:38:49 +02:00
Valere
6b7467ce6d
Stop calling rtc/transport in widget mode
2026-03-31 11:38:21 +02:00
Robin
13d131c2e9
Logically separate the advertised transport from the active transport
...
To correctly implement the legacy "oldest membership" mode, we need the code to be more nuanced about the local transport. Specifically, it needs to allow for the transport we advertise in our membership to be different from the transport that we connect to and publish media on. Otherwise, if these two are yoked together, members will resend their memberships whenever an SFU hop occurs, which an attacker could use to cause an amplified wave of state changes.
2026-02-11 13:47:15 +01:00
Valere
4c7db0147e
The advertised livekit_alias in membership is deprecated
2026-01-28 14:22:21 +01:00
Timo
a72aae0b8d
Merge pull request #3679 from element-hq/toger5/fix-unnecassary-error-logs
...
Fix some error log lines that lead to confusion
2026-01-19 17:57:34 +01:00
Timo K
a7008d37c6
better log msg
2026-01-19 13:54:46 +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
Timo K
abb80e4e87
Fix event reemitting types
...
The callback args for reemitting will change to an array including the
originals emitter.
2026-01-19 12:15:15 +01:00
Timo K
9b40d7420a
refactor to use destroy method
2026-01-15 19:04:32 +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
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
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
d814f60f23
review (docstrings) and remove unused artifacts.
2026-01-07 15:47:44 +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
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
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
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
b380532d30
lots of error logging and fixing playwright
2025-12-10 21:14:13 +01:00
Timo K
a731981388
Cleanup transport creation and local store hack.
2025-11-21 14:02:15 +01:00
Timo K
1fd9ac93c9
refactor local transport testing and local memberhsip initialization
2025-11-20 15:19:00 +01:00
Valere
614762b5f8
fixup headers
2025-11-18 10:13:10 +01:00
Valere Fedronic
16e1c59e11
playwright: Fix error boundary mgmt or openId errors ( #3570 )
...
* playwright: Fix error boundary mgmt or openId errors
* do not use tap for important logic
* fix lint
---------
Co-authored-by: Timo K <toger5@hotmail.de >
2025-11-17 18:22:37 +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
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