David Baker
1675770196
Add disconnected screen for when livekit disconnects from the call
...
eg. when it gives up retrying to connect
Also refactors the rageshake button into a dedicated component that
we can just put wherever we want.
Fixes https://github.com/vector-im/element-call/issues/1268
2023-07-20 17:55:50 +01:00
Timo
b7f5069e98
set video enabled even if tracks are not yet initialized ( #1273 )
...
This could fix "muted on join issues" but could introduce issues where the buttons show unmuted even if no device is available.
Signed-off-by: Timo K <toger5@hotmail.de >
2023-07-18 17:41:54 +02:00
Šimon Brandner
4193629c2c
Add E2EE password prompt
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-17 16:53:58 +02:00
Šimon Brandner
723819b3d6
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/friendly-url
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-15 09:48:08 +02:00
Timo
cac06f9852
Remove unecassary state for lobby device initialization ( #1238 )
...
* remove unecassary state
Signed-off-by: Timo K <toger5@hotmail.de >
* hotfix
Signed-off-by: Timo K <toger5@hotmail.de >
* remove video/audioAvailableAndEnabled
this is not required anymore since we disable the button.
Signed-off-by: Timo K <toger5@hotmail.de >
---------
Signed-off-by: Timo K <toger5@hotmail.de >
2023-07-13 11:20:24 +02:00
David Baker
e264a71d1e
Merge v0.4.2 hotfixes
2023-07-12 17:57:54 +01:00
Šimon Brandner
8946af8f4e
Hack e2ee in
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-12 17:52:14 +02:00
Daniel Abramov
f3de341a4b
Remove unnecessary usage of a roomIdOrAlias
...
In most cases the `roomId` was used despite the name of the variable.
2023-07-11 16:02:58 +01:00
Daniel Abramov
aaa9b7761c
Use widget with ! instead of ?
...
It cannot be `null` in the mentioned contexts as discussed with Robin.
2023-07-11 16:02:58 +01:00
Daniel Abramov
259ef27bd0
Properly model the state of a group call load
2023-07-11 16:02:58 +01:00
Daniel Abramov
2293cbf1f0
Use memoized callbacks when passing to components
2023-07-11 16:02:58 +01:00
Daniel Abramov
0105162ffa
Enable strict lints
...
An attempt to fix https://github.com/vector-im/element-call/issues/1132
2023-07-11 16:02:58 +01:00
Šimon Brandner
b814efc21f
Add a comment
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-10 16:51:33 +02:00
Šimon Brandner
cc2808a1da
Fix audio being muted when joining a call
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-10 14:27:19 +02:00
Šimon Brandner
aa885b4158
Merge pull request #1217 from vector-im/SimonBrandner/feat/screenshare-audio
2023-07-10 12:36:02 +02:00
Timo
7b19980a83
Disable mute button if media is not yet available. ( #1218 )
...
---------
Signed-off-by: Timo K <toger5@hotmail.de >
2023-07-10 12:26:47 +02:00
Šimon Brandner
91e8d559b9
Support screen-sharing audio
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-10 11:27:06 +02:00
Šimon Brandner
3c560ed126
Merge pull request #1209 from vector-im/SimonBrandner/feat/lk-url-fallback
2023-07-07 18:18:58 +02:00
Daniel Abramov
5c5aa27a20
Merge pull request #1207 from vector-im/release-preparations
...
Release preparations
2023-07-07 16:10:33 +02:00
Šimon Brandner
124c6223e4
Fallback to config LiveKit URL if there is no URL coming from the js-sdk
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-07 16:08:30 +02:00
Timo
9be9250124
Combined permission request with newer livekit sdk version ( #1200 )
...
---------
Signed-off-by: Timo K <toger5@hotmail.de >
2023-07-07 14:41:29 +02:00
Daniel Abramov
008d22a2a0
Use unique and stable room names for LiveKit
...
Fixes #1165 .
2023-07-07 12:36:53 +01:00
Šimon Brandner
3effa330f1
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/eula-config
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-07 10:57:53 +02:00
Šimon Brandner
bb1206dd2f
Merge pull request #1193 from vector-im/SimonBrandner/feat/e2ee-banner
2023-07-07 10:53:40 +02:00
Šimon Brandner
e52b3e6d53
Add EULA config
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-06 18:48:25 +02:00
Šimon Brandner
3d57d63f7f
Don't unnecessarily use useEffect
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-06 12:12:28 +02:00
Šimon Brandner
c7258776c3
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/friendly-url
2023-07-06 11:59:13 +02:00
Šimon Brandner
4a90a6d64c
Add E2EE lock
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-06 11:10:43 +02:00
Šimon Brandner
0646f327df
Change from TOC to EULA
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-06 08:43:00 +02:00
Šimon Brandner
ce1671a117
Merge remote-tracking branch 'upstream/dbkr/openid' into SimonBrandner/feat/url
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-04 17:43:40 +02:00
Šimon Brandner
26657a5de9
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/url
2023-07-04 16:26:54 +02:00
David Baker
4524b418ff
Merge remote-tracking branch 'origin/livekit' into dbkr/openid
2023-07-03 17:03:58 +01:00
David Baker
f2eabec382
Be stricter with what is passed in to the openid components
2023-07-03 16:21:56 +01:00
Šimon Brandner
11785fc243
Avoid redirects
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-03 15:40:06 +02:00
Šimon Brandner
5255158090
Fix new grid layout
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-03 10:03:24 +02:00
Robin Townsend
17450b4531
Fix big grid crashing due to missing React import
...
by fixing the cause rather than the symptom: this upgrades the code to use the new, recommended JSX transform mode of React 17+, which no longer requires you to import React manually just to write JSX.
2023-06-30 18:21:18 -04:00
David Baker
23b8a61e7a
Provide sfu config via context
2023-06-30 18:12:58 +01:00
David Baker
4548c1af23
Merge remote-tracking branch 'origin/livekit' into dbkr/openid
2023-06-30 10:11:53 +01:00
Šimon Brandner
4a90eb341f
Merge pull request #1167 from vector-im/SimonBrandner/feat/remove-avatar
2023-06-29 18:10:57 +02:00
Šimon Brandner
8cafe0f25d
Remove roomAvatarUrl from MatrixInfo
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-06-29 08:03:30 +02:00
David Baker
a0b342069d
Merge remote-tracking branch 'origin/livekit' into dbkr/openid
2023-06-28 16:40:59 +01:00
David Baker
8996aa772c
Initial support for getting SFO config using OIDC
...
* Change `jwt_service_url` to `livekit_service_url`
* Make it a POST so we can send the openID token sensibly
* Get an OIDC token & pass it with the request
* Read the SFU URL from there too
and convert the auth server accordingly, althugh with no actual OIDC
support yet, it just issues tokens blindly just as before and ignores
the openid token completely.
We'll need to update configs & the JWT service before merging this.
2023-06-28 16:35:56 +01:00
Robin Townsend
1c6ef97457
Improve typing around layouts and grid components
2023-06-28 10:59:36 -04:00
Robin Townsend
cc35f243f2
Make NewVideoGrid support arbitrary layout systems
...
In preparation for adding layouts other than big grid to the NewVideoGrid component, I've abstracted the grid layout system into an interface called Layout. For now, the only implementation of this interface is BigGrid, but this will allow us to easily plug in Spotlight, SplitGrid, and OneOnOne layout systems so we can get rid of the old VideoGrid component and have One Grid to Rule Them All™.
Please do shout if any of this seems obtuse or underdocumented, because I'm not super happy with how approachable the NewVideoGrid code looks right now…
Incidentally, this refactoring made it way easier to save the state of the grid while in fullscreen / another layout, so I went ahead and did that.
2023-06-27 14:20:45 -04:00
Šimon Brandner
3a2cee581e
Get LK info from the js-sdk
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-06-27 17:28:50 +02:00
Robin
e625894ae9
Merge pull request #1146 from robintown/fullscreen-and-pip
...
Bring back fullscreen and picture-in-picture modes
2023-06-27 09:22:19 -04:00
David Baker
2caaa15520
Fix username / displayname naming confusion
2023-06-27 12:23:19 +01:00
Robin Townsend
276684c103
Bring back fullscreen and picture-in-picture modes
...
We're now using LiveKit's magic RoomAudioRenderer component to make sure everyone's audio is rendered regardless of whether they have a tile in the DOM.
2023-06-26 13:48:41 -04:00
Robin Townsend
25eb56418d
Show the room avatar rather than the user avatar in the header
...
It's supposed to be the room avatar; this was a regression introduced during the LiveKit hack week.
2023-06-23 16:20:15 -04:00
Robin Townsend
45915ed67e
Fix device selection never completing in widget mode
...
By reinstating some of the code from the full mesh branch that was there to handle this
2023-06-23 14:17:51 -04:00