Commit Graph

420 Commits

Author SHA1 Message Date
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
Enrico Schwendig
370a6579fb
Add jitter in webrtc stats (#1000)
* stats: add jitter in webrtc stats
2023-04-14 08:49:33 +02:00
Enrico Schwendig
bb5c382fd0
separate summary report from stats report (#986)
* stats: separate summary report from stats report

* stats: switch to last summery stats builder

* stats: update matrix-js-sdk
2023-04-06 13:19:39 +02:00
David Baker
2435846f66 Latest js-sdk develop (with required PR merged) 2023-04-05 10:00:16 +01:00
Enrico Schwendig
889a31489b stats: fix typo 2023-04-03 12:37:55 +02:00
David Baker
e18c69ec89 Use latest js-sdk develop 2023-03-31 14:29:07 +01:00
Enrico Schwendig
dd67a45671 stats: Add summery report 2023-03-31 14:57:56 +02:00
David Baker
34a72679a1 Merge remote-tracking branch 'origin/main' into dbkr/otel 2023-03-29 12:30:41 +01:00
David Baker
77c6357b08 Use js-sdk from hangup refactor branch
https://github.com/matrix-org/matrix-js-sdk/pull/3234
2023-03-29 12:28:04 +01:00
David Baker
247d15cbb5 Update js-sdk
for da03c3b529
2023-03-28 15:24:33 +01:00
Robin Townsend
76c0277301 Update matrix-js-sdk 2023-03-22 11:41:41 -04:00
Robin Townsend
698bea93e3 Update matrix-widget-api 2023-03-22 11:33:50 -04:00
David Baker
6b36604c84 Update js-sdk 2023-03-20 19:17:50 +00:00
David Baker
c519e13885 Version that does at least send some traces 2023-03-15 16:00:39 +00:00
Timo K
4c59638d00 otel for call start, end and mute
This is send over zipkin.
And it uses a posthog exporter to export events to posthog
using a _otel prefix
2023-03-10 10:33:54 +01:00
Enrico Schwendig
0c66b32b49
matrix-js-sdk: update to last develop branch with call group fix (#941) 2023-03-03 08:06:10 +01:00
Enrico Schwendig
29e41c7227
Allow Element Call to be started without audio / video interface (#924)
* config: add feature in `config.json`

* groupCall: adjust connection state in feed if allowCallWithoutVideoAndAudio

* matrix-js-sdk: update version for allowCallWithoutVideoAndAudio

- I modified the SDK so that mute unmute work without media and check device permission inside the SDK
- allowCallWithoutVideoAndAudio is only checked at one point outside the SDK

* docu: add join group call without media docu in READMe

---------

Co-authored-by: Robin Townsend <robin@robin.town>
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-03-02 18:48:32 +01: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 Schwendig
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
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
Robin Townsend
045103dbc9 Backfill the grid as people leave by moving tiles along paths 2023-01-25 02:30:52 -05: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
860aff4958 Change rageshake persistence to throttled flushing
Rather than every 30 seconds. This way we'll save logs for sessions
lasting less than 30 seconds which we previously didn't. Also save
on window unload just in case that doesn't catch everything.

Plus remove some more unused params.
2023-01-16 17:27:49 +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
e92b8f24e9
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2023-01-11 18:23:34 +01: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
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
David Baker
28946d0774 Merge branch 'feature_sfu' into feature_simulcast 2023-01-03 22:59:44 +00:00
David Baker
9adde2fde5 Merge remote-tracking branch 'origin/main' into feature_sfu 2023-01-03 22:59:26 +00:00
David Baker
fef503c65d
Upload source maps to sentry (#810)
* Pretend to upload source maps to sentry

* Build release not in docker so we can upload source maps sensibly

and also upload the release as a plain tarball while we're at it

* fix yaml

* Try specifying version this way

* test rebuild

* pass secrets through

* Too many sentries

* It's almost 2023 and we're still having BSD vs GNU tar issues

* Maybe get sensible tag name & release identifier

* Wrong plugin, and also try the 'release' option which might the right thing

* Try a different github action

see if github likes that any better

* add contents write permission

and switch to the asset upload plugin that had the helpful doc

* actually put release name in tarball path

* copy docker config to right path

* Prettify vite config

* Only activate sentry plugin if we have secrets

* Use env var for tag name

* Also spelling env correctly would likely help

* Fix variable syntax

* Put env var in correct place

One day maybe I will not find yaml syntax confusing
2023-01-03 10:48:48 +00:00
David Baker
a2266e1779 Merge branch 'feature_sfu' into feature_simulcast 2022-12-21 22:24:07 +00:00
David Baker
dca2a57529 Merge branch 'main' into feature_sfu 2022-12-21 22:21:39 +00:00
David Baker
f35b50d89f Remove Olm from devDependencies
It was in devDependencies as well as dependencies for some reason
2022-12-21 18:49:49 +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
90ef5505bb Apply Prettier to the entire project
This ensures that our tests will be formatted by Prettier, among other things.
2022-12-09 14:34:25 -05:00
Šimon Brandner
357a3be90d
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-12-05 18:45:04 +01: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
Robin Townsend
667f902278 Switch to the develop branch of matrix-js-sdk 2022-11-07 12:50:59 -05:00
Timo
72503d0335
Add posthog Telemetry (Anonymity Logic + call duration telemetry) (#658)
Co-authored-by: Timo K <timok@element.io>
Co-authored-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-11-04 13:07:14 +01:00
Robin Townsend
806a9032e1 Update matrix-js-sdk 2022-11-03 14:41:14 -04:00
Robin Townsend
5b5c649b49 Update matrix-js-sdk 2022-11-01 19:56:30 -04:00
Robin
54d903933b
Merge pull request #688 from robintown/load-olm-once
Ensure that Olm is only loaded once
2022-10-31 14:44:33 -04:00
Robin Townsend
a3b8dfcdf2 Update matrix-js-sdk 2022-10-31 13:59:20 -04:00
Robin Townsend
d4caa1585b Ensure that Olm is only loaded once
React 18's strict mode intentionally mounts all components twice, which was causing Olm to get double-loaded. Also, it doesn't need to be loaded if the app is running as a widget.
2022-10-31 13:43:03 -04:00
Robin Townsend
31decc6577 Update matrix-js-sdk 2022-10-27 09:40:59 -04:00
Šimon Brandner
fcaa126147
Add jest
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-10-26 13:21:06 +02:00
Robin Townsend
d2a5baf403 Update matrix-js-sdk 2022-10-24 13:51:54 -04:00
Robin Townsend
fbf7b5d022 Add i18n CI 2022-10-24 10:53:55 -04:00
David Baker
54fe2aa7a3 Bump js-sdk for addTransceiver fix 2022-10-19 18:06:24 +01:00
David Baker
3ff201562b Bump js-sdk 2022-10-19 16:02:48 +01:00
Robin Townsend
004160b664 Update matrix-js-sdk 2022-10-13 20:24:48 -04:00
Robin Townsend
8524b9ecd6 Set up translation with i18next 2022-10-12 14:53:49 -04:00
Šimon Brandner
e7a94426c2
Update js-sdk (again)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-09-29 15:20:55 +02:00
Šimon Brandner
4b4c98066c
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-09-28 18:15:34 +02:00
Robin Townsend
10c37d205a Update matrix-js-sdk and matrix-widget-api 2022-09-16 11:09:08 -04:00
Robin Townsend
a9e94c341c Update matrix-js-sdk 2022-09-16 10:27:56 -04:00
Robin Townsend
f0d7d8fac6 Enable strict mode checks with typescript-strict-plugin
No CI checks at this time, the only effect this will have is adding IDE errors.
2022-09-15 08:31:24 -04:00
David Baker
a2fdab8eb9 Update js-sdk for exception fix
For https://github.com/matrix-org/matrix-js-sdk/pull/2667
2022-09-14 09:47:53 +01:00
David Baker
b1c9e8c07a Bump js-sdk dependency
For https://github.com/matrix-org/matrix-js-sdk/pull/2662
2022-09-13 16:39:14 +01:00
Robin Townsend
e8bc22370b Upgrade matrix-js-sdk 2022-09-09 09:54:26 -04:00
David Baker
ca5ce7d468 Update to latest js-sdk group call branch 2022-09-08 11:25:21 +01:00
David Baker
22dd095ea9 Update js-sdk to latest on group-call branch 2022-09-06 13:55:32 +01:00
David Baker
30a270193f Use js-sdk branch 2022-09-06 12:14:24 +01:00
David Baker
48ad4d040d Actually wait for the right event
& update js-sdk dependency
2022-09-01 13:32:11 +01:00
David Baker
7b6193ab62 Update js-sdk for ICE end-of-candidates fix 2022-08-26 10:06:18 +01:00
Šimon Brandner
5be0fdea0b
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-19 17:34:21 +02:00
Šimon Brandner
a2a6eaf695
Update-jssdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-19 17:26:02 +02:00
Šimon Brandner
d08573b6b8
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-08-19 17:18:06 +02:00
Robin Townsend
7e98b19587 Update matrix-js-sdk 2022-08-09 09:53:45 -04:00
Robin Townsend
a2963adbee Upgrade matrix-widget-api 2022-08-05 15:41:25 -04:00
Robin Townsend
69f19d24a3 Merge branch 'main' into matroska 2022-07-28 16:27:04 -04:00
Šimon Brandner
1f4cc7bb19
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-07-28 18:13:35 +02:00
Šimon Brandner
5478e648a7
Update js-sdk
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2022-07-25 16:02:29 +02:00
Robin Townsend
7fab4ca1ba Merge branch 'main' into matroska 2022-07-13 15:54:06 -04:00
David Baker
dbdc010764 Updgrade postcss-preset-env
as it was complaining that it didn't work with our version of postcss
2022-07-08 17:19:13 +01:00
David Baker
c9ae6532a0 Bump js-sdk 2022-07-08 09:48:40 +01:00
David Baker
e310392800 Bump js-sdk 2022-07-05 13:19:32 +01:00
Robin Townsend
2928df8b8c Update matrix-js-sdk 2022-07-03 10:52:49 -04:00
Robin Townsend
be173a838d Update matrix-js-sdk 2022-07-01 12:08:15 -04:00
Robin Townsend
d5e638c8f7 WIP 2022-06-27 17:41:07 -04:00
Robin Townsend
122ffeeab5 Update matrix-js-sdk 2022-06-21 11:32:07 -04:00
Robin Townsend
fc07dd2af9 Convert useMediaStream to TypeScript 2022-06-13 17:24:25 -04:00
Robin Townsend
ee43fcc91f Make AEC work with spatial audio on Chrome 2022-06-13 13:31:44 -04:00
David Baker
d2c820f080 Update js-sdk for chrome audio renderer hang fix
Fixes https://github.com/vector-im/element-call/issues/267
2022-06-10 21:03:52 +01:00
David Baker
d4b211e678 Update js-sdk version 2022-06-10 12:07:14 +01:00
David Baker
7ef3dcc56c Bump js-sdk version for a couple of PTT network reliability fixes 2022-06-08 14:34:29 +01:00
Robin Townsend
878b48aa7a Add a shortcut lint script 2022-06-06 11:21:51 -04:00
Robin Townsend
af74228f8e TypeScriptify useRecaptcha 2022-05-27 10:37:27 -04:00
Robin Townsend
426e1a433b Make drag-and-drop smoother 2022-05-24 16:37:24 -04:00
David Baker
92d15e110a Update to include https://github.com/matrix-org/matrix-js-sdk/pull/2383 2022-05-19 19:10:31 +01:00
David Baker
3e19843bf7 Bump js-sdk dependency to encrypt to-device messages 2022-05-18 14:53:43 +01:00
David Baker
6913fddcd3
Merge pull request #303 from vector-im/to-device-olm2
Add support for to-device messages via OLM
2022-05-17 13:33:30 +01:00
David Baker
b7df8019f0 Import request typings
to tell tsc about _Request which has abort()
2022-05-10 18:09:17 +01:00
David Baker
27d492e9e2 Pin js-sdk commit & add olm for types 2022-05-10 17:41:50 +01:00
David Baker
bc22d36ef8 Use the merged js-sdk 2022-05-10 17:22:20 +01:00
David Baker
adc7892d8c Enable type checking & disable lint warning 2022-05-06 22:55:47 +01:00
David Baker
055fbe786d Merge remote-tracking branch 'origin/main' into dbkr/typescript_round_1 2022-05-06 21:41:14 +01:00
David Baker
4488947eed Initial round of typescripting 2022-05-06 11:32:09 +01:00
David Baker
bf8f164f55 Fix lint errors
Various hooks either missing dependencies or with extra ones.

Two remaining errors are from the recapcta code where I can't
work out if the extra dependency is intentional or not.
2022-05-05 13:15:07 +01:00
David Baker
8ecec0bc7e 3 more warnings in the PTT stuff 2022-05-04 11:35:33 +01:00
David Baker
66839e02f6 Add ESLint support too 2022-05-04 11:35:15 +01:00
David Baker
bad8f36bf5 Add prettier support
+ CI to check formatting, and fix the couple of instances that
were not in prettier format (case in HTML clour codes).
2022-05-04 11:35:15 +01:00
David Baker
73fda641c8 Switch js-sdk depdendency back to group-call branch 2022-05-03 13:19:57 +01:00
Robert Long
3d54047f87 Fix Olm import 2022-04-27 13:38:16 -07:00
Robert Long
a0e4de73cc Add support for to-device messages via OLM 2022-04-26 15:20:06 -07:00
Robert Long
fc1aaf02bf Use dbkr/ptt matrix-js-sdk package 2022-04-22 11:15:39 -07:00
Robert Long
72197c1a0a Remove dependency on matrix-react-sdk 2022-04-07 14:22:36 -07:00
Robert Long
0f6b8f9bb1 New incremental auth 2022-02-15 12:46:58 -08:00
Robert Long
a189f3ad98 Fix page titles 2022-02-02 21:48:44 -08:00
Robert Long
35c11660a3 Add configurable / dynamic page title 2022-02-02 15:02:40 -08:00
Robert Long
76b2e8b29e Add debug log inspector / rageshake 2022-02-01 15:11:06 -08:00
Robert Long
d6fb0e836d Fix storybook 2022-01-21 15:42:21 -08:00
Robert Long
6032f6ba44 Fix avatar sizing 2022-01-21 13:21:23 -08:00
Robert Long
3d571a00c6 Add sequence diagrams to inspector 2022-01-13 14:11:06 -08:00
Robert Long
ef8c28f274 Redesign homepage WIP 2022-01-04 16:00:13 -08:00
Robert Long
87e5cafb77 Add storybook 2021-12-23 12:45:00 -08:00
Robert Long
3157cf65ef Fix tooltip behaviors on click/focus 2021-12-14 22:00:00 -08:00
Robert Long
94f42019df Finish settings modal 2021-12-06 17:34:10 -08:00
Robert Long
f57b520622 Transition to modals and popovers 2021-12-03 16:42:29 -08:00
Robert Long
8425a177e2 Add invite modal 2021-12-03 11:45:29 -08:00
Robert Long
7610226975 Fix unauthenticated redirects 2021-11-19 10:47:40 -08:00
Robert Long
f5142ba93e Add new GroupCallInspector 2021-10-15 16:41:23 -07:00
Robert Long
8849d7861f Add automatic css prefixing 2021-10-14 17:41:59 -07:00
Robert Long
9ecfaa4ddb Add Sentry support 2021-10-06 11:38:26 -07:00
Robert Long
a53fc21640 Get rid of old dependencies 2021-10-01 11:25:02 -07:00
Robert Long
4ca2747ccb Update matrix-js-sdk 2021-09-29 17:01:53 -07:00
Robert Long
5e4736eba5 Update to use matrix-react-sdk 2021-09-29 14:34:29 -07:00
Robert Long
c4a626b530 Use matrix-react-sdk directly 2021-09-29 10:50:39 -07:00
Robert Long
d813509541 Moving to matrix-js-sdk 2021-09-10 12:20:17 -07:00
Šimon Brandner
16d159b7e6
Add re-resizable
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-08-20 19:31:09 +02:00
Robert Long
cc59e42bba Styling for video room 2021-08-19 12:11:12 -07:00
Robert Long
f303cb345f Finished grid demo 2021-08-16 16:18:45 -07:00
Robert Long
b9ae002c5f Improve grid demo 2021-08-12 16:25:10 -07:00
Robert Long
f9d799ff05 Basic CSS Grid based video grid demo 2021-08-11 16:02:40 -07:00
Robert Long
661e3dd98e Group events by calls or users 2021-07-30 16:55:25 -07:00
Robert Long
0d7ad5c07a Add dev tools 2021-07-28 16:14:38 -07:00
Robert Long
b208aa6bc5 Remove dev-server command 2021-07-26 16:00:58 -07:00
Robert Long
70737f0a00 Remove dev server 2021-07-26 15:11:28 -07:00
Robert Long
8841784cae Add dev server 2021-07-26 14:31:01 -07:00
Robert Long
f9bc409a0e Fix room membership and routing 2021-07-19 12:55:30 -07:00
Robert Long
7a601403e8 Initial commit 2021-07-16 14:22:03 -07:00