46 Commits
Author SHA1 Message Date
Daniel AbramovandGitHub eab2bc8ab5 Merge pull request #1173 from vector-im/lint-fixes
Enable stricter lints
2023-07-12 17:18:33 +02:00
Daniel Abramov 9820773136 A hack to fix problems with Matrix JS SDK
See https://github.com/matrix-org/matrix-js-sdk/pull/3593#issuecomment-1632725177
for more context on why it was necessary.
2023-07-12 16:11:01 +01:00
Daniel Abramov c87e06244e Update matrix-js-sdk to fix crypto issues 2023-07-11 17:46:17 +01:00
Daniel Abramov 6bbd92a2bf Fix missing i18n 2023-07-11 16:02:58 +01: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 7f9157bae1 Fix lint errors that originate from JS SDK 2023-07-11 16:02:58 +01:00
Daniel Abramov 6d6e88c234 Fix unit tests after the lints 2023-07-11 16:02:58 +01:00
Daniel Abramov 91352fd08d Disable a lint for any for now in UserMenu 2023-07-11 16:02:58 +01:00
Daniel Abramov c9edfd9df4 Fix the CI pipeline command used for linting 2023-07-11 16:02:58 +01:00
Daniel Abramov 5c559bdca6 Re-generate i18 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 647599a39e Use useMemo in a proper way in ClientContext 2023-07-11 16:02:58 +01:00
Daniel Abramov 6998555ad9 Show UserMenu even if no avatar available 2023-07-11 16:02:58 +01:00
Daniel Abramov b68cd54049 Properly use sizeToClassName for a LinkButton 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 caa3a7e8d0 Make useProfile() use of undefined explicit 2023-07-11 16:02:58 +01:00
Daniel Abramov 333b7cc041 Use more concise syntax for optional function call 2023-07-11 16:02:58 +01:00
Daniel Abramov e6047f8583 Remove redundant code when resolving an avatar 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
Daniel AbramovandGitHub 5c5aa27a20 Merge pull request #1207 from vector-im/release-preparations
Release preparations
2023-07-07 16:10:33 +02:00
Daniel Abramov 19a2494b9b Fix screen-sharing on Chrome
- Disable temporal layers
- Make 30 fps screen-sharing
2023-07-07 14:27:01 +01:00
Daniel Abramov 008d22a2a0 Use unique and stable room names for LiveKit
Fixes #1165.
2023-07-07 12:36:53 +01:00
Daniel Abramov 81734b852c Add simulcast layers for the screen sharing 2023-07-03 11:26:43 +01:00
Daniel Abramov 0445c47c02 Merge branch 'livekit-experiment' into livekit-load-test 2023-06-14 22:14:06 +02:00
Daniel Abramov 520f241efa Merge branch 'livekit-experiment' into livekit-load-test 2023-06-14 21:12:20 +02:00
Daniel Abramov 556c46320d Merge branch 'livekit-experiment' into livekit-load-test 2023-06-13 17:24:15 +02:00
Daniel Abramov 6436e66adb Merge branch 'livekit-experiment' into livekit-load-test 2023-06-13 17:23:42 +02:00
Daniel Abramov cada6e624e Show SFU participants who are not Matrix members
So that we can load SFU with the virtual participants and get them
displayed in the grid layout. Before that only participants who are part
of the Matrix were displayed (i.e. participants who have published
m.call.member event to declare their participation).
2023-06-12 20:01:28 +02:00
Daniel Abramov e8a2421962 Fix i18n lint errors 2023-06-09 19:08:14 +02:00
Daniel Abramov 048dce05c3 Explicitly configure options for the LiveKit room 2023-06-09 19:04:46 +02:00
Daniel Abramov 28fe813b76 Move LiveKit module into its own directory 2023-06-09 18:31:29 +02:00
Daniel Abramov e032edbfad Make LiveKit configurable 2023-06-07 20:16:24 +02:00
Daniel Abramov dc98960d8d Properly use LiveKit screen sharing 2023-06-07 15:30:54 +02:00
Daniel Abramov 79018606b2 Simplify overly complicated VideoGrid 2023-06-06 13:14:02 +02:00
Daniel Abramov b11ab01bbe Remove the unused exports with help of ts-prune 2023-06-05 19:11:38 +02:00
Daniel Abramov 8b533018ea Remove unused stuff from video-grid 2023-06-02 21:34:59 +02:00
Daniel Abramov ed581189a8 Fix shortcuts mix 2023-06-02 21:29:22 +02:00
Daniel Abramov 274b5b66aa Add connection quality indicator to the tile 2023-06-02 20:15:29 +02:00
Daniel Abramov 786c584ae2 Fix missing tile names 2023-06-02 20:07:15 +02:00
Daniel Abramov b1d7631994 Fix LiveKit's device selection during the call 2023-06-02 19:55:41 +02:00
Daniel Abramov 991129e470 Experimental version of LiveKit with EC that works! 2023-06-02 19:12:28 +02:00
Daniel Abramov ee1819a0b6 Quick way to replace matrix JS SDK with LiveKit 2023-06-02 17:02:47 +02:00
Daniel Abramov fb9dd7ff71 Use LiveKit's react hooks for devices
More reliable device management.
2023-05-30 20:56:25 +02:00
Daniel Abramov f4f5c1ed31 Start using LiveKit SDK for media devices
This version is not supposed to properly work, this is a work in
progress.

Main changes:
* Completely removed the PTT logic (for simplicity, it could be
  introduced later).
* Abstracted away the work with the media devices.
* Defined confined interfaces of the affected components so that they
  only get the data that they need without importing Matris JS SDK or
  LiveKit SDK, so that we can exchange their "backend" at any time.
* Started using JS/TS SDK from LiveKit as well as their React SDK to
  define the state of the local media devices and local streams.
2023-05-30 15:21:22 +02:00
Daniel Abramov e4f279fa63 Add LiveKit dependency 2023-05-19 12:48:47 +02:00