fkwp
6c987eb0d4
Refactor combined$ to return [connected, reason] tuple
2026-05-12 11:05:03 +02:00
fkwp
9c3b89695d
cleanup tests
2026-05-11 20:39:19 +02:00
fkwp
0ae7dc9a55
Merge disconnectReason$ into combined$; rename HomeserverDisconnectReason items
2026-05-11 19:27:52 +02:00
fkwp
4ffe3a6d2a
Track reconnect duration and align with existing analytics pattern
2026-05-08 12:06:45 +02:00
fkwp
7cedc308ca
Expose single trackCallReconnecting() entry point on PosthogAnalytics
2026-05-07 15:10:54 +02:00
fkwp
a55f8c45db
test trigger reconnecting telemetry
2026-05-07 10:58:44 +02:00
fkwp
9911c690ef
tests for disconnectReason
2026-05-07 10:49:26 +02:00
fkwp
4a0759e9b8
Add Posthog events for Call reconnect including the reason
2026-05-07 10:36:36 +02:00
fkwp
147d0f96e0
[Feature] Support delayed event delegation for legacy JWT request ( #3946 )
...
* make `delayed_leave_event_delay_ms` and `network_error_retry_ms` mandatory
* Support delegation for legacy jwt request
* Calculate `maximumNetworkErrorRetryCount` based on timeouts
2026-05-05 17:33:39 +02:00
Robin
7916360b52
Convert all grace period tests to marble tests
2026-05-04 18:01:41 +02:00
fkwp
0dc8fab256
linting
2026-05-04 13:36:26 +02:00
fkwp
69757b06ce
prettier
2026-05-04 13:27:57 +02:00
fkwp
a081b40fb2
add marble test
2026-05-04 13:24:19 +02:00
fkwp
88b5db6675
fix rtsSession initial state
2026-05-04 10:41:48 +02:00
fkwp
22f16174ef
addressing review comments
2026-05-04 09:16:55 +02:00
fkwp
24c2845958
move starWith to corresponding branch in switchMap
2026-04-30 20:50:45 +02:00
fkwp
0abc32b80e
prettier
2026-04-23 15:47:40 +02:00
fkwp
c1f821ca0f
Update default sync disconnect grace period to 10000ms in configuration and related functions
2026-04-23 15:33:00 +02:00
fkwp
283c606b9d
Add tests for grace period handling in createHomeserverConnected$
2026-04-22 21:46:25 +02:00
fkwp
9fccd49d7d
Improve the handling of the grace period for the home server connection to support both immediate and delayed emissions.
2026-04-22 21:08:31 +02:00
fkwp
9e2eef09d4
Add support for a grace period for /sync (aka homeserver disconnected) interruptions
2026-04-22 15:18:50 +02:00
Timo
2828b92d91
Merge pull request #3887 from element-hq/fkwp/support_latest_changes_MSC4195
...
Transitions Element Call from yarn to pnpm.
2026-04-21 00:20:18 +08:00
fkwp
2b42b2bdc1
fix tests after moving to pnpm
2026-04-17 11:13:41 +02:00
Jake Janicke
8eccb95fd3
Merge pull request #3859 from JakeTripplJ/screenshare-audio-filtering-removal
...
Remove unneeded filtering from screen share audio
2026-04-17 11:10:12 +02:00
Valere
07e3dc1ca4
Update livekit to 2.18.1
...
Fix mocking in a test
Also add "skipLibCheck": true in tsconfig
2026-04-13 10:02:54 +02:00
Valere
208184909e
fixup: prettier
2026-04-10 10:08:57 +02:00
Valere
aea5815dab
Ensure we don't publish to any transport until our own transport is ok
2026-04-10 09:24:34 +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
Robin
2c34e681a1
Fix tests
2026-04-06 12:58:26 +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
23f846a308
fixup: test prettier
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
c5c154c99b
add self contained domain logic to discover transports
2026-04-02 14:37:25 +02:00
Valere
fd08489afb
add failing test showing delayId not properly used for delegation
2026-04-02 14:32:26 +02:00
Valere
8cee4df46e
fix test: use fetchMock to avoid test interference
2026-03-31 12:03:02 +02:00
Valere
6b7467ce6d
Stop calling rtc/transport in widget mode
2026-03-31 11:38:21 +02:00
Robin
6b51b7dc58
Split MediaViewModel into multiple files
2026-02-25 22:41:28 +01:00
Robin
4508002947
Test local transport code in oldest member mode
2026-02-13 14:06:44 +01:00
Robin
2a56830426
Fix existing LocalTransport tests
2026-02-13 14:06:44 +01: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
a7bd2d3668
review: comment and better type
2026-01-29 14:58:54 +01:00
Valere
ca7c8a2f11
Send livekit_alias in multi sfu with state
2026-01-28 16:42:07 +01:00
Valere
146375e320
Only remove livekit_alias in sticky events
2026-01-28 16:33:52 +01:00
Valere
992fb9093c
fix test and use anonymised alias
2026-01-28 15:25:19 +01:00
Valere
ee8b27837a
fix lint issues
2026-01-28 14:38:23 +01:00
Valere
4c7db0147e
The advertised livekit_alias in membership is deprecated
2026-01-28 14:22:21 +01:00