David Baker
7c26bdbda3
Put the maximised conditional back
...
and comment it
2022-12-19 15:10:25 +00:00
David Baker
c6ad2003f0
Add other missing file
2022-12-16 17:28:52 +00:00
David Baker
9aed344a80
Add missing file
2022-12-16 17:25:28 +00:00
David Baker
223793a445
Make spatial audio Firefox-only
...
Hopefully explained in comment: we have a heisenbug where we sometimes
lack audio from a certain participant, so this simplifies the audio
path by removing the workaround required to do AEC with spatial audio
on chrome.
2022-12-16 17:12:17 +00:00
Robin Townsend
acc41c532e
Add URL params to control fonts
...
This was also a good chance to switch to the semantic font size names used in Compound.
2022-12-09 14:31:13 -05:00
Robin Townsend
0a38395bdc
Subtly animate video tile toolbars
2022-12-02 12:44:31 -05:00
Robin Townsend
13def24f7e
Enable users to join calls from multiple devices
2022-11-21 12:39:48 -05:00
David Baker
93aafb1415
Remove mystery blank line
...
Co-authored-by: Robin <robin@robin.town >
2022-11-16 16:39:35 +00:00
David Baker
734d330a10
CamcelCase for enum values
2022-11-16 10:45:49 +00:00
David Baker
80f07a5454
Add a 'waiting for video' state to media tiles
...
This will show if the call is waiting for media to connect (in practice
doesn't actually seem to happen all that often) but also show if the
media connection is lost, with the js-sdk change.
Requires https://github.com/matrix-org/matrix-js-sdk/pull/2880
Fixes: https://github.com/vector-im/element-call/issues/669
2022-11-15 16:13:33 +00:00
Robin Townsend
5f84cb5790
Fix lint
2022-11-07 14:03:28 -05:00
Robin Townsend
fb75c1536b
Merge branch 'main' into missing-audio-logs
2022-11-07 14:00:22 -05:00
Robin Townsend
70344fd40f
Disable spatial audio for the maximized speaker
2022-11-07 11:50:05 -05:00
Robin Townsend
0a5701b9fa
Add logs to debug missing spatial audio
...
And potentially fix it, by recreating the source node when the stream changes.
2022-11-07 11:46:10 -05:00
David Baker
51572b5787
Make onClose required in Modal
2022-11-07 12:23:21 +00:00
Robin Townsend
2d5f413a1f
Improve the visual experience of joining a call
...
Because useMeasure always returns a width and height of zero on the first render, various call UI elements would flash in and out of existence or animate in from the wrong place when joining a call. This poses an accessibility issue, and is generally unpleasant.
2022-11-02 23:17:36 -04:00
Robin
db66700595
Merge pull request #704 from robintown/feedless-tiles
...
Don't show toolbar buttons on connecting tiles
2022-11-02 12:36:36 -04:00
Robin Townsend
84a92845c3
Don't show toolbar buttons on connecting tiles
...
Because connecting tiles don't have a feed, clicking the local volume button would cause a soft crash. This also fixes a few strict mode errors in the surrounding area while we're at it.
2022-11-02 12:34:31 -04:00
Robin Townsend
8731f83fb5
Fix a warning about missing keys
2022-11-02 12:15:32 -04:00
David Baker
2346ad9b7e
Merge pull request #695 from vector-im/dbkr/fix_missing_tile_bug
...
Fix missing tile bug
2022-11-01 18:20:23 +00:00
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
Robin Townsend
c25874ced5
Don't log AbortErrors from videos that are never played
...
It's normal for the play operation on video feeds to be cancelled due to tiles unmounting quickly (especially with React 18's strict mode), but it logs a scary error which can be misleading during debugging.
2022-10-31 12:34:56 -04: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
736aa95133
Fix type
2022-10-24 18:58:55 +01:00
Robin Townsend
7ad84de9c2
Re-enable focusing tiles in 1:1 calls
2022-10-24 10:22:51 -04:00
David Baker
537341da3a
Fix storybook
2022-10-24 10:06:38 +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
Robin Townsend
178c6496bd
yarn prettier:format
2022-10-18 00:48:29 -04:00
Robin Townsend
c5eb9f0b99
Prevent screenshare feeds from collapsing when you're alone in freedom mode
...
The code was previously confusing focused and presenter tiles quite a bit, and also had a couple different spots that would mistakenly engage 1:1 layout behavior when you're alone with your own screensharing feed.
2022-10-18 00:30:37 -04:00
Robin
e9ebccf0df
Merge pull request #619 from robintown/unmute
...
Leave audio elements unmuted regardless of mute state
2022-10-14 09:59:54 -04:00
Robin Townsend
4728804a33
Leave audio elements unmuted regardless of mute state
2022-10-13 10:49:16 -04:00
Robin Townsend
8524b9ecd6
Set up translation with i18next
2022-10-12 14:53:49 -04:00
Robin Townsend
2155d9bb80
Let the maximized video feed fill the window
...
instead of getting letterboxed.
2022-09-26 09:55:39 -04:00
Robin Townsend
1e65f10d3f
Merge branch 'main' into simplify-maximised
2022-09-23 00:29:29 -04:00
Robin Townsend
de0df4b534
Further simplify the maximised speaker view
2022-09-22 17:52:05 -04:00
Robin Townsend
f78cf6e79a
Don't allow the user to fullscreen their own screenshare feed
2022-09-22 17:35:23 -04:00
David Baker
6355aa863c
Fix scroll bug in spotlight view
...
This was a confusion between indicies of the tile and the tile position:
the spotlight tile is the 0th TilePosition, ie. the tile with order
0, not the tile with index 0.
Also comment one method to hopefully make this slightly easier to
understand.
2022-09-22 12:03:57 +01:00
Robin Townsend
4a08ae75b3
Make the maximised prop of VideoTile optional
2022-09-16 10:21:41 -04:00
Robin Townsend
9e367db324
Maximise the active speaker when the window is small
2022-09-14 19:05:05 -04:00
Šimon Brandner
a2a6eaf695
Update-jssdk
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-19 17:26:02 +02:00
Šimon Brandner
af7daee3e7
Handle screen-sharing feed ending
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-19 17:16:57 +02:00
Šimon Brandner
fa0a8d30e7
Fix audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-15 15:11:20 +02:00
Šimon Brandner
b57ef84e66
Filter out local streams
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-15 15:05:30 +02:00
Šimon Brandner
0720005c93
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-14 09:01:32 +02:00
Šimon Brandner
897f127fbd
Check for audio track count
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-14 09:01:16 +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
7f6b0f572b
Merge remote-tracking branch 'upstream/main' into SimonBrandner/fix/audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-14 08:57:49 +02:00
Šimon Brandner
317f27e5f9
Don't re-run hook on every mute
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-13 18:44:11 +02:00
Šimon Brandner
b2427bd810
Handle audio-less
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2022-08-13 18:29:30 +02:00
Šimon Brandner
4ac5c2c677
Merge remote-tracking branch 'upstream/main' into SimonBrandner/fix/audio
2022-08-13 18:28:27 +02:00