David Baker
feeb9c4e7c
Fix missing tile bug
...
The 'connecting' tile change meant that we could have tiles right
at the start of the call where we wouldn't have before, and in fact
could have tiles for other users before we even had a tile for ourself.
This threw off the logic for ordering tiles which had a special case
for 1:1 calling which assumed that one of the tiles in a 1:1 call was
the local user. In this case, this assumption wasn't true at the very
start of the call, so the tile orders got assigned incorrectly and then
persisted for the rest of the call.
Fixes https://github.com/vector-im/element-call/issues/694
2022-11-01 18:10:11 +00:00
David Baker
b8af9a0733
Merge pull request #648 from vector-im/dbkr/tiles_for_everyone
...
Show tiles for members we're trying to connect to
2022-10-25 12:56:43 +01:00
David Baker
b39b3c072d
Merge pull request #652 from vector-im/dbkr/fixec_screenshare
...
Fix screen sharing
2022-10-24 18:54:52 +01:00
Robin
669b1403fc
Merge pull request #663 from robintown/matryoshka-avatar
...
Fix avatars of remote participants in matryoshka mode
2022-10-24 13:49:32 -04:00
Robin Townsend
efe9e6c2b3
Fix avatars of remote participants in matryoshka mode
...
RoomWidgetClient doesn't do lazy loading, so it only has the state event data to work with and not the lazy loaded user object.
Previously avatars of remote participants were all replaced by fallback avatars.
2022-10-24 13:19:16 -04:00
Robin Townsend
bf94a5dcaf
Make more of the lobby translateable
2022-10-24 10:17:12 -04:00
David Baker
821622f71c
Types
2022-10-21 20:28:33 +01:00
David Baker
71dcc94166
Fix screen sharing
...
* Make the embedded mode screen sharing a request-each-way rather
than request-and-reply, since replies time out and so can't wait
for the user.
* Try normal screen sharing first, then fall back to using the widget
API if it fails (for lack of a good way of detecting when we
should be using the widget API).
Fixes https://github.com/vector-im/element-call/issues/649
2022-10-21 20:19:52 +01:00
David Baker
1ea9432769
Show tiles for members we're trying to connect to
...
This should help give more context on what's going wrong in
splitbrain scenarios.
If users leave calls uncleanly, their tile will remain in until
their member event times out, which will be an hour from when they
joined the call. See https://github.com/vector-im/element-call/issues/639 .
Part of https://github.com/vector-im/element-call/issues/616
2022-10-21 17:24:56 +01:00
Šimon Brandner
4ee6e450b7
Make Element Call screensharing work on desktop
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-10-20 19:07:27 +02:00
Robin Townsend
97ae11f656
Fix fullscreen buttons fullscreening the wrong feed
2022-10-17 12:31:56 -04:00
Robin Townsend
402f62e09a
Consolidate some similar strings
2022-10-14 18:38:33 -04:00
Robin Townsend
684defdc19
Merge branch 'main' into hide-invite
2022-10-14 10:51:41 -04:00
Robin Townsend
5ed2dc6e0e
Split room state hooks out into separate files
2022-10-14 10:50:36 -04:00
Šimon Brandner
ce86a6f120
Merge pull request #622 from vector-im/SimonBrandner/feat/hide-screen
2022-10-14 16:49:54 +02:00
Šimon Brandner
96b1a5f296
hideScreensharing
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-10-14 16:17:50 +02:00
Robin Townsend
02b2aef958
Hide the invite button in non-public rooms
2022-10-14 09:40:21 -04:00
Robin Townsend
81771f511c
Fix types
2022-10-13 21:25:15 -04:00
Robin Townsend
8524b9ecd6
Set up translation with i18next
2022-10-12 14:53:49 -04:00
David Baker
eca598e28f
Merge pull request #609 from vector-im/dbkr/device_by_name
...
Use device labels rather than IDs in widget API
2022-09-30 17:28:59 +01:00
David Baker
77da0c912f
Match device type too
...
Because lots of audio & video inputs have the same name
2022-09-29 17:07:10 +01:00
David Baker
17613837b6
Hold a user media stream open while we get devices
...
As per comment.
2022-09-29 13:19:46 +01:00
David Baker
4a5b69800c
Use device labels rather than IDs in widget API
...
device IDs are different for each origin, so won't match up when passed
in & out of widgets. Use the label instead.
For https://github.com/vector-im/element-web/issues/23331
2022-09-27 16:19:48 +01:00
Robin Townsend
fdc0272940
Show a reduced set of controls when the window is narrow
2022-09-26 20:36:51 -04:00
David Baker
b55aa12100
Merge pull request #602 from vector-im/dbkr/fix_capture_devices_left_on
...
Fix bug causing mic/webcam to remain open after call
2022-09-23 17:09:39 +01:00
David Baker
ded6a80b58
Fix passworldess user prompt screen
...
This is how boolean logic works
2022-09-23 15:38:35 +01:00
David Baker
7435f1101a
Fix bug causing mic/webcam to remain open after call
...
Fixes https://github.com/vector-im/element-call/issues/596
2022-09-23 15:35:05 +01:00
David Baker
d9fc9e82ab
Fix another cause of split-brain rooms
...
Wait for the client to start syncing before we attempt to join a
room.
Fixes https://github.com/vector-im/element-call/issues/600 (detailed
bug analysis is also in that issue).
2022-09-23 10:50:42 +01:00
Robin Townsend
89fa9dfd64
Only maximise a participant when the window is narrow, too
2022-09-16 10:23:23 -04:00
Robin Townsend
9e367db324
Maximise the active speaker when the window is small
2022-09-14 19:05:05 -04:00
Robin Townsend
8725b2c230
Unpersist widget after hanging up
...
Otherwise it can get stuck on screen in Element Web.
2022-09-12 22:54:20 -04:00
Robin Townsend
b7be3011da
Add widget actions for joining and leaving calls and switching layouts
...
These actions are processed lazily to ensure that even if the app takes a while to start up, they won't be missed.
2022-09-09 02:14:12 -04:00
Robin Townsend
3186b5f24b
Add a URL parameter for hiding the room header
2022-09-09 02:04:53 -04:00
David Baker
70dffe95ff
Handle groupcall being null
2022-09-07 11:42:37 +01:00
David Baker
0360889fd6
Log ID instead of object
...
as otherwise it recurses and logs the entire client + store
2022-09-06 15:11:45 +01:00
David Baker
ee1dd2293e
Use new method to wait until a room is ready fopr group calls
...
We were waiting for the group call event handler to process the room,
but only if we couldn't get the room from the client - if getRoom returned
a room, we just wouldn't wait. This just uses promises rather than
an event to wait for the room to be ready.
Requires https://github.com/matrix-org/matrix-js-sdk/pull/2641
2022-09-06 11:57:07 +01:00
David Baker
30c9dfce02
Remove unused import
2022-09-01 13:36:02 +01:00
David Baker
48ad4d040d
Actually wait for the right event
...
& update js-sdk dependency
2022-09-01 13:32:11 +01:00
David Baker
1b4f097b1c
Fix bug where additional group calls could be created
...
This (hopefully) fixes the remaining bug where extra group calls
could be created when entering a room.
We waited for the Room event to arrive, but didn't wait for the
group call event handler to actually process the event, so it would
have depended what order the event handlers were run in.
If this doesn't fix it, it at least adds logging so we'll have more
to go on next time.
Fixes https://github.com/vector-im/element-call/issues/563
2022-09-01 11:41:22 +01:00
David Baker
e7353e184f
Fix groupcall debug info in rageshakes
...
We were putting the whole array from setState in, so the debug info
was wrapped in an array when it shouldn't be.
Also comment the groupCallInspector setState/context dance which I
now *finally* understand.
2022-08-25 11:43:47 +01:00
David Baker
c550545116
Fix 'submit debug logs' checkbox in the rageshake form
...
Fixes https://github.com/vector-im/element-call/issues/550
2022-08-23 20:29:41 +01:00
Robin Townsend
ba4258aa89
Fix the call type selector
2022-08-18 18:48:17 -04:00
Šimon Brandner
fc0a3f38ac
Merge pull request #512 from vector-im/SimonBrandner/fix/audio
2022-08-16 10:07:55 +02:00
Šimon Brandner
719156aadf
Fix the Feedback modal not being closable
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-14 10:42:57 +02:00
Šimon Brandner
fd8ade1bf1
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-14 09:00:36 +02:00
Šimon Brandner
4ac5c2c677
Merge remote-tracking branch 'upstream/main' into SimonBrandner/fix/audio
2022-08-13 18:28:27 +02:00
Robin Townsend
882eed0737
Remove top level matrix-js-sdk imports
2022-08-12 16:46:53 -04:00
Šimon Brandner
e82ed2cbcb
Merge remote-tracking branch 'upstream/main' into SimonBrandner/fix/audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-12 20:54:04 +02:00
Timo
51ae1c819a
typescript src/video-grid
( #511 )
2022-08-12 19:27:34 +02:00
Šimon Brandner
8176d60d96
Show name in 1:1 calls
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-12 10:33:59 +02:00