Will Hunt
2374a3fd33
Prevent showing calling view when disconnected from Livekit. ( #3491 )
...
* Refactor disconnection handling
* Use "unknown"
* Update signature
* Add tests
* Expose livekitConnectionState directly
* fix whoopsie
2025-09-16 13:16:11 +00:00
davidegirardi
5811794f31
Add drum/joke reaction ( #3217 )
...
* Add drum/joke reaction
* Add license information
* Update test snapshot
* update snapshot test
---------
Co-authored-by: Robin <robin@robin.town >
Co-authored-by: Davide Girardi <davideg@element.io >
Co-authored-by: fkwp <github-fkwp@w4ve.de >
2025-09-16 11:46:25 +02:00
Will Hunt
e201258af3
Add sounds for ringing ( #3490 )
...
* add wait for pickup overlay
Signed-off-by: Timo K <toger5@hotmail.de >
* refactor and leave logic
Signed-off-by: Timo K <toger5@hotmail.de >
* recursive play sound logic
Signed-off-by: Timo K <toger5@hotmail.de >
* review
Signed-off-by: Timo K <toger5@hotmail.de >
* text color
Signed-off-by: Timo K <toger5@hotmail.de >
* overlay styling and interval fixes
Signed-off-by: Timo K <toger5@hotmail.de >
* fix permissions and styling
Signed-off-by: Timo K <toger5@hotmail.de >
* fix always getting pickup sound
Signed-off-by: Timo K <toger5@hotmail.de >
* Add sound effects for declined,timeout and ringtone
* better ringtone
* Integrate sounds
* Ensure leave sound does not play
* Remove unused blocked sound
* fix test
* Improve tests
* Loop ring sound inside Audio context for better perf.
* lint
* better ringtone
* Update to delay ringtone logic.
* lint + fix test
* Tidy up ring sync and add comments.
* lint
* Refactor onLeave to take a sound so we don't need to repeat the sound
* fix import
---------
Signed-off-by: Timo K <toger5@hotmail.de >
Co-authored-by: Timo K <toger5@hotmail.de >
2025-09-15 15:41:15 +01:00
Timo
76465d0e63
Add "wait for pickup" overlay with sound. Leave on decline/timeout ( #3489 )
...
* add wait for pickup overlay
Signed-off-by: Timo K <toger5@hotmail.de >
* refactor and leave logic
Signed-off-by: Timo K <toger5@hotmail.de >
* recursive play sound logic
Signed-off-by: Timo K <toger5@hotmail.de >
* review
Signed-off-by: Timo K <toger5@hotmail.de >
* text color
Signed-off-by: Timo K <toger5@hotmail.de >
* overlay styling and interval fixes
Signed-off-by: Timo K <toger5@hotmail.de >
* fix permissions and styling
Signed-off-by: Timo K <toger5@hotmail.de >
* fix always getting pickup sound
Signed-off-by: Timo K <toger5@hotmail.de >
---------
Signed-off-by: Timo K <toger5@hotmail.de >
2025-09-15 09:58:16 +02:00
Robin
a2cf4c8139
Merge pull request #3479 from robintown/fix-reconnect
...
Fix the reconnect button
2025-09-12 15:05:47 +02:00
Will Hunt
65d358df58
Do not use preload mode by default in embedded mode ( #3488 )
...
* Set preload=false by default for inApp
* Pull through types for params so it's easy to document
* Cleanup boolean logic
* change test
2025-09-11 14:57:26 +01:00
Robin
32cb8541f4
Actually fix the test flake
2025-09-10 16:42:09 +02:00
Timo
fc449bcfbf
Merge pull request #3467 from element-hq/toger5/call-pickup-state-decline-event
...
View model for decline logic
2025-09-09 15:23:39 +02:00
Robin
34a8977dd1
Increase timeout to hopefully avoid test flakes
2025-09-08 15:24:46 +02:00
Robin
db04cbfbfc
Fix type error
2025-09-08 14:58:46 +02:00
Robin
c8d3d58940
Merge pull request #3400 from element-hq/robin/reactions-small
...
Prefer showing the reaction button at small screen widths
2025-09-08 14:54:51 +02:00
Robin
d85cf5f929
Fix the reconnect button
...
After a membership manager error, clicking the 'reconnect' button did nothing. This is because we were forgetting to clear the external error state, causing it to transition directly back to the same error state.
2025-09-08 14:21:38 +02:00
Robin
1e32b355ce
Ignore decline events from the local user
2025-09-05 21:22:32 +02:00
Robin
1193a22658
Fix tests
2025-09-05 14:49:37 +02:00
Robin
2541f810fa
Ensure that non-ringing notifications lead to a null pickup state
2025-09-05 14:36:27 +02:00
Robin
c599d6eae9
Make the CallEventAudioRenderer test stricter
2025-09-05 14:06:28 +02:00
Robin
e9c43856d0
Merge branch 'toger5/waitForNotificationAnswer' into toger5/call-pickup-state-decline-event
2025-09-03 17:59:16 +02:00
Robin
1428df8567
Tentatively rename URL parameter to waitForCallPickup
2025-09-03 16:52:40 +02:00
Robin
b8acdc3cec
Tidy/correct the dialing/ringing tests
2025-09-03 16:51:35 +02:00
Robin
880e07c07f
Tidy some things up, refactor dialing/ringing behaviors
2025-09-03 16:51:31 +02:00
Robin
07522d6704
Remove unnecessary casts
2025-09-03 13:03:48 +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
fb8de061f3
rename to callPickupState
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-25 14:31:14 +02:00
Timo K
e475f56af5
waitForNotificationAnswer
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-25 14:11:10 +02:00
Robin
7ba4df7781
Test sync loop status and membership status in reconnection test as well
2025-08-22 18:15:21 +02:00
Robin
db65a5308a
Make most params optional for call view model test setup
2025-08-22 18:14:25 +02:00
fkwp
482e2f8f6f
Refine MatrixRTC connection wording ( #3463 )
2025-08-22 12:34:18 +02:00
Timo K
c0dccf89cb
lint
...
Signed-off-by: Timo K <toger5@hotmail.de >
2025-08-20 22:07:09 +02:00
Robin
44ddb40eea
Iterate in pairing session
2025-08-20 20:47:20 +02:00
Robin
5b8839b577
Pause hand raise updates while in 'reconnecting' state
2025-08-20 19:08:44 +02:00
Robin
33bf63d8d2
Disable a bunch of media/event sources when reconnecting
2025-08-20 18:51:03 +02:00
Robin
a7cc11ac81
Merge branch 'livekit' into reconnecting
2025-08-20 14:13:03 +02:00
Robin
25f04030fc
Merge pull request #3336 from element-hq/robin/switch-camera-tile
...
Move the switch camera button to the local user's tile
2025-08-20 13:38:44 +02:00
Robin
5d0289f3c9
Show 'reconnecting' message when session warns we've hit a timeout
...
By using the new 'probablyLeft' state provided by MatrixRTCSession.
2025-08-20 13:34:41 +02:00
Robin
3da9013426
Show 'reconnecting' message when disconnected from LiveKit
2025-08-20 13:34:36 +02:00
Robin
1a1e5a9db8
Show 'reconnecting' message when sync loop is disconnected
...
With this change I'm also taking care to not show the standard "Connection to the server has been lost" banner in the call view, since that is now covered by the 'reconnecting' message.
2025-08-20 13:34:26 +02:00
Robin
f8a051ee11
Address review feedback
2025-08-20 12:07:06 +02:00
fkwp
a0d778083d
Allow multiple MatrixRTC sessions per room ( #3451 )
...
* bump js-sdk to Allow multiple rtc sessions per room (with different sessionDescriptions)
* Allow new state key string-packing format for widget mode
* bump js-sdk to latest version (with merged multi session PR)
Signed-off-by: Timo K <toger5@hotmail.de >
---------
Signed-off-by: Timo K <toger5@hotmail.de >
Co-authored-by: Timo K <toger5@hotmail.de >
2025-08-19 16:13:56 +02:00
Robin
8de6ddceb0
Test that media tracks are paused while reconnecting to MatrixRTC
2025-08-15 20:20:00 +02:00
Robin
8b3b72dfb4
Consolidate yes/no marbles into one definition
2025-08-15 20:19:18 +02:00
Robin
db59679ad4
Allow the local participant's RTC membership to be absent in tests
2025-08-15 20:18:21 +02:00
Robin
f08ae36f9e
Pause media tracks and show a message when reconnecting to MatrixRTC
2025-08-15 18:38:52 +02:00