Š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
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
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
Šimon Brandner
6a3c02f7f7
Delint
...
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
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
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
Robin Townsend
44786331c0
Use the more correct name 'roomIdOrAlias'
2023-07-26 10:52:07 -04:00
Robin Townsend
faa7b32589
Merge branch 'livekit' into copy-alias
2023-07-26 10:50:29 -04:00
Šimon Brandner
926eb8adbf
Fix e2ee bugginess
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-25 16:40:12 +02:00
Šimon Brandner
a1e18322df
Missing import
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-25 16:13:45 +02:00
Šimon Brandner
f7645ab432
Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/e2ee
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-25 16:00:12 +02:00
Šimon Brandner
d8fcaa6eba
Make it a const
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-25 15:23:00 +02:00
Šimon Brandner
f3615b73fc
/me is an idiot
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-25 15:18:45 +02:00
Šimon Brandner
a6f803a091
Don't change mute state while in the lobby
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-25 13:40:22 +02:00
Šimon Brandner
7ddede4fee
Update string
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-25 13:03:31 +02:00
Šimon Brandner
fa2fcbcbec
Hide E2EE behind a flag
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-25 11:07:20 +02:00
Robin Townsend
1dd3e70061
Make the copy link buttons prefer aliases to room IDs
2023-07-24 17:06:09 -04:00
David Baker
d66f045743
Merge remote-tracking branch 'origin/livekit' into dbkr/react_to_livekit_disconnect
2023-07-24 21:35:09 +01:00
David Baker
9fdafaf395
Add a useEventEmitterThree for livekit's event emitters and use it
2023-07-24 21:03:56 +01:00
Šimon Brandner
9ecb76c6b9
Merge pull request #1297 from vector-im/SimonBrandner/feat/auto-mute
2023-07-24 18:56:29 +02:00
Šimon Brandner
c2a3d60efd
Mute in lobby
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-24 17:44:07 +02:00
Šimon Brandner
8ee0e207bd
Automatically mute the user, if there already are more than 8 participants
...
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com >
2023-07-24 12:06:51 +02:00
David Baker
cfa3741694
Merge pull request #1288 from vector-im/dbkr/sentry_more_errors
...
Report more errors to sentry
2023-07-24 09:50:49 +01:00
David Baker
b44ab47a1a
Report more errors to sentry
...
Mostly from ErrorView
2023-07-21 11:58:21 +01:00
Robin Townsend
c0eeb035c8
Stop devices from automatically sleeping
...
A TypeScript upgrade was necessary to bring in the types for the wake lock API.
2023-07-21 00:52:43 -04:00
David Baker
4071c9029c
Track call disconnections
2023-07-20 18:22:17 +01:00
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