Commit Graph

219 Commits

Author SHA1 Message Date
renovate[bot] 900abc7fa2 Update dependency @opentelemetry/instrumentation-document-load to ^0.33.0 2023-08-31 21:03:50 +00:00
renovate[bot] 550d7acaa8 Update opentelemetry-js monorepo 2023-08-31 16:06:42 +00:00
Robin 0e0f6f7fc5 Merge pull request #1361 from vector-im/renovate/npm-mermaid-vulnerability
Update dependency mermaid to v9 [SECURITY]
2023-08-31 09:36:03 -04:00
Robin 65564f8662 Add types for dompurify and d3 2023-08-31 09:31:12 -04:00
renovate[bot] 96857476f9 Update dependency @vector-im/compound-design-tokens to ^0.0.5 2023-08-31 09:34:16 +00:00
renovate[bot] 11e78cf06b Update dependency mermaid to v9 [SECURITY] 2023-08-30 14:01:06 +00:00
Robin 841a31a642 Merge pull request #1354 from robintown/colors
Adopt the Compound color system
2023-08-30 08:14:53 -04:00
David Baker 73b505987d Unpin livekit versions
and upgrade to latest
2023-08-30 09:50:12 +01: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 05c9d83312 Upgrade @livekit/components-react
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-08 14:31:01 +02:00
Šimon Brandner bcf40a2155 Update livekit-client
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-08-08 14:16:18 +02:00
Šimon Brandner ec20c017d1 Update livekit-client
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-25 16:57:43 +02: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
Š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
David Baker e264a71d1e Merge v0.4.2 hotfixes 2023-07-12 17:57:54 +01:00
Daniel Abramov 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
Šimon Brandner 62d4084dcf Add support for accessing the web server from other devices
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-12 13:55:21 +02:00
Daniel Abramov c87e06244e Update matrix-js-sdk to fix crypto issues 2023-07-11 17:46:17 +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
Šimon Brandner 968a62be62 Merge pull request #1237 from vector-im/SimonBrandner/other/update-lk-cli 2023-07-11 16:03:59 +02:00
Šimon Brandner a5e921876f Update livekit-client
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-11 15:59:47 +02:00
David Baker 68635313d4 Bump js-sdk for getOpenIdToken() in embedded mode
For https://github.com/matrix-org/matrix-js-sdk/pull/3571
2023-07-11 13:24:10 +01: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 a6496626da Fix js-sdk version
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-07 14:17:09 +02:00
Šimon Brandner c7258776c3 Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/friendly-url 2023-07-06 11:59:13 +02:00
Šimon Brandner 792067ef22 Update js-sd
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-04 17:44:41 +02:00
Šimon Brandner 26657a5de9 Merge remote-tracking branch 'upstream/livekit' into SimonBrandner/feat/url 2023-07-04 16:26:54 +02:00
Šimon Brandner f0c9a26242 Add jest-mock
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-07-03 14:03:29 +02:00
Robin Townsend 9704033dc8 Fix tests 2023-06-30 18:46:10 -04: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
Michael Kaye cd4e5d3543 Push code coverage percentages to codecov.io. 2023-06-27 16:40:19 +01:00
Šimon Brandner 30ba12ccb8 Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-06-27 17:31:54 +02:00
David Baker 30e1034fba Use new-js-sdk flag to disable the actual calling of group calls
In favour of using livekit
2023-06-14 12:13:55 +01:00
Robin Townsend 93bc28c1a6 Merge branch 'livekit-experiment' into merge-main 2023-06-12 11:19:52 -04:00
Enrico Schwendig 0192ed70ea Local develop setup with docker (#1103)
* Add local live kit backend run setup
2023-06-12 15:52:27 +02:00
Robin Townsend ab97f12947 Merge branch 'main' into livekit-experiment 2023-06-09 17:22:34 -04:00
Enrico Schwendig 8f8dd5f803 Display active tracks in OTel metrics (#1085)
* Add track, feed and transceiver spans under call span
2023-06-07 16:40:47 +02:00
Enrico Schwendig f0a6f5919e move webrtc etc. events from groupCall to matrix.call span (#1080)
* add new linked span for connection stats

* move stats span under call span and add user attribute

* Update matrix-js-sdk
2023-06-06 08:28:53 +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
Enrico Schwendig 0114db7d2d update matrix-js-sdk (#1067) 2023-05-17 18:00:37 +02:00
Robin Townsend abdb85226f Update matrix-js-sdk 2023-05-15 11:04:57 -04:00
Timo K 01f20bf6c0 update matrix-js-sdk 2023-05-15 16:21:00 +02:00
Robin Townsend fcb923f6db Update matrix-js-sdk 2023-05-13 14:11:59 -04:00
Enrico Schwendig d148a81f91 Reconnect on network switch (#1029) 2023-05-11 16:47:05 +02:00
Michael Kaye 8d56a8e8fc Fix #978 issue with builds not building. 2023-04-27 09:42:25 +01:00
Enrico Schwendig e3a3859739 Make webrtc stats configurable (#1019)
* stats: make webrtc stats configurable
2023-04-27 09:30:34 +02:00
Enrico Schwendig 2b5de6db03 Add new calculation of received media stats (#1009) 2023-04-19 10:14:29 +02:00
Enrico Schwendig 3da4b4eeef Add jitter and packet loss info in summary report (#1006)
* stats: add jitter and packet loss
2023-04-18 15:20:06 +02:00