Go to file
David Baker 4c145af7a3 Don't restore session unless crypto data is found
Add a check to ensure that we find crypto data in the crypto store
when we're restoring a session and otherwise abort the session restore.

This will prevent us from restoring a session and generating new keys
when there was a previous session with different keys.

***This will force a logout for all users***

See the linked issue (and the comment in code) for more detail.

Fixes https://github.com/vector-im/element-call/issues/464
2022-07-14 13:07:30 +01:00
.github Add some issue templates 2022-06-29 11:10:52 -04:00
.storybook Remove dependency on matrix-react-sdk 2022-04-07 14:22:36 -07:00
.vscode Set formatter to prettier 2022-05-05 12:31:09 +01:00
config move config files into config/ 2022-05-11 12:11:49 +01:00
public Fix page titles 2022-02-02 21:48:44 -08:00
scripts move config files into config/ 2022-05-11 12:11:49 +01:00
src Don't restore session unless crypto data is found 2022-07-14 13:07:30 +01:00
.dockerignore Add CI 2021-12-20 16:59:39 +00:00
.env Add a 'waiting for network' state to walkie-talkie mode 2022-06-14 12:00:26 -04:00
.eslintrc.js Make eslint config stricter 2022-05-31 10:32:54 -04:00
.gitignore Add .idea to gitignore 2022-03-16 13:44:38 -06:00
.postcssrc.json Add automatic css prefixing 2021-10-14 17:41:59 -07:00
.prettierignore Add prettier support 2022-05-04 11:35:15 +01:00
.prettierrc.json Add prettier support 2022-05-04 11:35:15 +01:00
CONTRIBUTING.md CONTRIBUTING.md 2022-01-26 17:55:52 +00:00
Dockerfile Add arm64 Docker image 2022-05-31 10:14:42 -07:00
LICENSE Add LICENSE 2021-07-16 14:31:42 -07:00
package.json Updgrade postcss-preset-env 2022-07-08 17:19:13 +01:00
README.md Remove dependency on matrix-react-sdk 2022-04-07 14:22:36 -07:00
tsconfig.json Organize colors 2022-06-01 11:48:17 -04:00
vite.config.js Enable source-maps 2022-05-04 11:34:28 +01:00
yarn.lock Updgrade postcss-preset-env 2022-07-08 17:19:13 +01:00

Element Call

Showcase for full mesh video chat powered by Matrix, implementing MSC3401.

Discussion in #webrtc:matrix.org: #webrtc:matrix.org

Getting Started

element-call is built against the robertlong/group-call branch of matrix-js-sdk. Because of how this package is configured and Vite's requirements, you will need to clone it locally and use yarn link to stich things together.

First clone, install, and link matrix-js-sdk

git clone https://github.com/matrix-org/matrix-js-sdk.git
cd matrix-js-sdk
git checkout robertlong/group-call
yarn
yarn link

Next you'll also need Synapse installed locally and running on port 8008.

Finally we can set up this project.

git clone https://github.com/vector-im/element-call.git
cd element-call
yarn
yarn link matrix-js-sdk
yarn dev

Config

Configuration options are documented in the .env file.

License

All files in this project are:

Copyright 2021-2022 New Vector Ltd

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.