Commit Graph

1314 Commits

Author SHA1 Message Date
Robin
2eb548de9f
Merge pull request #1192 from robintown/expand-collapse-inverse
Make the expand and collapse interactions inverses of one another
2023-07-07 09:36:25 -04: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
Š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
7a47d0504d
Size improvement numero dos
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-07 10:14:04 +02:00
Šimon Brandner
b9e15ab992
Fix sizing
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-07 10:11:27 +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
Robin
e481a34383
Merge pull request #1191 from robintown/better-double-click
Improve the double click detection
2023-07-06 10:35:18 -04: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
4a90a6d64c
Add E2EE lock
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-06 11:10:43 +02:00
Šimon Brandner
3cef00b6b6
Add E2EE banner
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-06 11:10:00 +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
0d72e3ae9e
Add LockOff icon
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-06 08:36:18 +02:00
Šimon Brandner
a63dc637ab
Add subtle primary color
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-06 08:35:53 +02:00
Robin Townsend
3ac98c8865 Make the expand and collapse interactions inverses of one another
For the most part, at least. If the edge cases where they differ still feel weird, I can iterate on this further.

The diff is unfortunately a bit impenetrable, because I had to change both the fillGaps and cycleTileSize core algorithms used by the big grid layout. But: the main change of significance is the addition of a function vacateArea, which clears out an area within the grid in a specific way that mirrors the motion performed by fillGaps.
2023-07-06 00:59:14 -04:00
Robin Townsend
1c7110e4c9 Improve the double click detection
So that it doesn't cause unnecessary renders, and interprets a series of three clicks as a double-click followed by a single click, rather than two overlapping double-clicks. (That behavior felt odd to me during testing of NewVideoGrid, which is why I picked up this small change.)
2023-07-06 00:40:15 -04:00
Šimon Brandner
d67ce2e051
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/url 2023-07-04 20:13:09 +02:00
David Baker
c9f57cb2a3
Merge pull request #1166 from vector-im/dbkr/openid
Support for getting SFU config using OIDC
2023-07-04 19:05:21 +01: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
David Baker
fc7a7b1799
Use union type for openidloader state
Co-authored-by: Daniel Abramov <inetcrack2@gmail.com>
2023-07-04 15:44:55 +01:00
Šimon Brandner
26657a5de9
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/url 2023-07-04 16:26:54 +02:00
David Baker
c5f3941ad7 Unused import 2023-07-03 17:14:46 +01:00
David Baker
5305a287fe Briefer syntax 2023-07-03 17:10:36 +01:00
David Baker
edcf9f3fd5 Use the repsonse,.ok rather than manual status code check 2023-07-03 17:07:00 +01:00
David Baker
f64bd0ab25 Unused import 2023-07-03 17:06:22 +01: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
David Baker
9e95e8b5a7 User ID field no longer neccessary 2023-07-03 13:00:25 +01:00
Daniel Abramov
81734b852c Add simulcast layers for the screen sharing 2023-07-03 11:26:43 +01: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
4efd88905d Move ...rest param 2023-06-30 16:13:02 +01:00
David Baker
4548c1af23 Merge remote-tracking branch 'origin/livekit' into dbkr/openid 2023-06-30 10:11:53 +01:00
Šimon Brandner
52ed76a02f
Double click to cycle size
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-06-29 18:34:55 +02: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
Šimon Brandner
87bd9cf026
Remove avatar from header
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-06-28 18:16:46 +02:00
David Baker
008bb4f41d Also the other files 2023-06-28 16:42:51 +01: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
f08facbff3
Merge pull request #1135 from robintown/embedded-device-selection
Fix device selection never completing in widget mode
2023-06-23 15:02:30 -04:00
Robin Townsend
c181d250ac Note the call backend in rageshake and analytics data 2023-06-23 14:47:32 -04:00