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
Š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
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
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
Enrico Schwendig
6dbfb289eb
Local user should never be in the spotlight ( #1125 )
...
* Local user should never be in spotlight
2023-06-21 14:51:41 +02:00
Robin Townsend
7bb45adbe1
Fix lint
2023-06-20 12:13:27 -04:00
Robin Townsend
510d55d88a
Fix local tile showing as unmuted when you join muted
2023-06-18 14:28:28 -04:00
Robin Townsend
eb500ed88e
Skip an unnecessary render when calculating display names
2023-06-18 14:28:07 -04:00
Robin Townsend
a2c40561db
Fix a likely bug with audio inputs and outputs getting mixed up?
2023-06-18 14:26:50 -04:00
Robin Townsend
fc307d0aba
Don't show ghost tiles while connecting
2023-06-18 14:26:27 -04:00
Robin Townsend
65f390e2e5
Merge branch 'grid-interactions' into livekit-experiment
2023-06-18 11:45:43 -04:00
Robin Townsend
cd7ab00d80
Don't try to promote the same speaker multiple times
2023-06-18 11:45:01 -04:00
Robin Townsend
ae5b1a367d
Merge branch 'grid-interactions' into livekit-experiment
2023-06-18 11:36:59 -04:00
Robin Townsend
ddeb36db47
Promote speakers to the first page of the grid
2023-06-18 11:35:13 -04:00
Robin Townsend
c3c26e235b
Merge branch 'grid-interactions' into livekit-experiment
2023-06-18 01:13:45 -04:00
Robin Townsend
4e5a75074a
Fix tiles not collapsing toward their center
2023-06-18 01:01:24 -04:00
Robin Townsend
391ba5196c
Make screenshares appear near the presenter's tile and be larger
2023-06-18 00:47:37 -04:00
Robin Townsend
3e56d0a656
Make it possible again to drag a tile into the top left corner
2023-06-18 00:28:08 -04:00
Robin Townsend
d1e7d963a3
Merge branch 'grid-interactions' into livekit-experiment
2023-06-17 22:32:19 -04:00
Robin Townsend
afbcea7b66
Allow the grid to resize with the window width
2023-06-17 22:31:07 -04:00
Robin Townsend
4f582c6ad7
Don't change tile size when dragging
2023-06-17 22:31:07 -04:00
Robin Townsend
8b8d6fd0e0
Push large tiles upwards back into the grid
2023-06-17 22:31:01 -04:00
Enrico Schwendig
f13c0f07cc
Spotlite tile order ( #1118 )
...
* Manage spotlight tile slots for speaker and presenter
2023-06-16 18:57:47 +02:00
Robin Townsend
7f5ec069a5
Merge branch 'main' into livekit-experiment
2023-06-16 12:57:06 -04:00
Robin
4fd1264d12
Merge pull request #1123 from robintown/connection-indicators
...
Hide connection quality indicators behind a developer setting
2023-06-16 12:56:36 -04:00
Daniel Abramov
5b4787cef6
LiveKit Device Usage Refactoring ( #1120 )
...
Signed-off-by: Timo K <toger5@hotmail.de>
Co-authored-by: Timo K <toger5@hotmail.de>
2023-06-16 18:07:13 +02:00
Robin Townsend
a96d70eefb
Hide connection quality indicators behind a developer setting
...
Calls are an environment with high cognitive load, so it's important that we keep extra UI elements like these to a minimum and stick to what's been explicitly designed. I assume that this was here as a developer feature to diagnose reliability of the back end components, which is perfectly fine, so I've kept it behind a developer setting rather than fully removing it.
2023-06-16 10:59:57 -04:00
Robin Townsend
1b3539e873
Fix speaking indicators showing up when they shouldn't
...
This fixes two edge cases:
- Screenshares should never have a speaking indicator
- Speaking indicators should be hidden in 1:1 calls
2023-06-16 10:35:29 -04:00
Robin Townsend
f4f454f58e
Improve the performance of dragging tiles in the large grid
...
By only updating the one spring of the tile that's being interacted with
2023-06-16 10:20:24 -04:00