Commit Graph
132 Commits
Author SHA1 Message Date
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
Šimon Brandner c6f85c7ab8 Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-02-17 15:04:10 +01:00
Enrico SchwendigandGitHub 9a546b7ea0 Typescript update to 4.9.0 (#912)
* typescript: increase typescript version

- Use node types `@types/nodes`
- Pin mermaid to pre release "^9.4.0-rc.2"
- Increase linter version
- Increase TS version to `4.9.5`

* build: increase max heap size for Node
2023-02-14 13:29:47 +01:00
David Baker 1c7c3e2beb Upgrade js-sdk for https://github.com/matrix-org/matrix-js-sdk/pull/3144 2023-02-10 19:15:28 +01:00
Šimon Brandner 706bf5db61 Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-02-03 13:32:04 +01:00
David Baker 3bd47a1347 Merge remote-tracking branch 'origin/feature_sfu' into dbkr/update_js_sdk_screenshare_workaround 2023-02-02 14:43:38 +00:00
David Baker 8ffdf34b0a Merge remote-tracking branch 'origin/main' into feature_sfu 2023-02-02 14:42:38 +00:00
David BakerandGitHub 579b91abff Revert "Yarn upgrade" 2023-02-02 14:32:44 +00:00
David Baker b9589d6d2f Merge branch 'feature_sfu' into dbkr/update_js_sdk_screenshare_workaround 2023-02-02 13:49:51 +00:00
David Baker 9de7fe81f2 Merge branch 'main' into feature_sfu 2023-02-02 13:48:44 +00:00
David Baker e1abbd5291 Yarn upgrade
Along with some type fixes to make typescript happy again. Hopefully
they are sensible.
2023-02-02 12:49:54 +00:00
David Baker ff6a9840b7 Update js-sdk for screenshare workaround 2023-02-02 12:00:44 +00:00
Šimon Brandner ce8faa3daf Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-31 15:04:45 +01:00
Šimon Brandner 546cc164fa Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-27 17:18:33 +01:00
Šimon Brandner eb75a6ad80 Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-27 16:10:18 +01:00
Šimon Brandner 37d6bf4b0f Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-27 15:56:50 +01:00
Šimon Brandner 0cc82f8e23 Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-25 17:33:20 +01:00
Šimon Brandner e20bda024d Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-25 17:27:41 +01:00
Šimon Brandner 3d0906a145 Merge remote-tracking branch 'upstream/main' into feature_sfu
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-25 17:13:01 +01:00
Šimon Brandner 003e9206df Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-23 21:13:44 +01:00
David Baker 785fa51e0c Use merged js-sdk commit 2023-01-20 13:12:03 +00:00
David Baker 47c2e9e101 Don't crash if we can't find our own member event 2023-01-20 12:10:58 +00:00
David Baker 6168109894 Use merged js-sdk commit 2023-01-13 21:41:21 +00:00
David Baker a2a1a9032a Use js-sdk from branch 2023-01-13 18:33:58 +00:00
Šimon Brandner c0bc52cdf2 Merge remote-tracking branch 'upstream/feature_sfu' into feature_simulcast
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-13 17:48:01 +01:00
Šimon Brandner 4e64c71a4c Merge remote-tracking branch 'upstream/main' into feature_sfu
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-13 17:40:05 +01:00
David Baker 30688715cd Revert f20fc78bd7 2023-01-12 13:20:11 +00:00
David Baker f20fc78bd7 Use branch of js-sdk with Olm debugging
Pulls in changes from https://github.com/matrix-org/matrix-js-sdk/pull/3055

Not intended to stay long-term.
2023-01-12 11:28:15 +00:00
Šimon Brandner 8f1a65e856 Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-10 22:02:43 +01:00
Robin Townsend 449c1c9d79 Try updating Olm to fix type errors 2023-01-09 10:49:01 -05:00
Robin Townsend de5b58792e Update matrix-js-sdk 2023-01-09 10:32:05 -05:00
Šimon Brandner 53b21688b9 Merge branch 'feature_sfu' into feature_simulcast
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-07 09:49:21 +01:00
Šimon Brandner 96a18ec91e Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-07 09:45:45 +01:00
Šimon Brandner 9150365704 Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-07 09:42:22 +01:00
Robin Townsend 946f564f84 Update matrix-js-sdk 2023-01-06 10:39:29 -05:00
Robin Townsend c09fec5f88 Save lockfile 2023-01-04 08:25:26 -05:00
David Baker a2266e1779 Merge branch 'feature_sfu' into feature_simulcast 2022-12-21 22:24:07 +00:00
David Baker ded6ffc15c Update olm to try & fix types 2022-12-21 18:46:19 +00:00
David Baker 05d8191448 Use simulcast js-sdk branch 2022-12-21 18:29:48 +00:00
David Baker 1508b21701 Update to js-sdk with develop merged 2022-12-21 18:21:45 +00:00
David Baker 3220d06616 Support for SFUs
Mostly just using the right js-sdk, then adding temporary config for
which SFU to use until we can get it from the homeserver.
2022-12-21 18:01:58 +00:00
Robin Townsend fb4fe0e928 Save lockfile 2022-12-09 08:40:58 -05:00
Šimon Brandner be6f21c7e1 Upgrade js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-12-04 15:59:01 +01:00
Robin Townsend aec034182b Update matrix-js-sdk 2022-11-28 16:34:50 -05:00
Robin Townsend 5ba7267164 Fix lints 2022-11-28 16:15:47 -05:00
Robin Townsend 13def24f7e Enable users to join calls from multiple devices 2022-11-21 12:39:48 -05:00
David Baker 80f07a5454 Add a 'waiting for video' state to media tiles
This will show if the call is waiting for media to connect (in practice
doesn't actually seem to happen all that often) but also show if the
media connection is lost, with the js-sdk change.

Requires https://github.com/matrix-org/matrix-js-sdk/pull/2880
Fixes: https://github.com/vector-im/element-call/issues/669
2022-11-15 16:13:33 +00:00
Robin Townsend 6498d2bd19 Update matrix-js-sdk 2022-11-08 16:11:19 -05:00
Robin Townsend ba6c3fac7d Update matrix-js-sdk 2022-11-07 15:51:54 -05:00