David Baker
38bb2895db
Tidier syntax
...
Co-authored-by: Robin <robin@robin.town >
2023-09-07 13:16:40 +01:00
David Baker
00f14c9814
Fix the mute icon being incorrect when using PTT
...
We were manipulating the participant's mute state directly for some
reason, just for setting the mute state directly, which bypased the
mutestates hook.
2023-09-06 11:45:01 +01:00
David Baker
3e72604391
Remove unintentional change
2023-09-05 17:38:43 +01:00
David Baker
973d396249
Remove extra device request on the video preview page
...
As per comment, livekit mutates the object that's passed in, so
we ended up re-requesting the devices in the next render because we
effectively passed in different options.
2023-09-05 17:34:55 +01:00
Robin Townsend
8e090af370
Merge branch 'livekit' into in-call-footer
2023-09-01 13:13:02 -04:00
Robin
7f5e02852c
Merge pull request #1380 from vector-im/renovate/classnames-2.x-lockfile
...
Update dependency classnames to v2.3.2
2023-08-31 09:33:22 -04:00
Robin
2d5ea82ecf
Fix types
2023-08-31 09:27:06 -04:00
Robin
a35f1cb23f
Merge pull request #1369 from robintown/copy-icon-color
...
Use a more suitable color for copy buttons
2023-08-31 07:55:35 -04:00
Robin
3494f0fb4d
Merge branch 'livekit' into in-call-footer
2023-08-31 07:53:14 -04:00
Šimon Brandner
c7c6e2c007
Merge pull request #1358 from vector-im/SimonBrandner/feat/e2ee-on
2023-08-31 11:32:27 +02:00
Robin Townsend
63ccd56573
Implement new designs for in-call footer buttons
...
This basically amounts to swapping out some CSS, the icons, and the Tooltip component.
2023-08-30 22:04:20 -04:00
Robin Townsend
6f4834e168
Use a more suitable color for copy buttons
...
This is a change that I meant to include in aa628cc63c , but forgot to commit.
2023-08-30 14:52:53 -04:00
David Baker
3a0c895b7a
Fix e2ee audio in Firefox
...
Pull in changes for livekit and disable RED as per comment.
2023-08-30 17:17:45 +01:00
Šimon Brandner
1b2287646d
Enable E2EE by default
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-30 12:19:21 +02:00
Robin Townsend
aa628cc63c
Adopt the Compound color system
...
As a first step towards adopting the Compound design system and the new Element Call designs, this pulls in Compound's color tokens and applies them to all existing components. I've tried to choose tokens based on the semantics of where they're used, but in some cases, where the new and old design systems differ in semantics, it was necessary to choose tokens based on their resulting color. These hacks can be removed as we implement more of the new designs.
There were a set of environment variables that we used for custom themes, but Compound has way too many design tokens for that approach to still be a good idea, so I decided to replace them all with a single environment variable that just lets you write arbitrary custom CSS.
2023-08-28 17:14:40 -04:00
Šimon Brandner
9d142c1ea5
Fix useIsRoomE2EE()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-25 15:30:58 +02:00
Šimon Brandner
d0fe055af6
Always allow setting a password
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-16 15:39:55 +02:00
Šimon Brandner
3ea908c59f
Revert "Remove optional call"
...
This reverts commit 74c70627dc .
2023-08-16 15:38:23 +02:00
Šimon Brandner
74c70627dc
Remove optional call
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-16 15:35:49 +02:00
Šimon Brandner
b4b33563be
Fix joining an existing room
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-16 15:13:28 +02:00
Šimon Brandner
5cd8c0538e
Revert changes to JoinExistingCallModal
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-16 13:59:41 +02:00
Šimon Brandner
54157611eb
Remove log line
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-16 13:56:31 +02:00
Šimon Brandner
22690c4a0b
Differentiate between E2EE and non-E2EE rooms by alias presence
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-11 17:00:05 +02:00
Šimon Brandner
edfae0138c
Add useIsRoomE2EE()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-11 16:59:26 +02:00
Šimon Brandner
e246c053c1
Improve loading of passwords
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-11 16:57:55 +02:00
Šimon Brandner
c86ef40162
Goodbye, aliases
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-11 13:25:09 +02:00
Šimon Brandner
b2f5f90f37
More URL handling adjustements
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-11 13:16:35 +02:00
Šimon Brandner
506b363f38
Update E2EE texts
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-11 13:14:50 +02:00
Šimon Brandner
5c3d8efebf
Improve URL handling
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-10 15:19:43 +02:00
Šimon Brandner
8facf7808b
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/hash
2023-08-10 09:43:05 +02:00
Robin Townsend
15348fb43c
Disable full mesh in widget mode
...
We disabled full mesh on the client that's used in SPA mode, but forgot to do the same for the widget mode client.
2023-08-09 18:02:05 -04:00
Robin Townsend
7b85b4f051
Fix joining with muted video in widget mode
...
This typo was making it impossible to join a call in Element Call's widget mode with your camera off.
2023-08-09 17:36:19 -04:00
Robin Townsend
b96b3dd5ef
Fix logging out getting the app stuck on a 'loading' screen
2023-08-09 12:00:13 -04:00
Robin
44dd860cb8
Merge pull request #1311 from robintown/error-view-rageshake
...
Add a rageshake button to the generic error view
2023-08-09 09:31:58 -04:00
Šimon Brandner
6a3c02f7f7
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:37 +02:00
Šimon Brandner
466d7ee394
Don't allow joining existing calls with E2EE enabled
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:37 +02:00
Šimon Brandner
935d2188f0
Do not allow joining a call without E2EE key
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:36 +02:00
Šimon Brandner
c4e5e1afb1
Save room shared keys to local storage
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:36 +02:00
Šimon Brandner
80f97cba32
Fix getRoomUrl()
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:36 +02:00
Šimon Brandner
7ace81a7cc
Make copy link button include a password
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:35 +02:00
Šimon Brandner
89ae0e1e62
Re-use variable
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:35 +02:00
Šimon Brandner
9cd20ed1da
Delete hash once loaded
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:34 +02:00
Šimon Brandner
8fdc1e3684
Store shared keys in local storage
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:34 +02:00
Šimon Brandner
59653fea07
Update the URL the lobby view when the password changes
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:33 +02:00
Šimon Brandner
1a5898eb30
Get E2EE password from the URL
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-09 14:01:33 +02:00
Šimon Brandner
4e16c26b2e
Fix types
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-08-08 15:19:42 +02:00
Robin Townsend
e04d3f7c8d
Fix camera light regression
...
By avoiding a method call that was accidentally causing LiveKit to try to publish tracks before the SFU connection was established, resulting in an unclosed stream.
2023-08-04 13:15:24 -04:00
Robin Townsend
99ce5064f5
Fix multiple issues with device settings
...
To track media devices, we were previously relying on a combination of LiveKit's useMediaDeviceSelect hook, and an object called UserChoices. Device settings should be accessible from outside a call, but the latter hook should only be used with a room or set of preview tracks, so it couldn't be raised to the app's top level. I also felt that the UserChoices code was hard to follow due to lack of clear ownership of the object.
To bring clarity to media device handling and allow device settings to be shown outside a call, I refactored these things into a single MediaDevicesContext which is instantiated at the top level of the app. Then, I had to manually sync LiveKit's device state with whatever is present in the context. This refactoring ended up fixing a couple other bugs with device handling along the way.
2023-08-03 10:17:00 -04:00
Šimon Brandner
30f5d0e29f
Delint
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-29 20:42:16 +02:00
Šimon Brandner
a0bf1d2677
Handle broken links better
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-29 20:31:18 +02:00