element-web icon indicating copy to clipboard operation
element-web copied to clipboard

MatrixRTC calls from EXA to EW lead to a call notification popup, with a join button and disappears after a second

Open spaetz opened this issue 6 months ago • 7 comments

Steps to reproduce

I call from Element X Android v25.06.0 (but same behaviour with previous version) to another account on current Element Web. Both users are in a DM room. For a split-second the notification popup appears in EW with a join button, but it disappears immediately, and there is no ringing.

This occurs 100% of the time. It does not matter whether the new to_device messages are turned on or off in EXA. It also behaves the same in the previous release of EXA (with embedded EC 0.9).

I will send a rageshake and refer to this issue.

Outcome

This is the Javascript console in my Firefox 139 on Debian Linux:

FetchHttpApi: <-- GET https://chat.academiccloud.de/_matrix/client/v3/sync?filter=xxx&timeout=xxx&org.matrix.msc4222.use_state_after=xxx&set_presence=xxx&since=xxx [305ms 200] [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
[MatrixRTCSession !GcfQUuFsejsVjZMLIV:academiccloud.de] Memberships for call in room !GcfQUuFsejsVjZMLIV:academiccloud.de have changed: emitting [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
[MatrixRTCSession !GcfQUuFsejsVjZMLIV:academiccloud.de] [Perf]: emit MatrixRTCSessionEvent.MembershipsChanged took 0ms [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
Removed toast with key 'call_!GcfQUuFsejsVjZMLIV:academiccloud.de_!GcfQUuFsejsVjZMLIV:academiccloud.de' [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): beginning of function [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): audio not playing [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): beginning of function [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): audio not playing [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): beginning of function [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): audio not playing [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): beginning of function [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): audio not playing [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): beginning of function [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): audio not playing [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): beginning of function [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
LegacyCallHandler.pause(ringAudio): audio not playing [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
[Perf]: receiveSyncChanges took 50ms [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
FetchHttpApi: --> GET https://chat.academiccloud.de/_matrix/client/v3/sync?filter=xxx&timeout=xxx&org.matrix.msc4222.use_state_after=xxx&set_presence=xxx&since=xxx [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
FetchHttpApi: --> POST https://chat.academiccloud.de/_matrix/client/v3/rooms/!GcfQUuFsejsVjZMLIV%3Aacademiccloud.de/read_markers [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
FetchHttpApi: --> POST https://chat.academiccloud.de/_matrix/client/v3/rooms/!GcfQUuFsejsVjZMLIV%3Aacademiccloud.de/receipt/m.read.private/%2404dDXGm1nkTSnKxS28u1BiirQ1E2-GSNnEWbJ9WVkQ4 [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
FetchHttpApi: <-- POST https://chat.academiccloud.de/_matrix/client/v3/rooms/!GcfQUuFsejsVjZMLIV%3Aacademiccloud.de/read_markers [134ms 200] [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
FetchHttpApi: <-- POST https://chat.academiccloud.de/_matrix/client/v3/rooms/!GcfQUuFsejsVjZMLIV%3Aacademiccloud.de/receipt/m.read.private/%2404dDXGm1nkTSnKxS28u1BiirQ1E2-GSNnEWbJ9WVkQ4 [141ms 200] [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
FetchHttpApi: <-- GET https://chat.academiccloud.de/_matrix/client/v3/sync?filter=xxx&timeout=xxx&org.matrix.msc4222.use_state_after=xxx&set_presence=xxx&since=xxx [1488ms 200] [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)
[Perf]: receiveSyncChanges took 21ms [rageshake.ts:69:16](webpack://element-web/src/rageshake/rageshake.ts)

Operating system

Debian 12

Browser information

Firefox 139.0b6 (64-bit)

URL for webapp

https://app.element.io

Application version

Element version: 1.11.102 Crypto version: Rust SDK 0.11.0 (404ca47), Vodozemac 0.9.0

Homeserver

sspaeth.de

Will you send logs?

Yes

spaetz avatar Jun 04 '25 19:06 spaetz

Rageshake sent. Both users were already in the DM room, so it can't be an invite rejection. THe same behavior with a :matrix.org account instead of an :academiccloud.de account, so it is not homeserver-specific.

spaetz avatar Jun 04 '25 19:06 spaetz

Thank you for filing an issue @spaetz !

szimszon avatar Jun 04 '25 19:06 szimszon

Last bit: I just tried with the new room list turned on. And the invitation seems to persist. It is just the notification that automatically closes:

Image

spaetz avatar Jun 04 '25 19:06 spaetz

And the ringing stops.

szimszon avatar Jun 04 '25 20:06 szimszon

in my case the audible ringing never starts

spaetz avatar Jun 04 '25 20:06 spaetz

Confirming this issue on mine too.

The desktop actually rings just once and turns off.

escix avatar Jun 09 '25 08:06 escix

I had an experience when my phone was cut from the network (no wifi, no mobile) I got a Element Call and my Element Desktop continued ringing...

After a while my phone was back online. I got another call and Element Desktop ring until EXA started ringing then ED stopped ringing EXA continued ringing.

Any progress on this issue?

szimszon avatar Jun 19 '25 07:06 szimszon

Sill present in 1.11.108...

szimszon avatar Aug 05 '25 07:08 szimszon

The sliding sync is not enabled on my ElementDesktop...

szimszon avatar Aug 05 '25 09:08 szimszon

we've done a lot of work to revamp call notifications, does this still affect you @spaetz

Half-Shot avatar Oct 06 '25 14:10 Half-Shot