Commit Graph

186 Commits

Author SHA1 Message Date
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
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