2022-03-04 14:47:44 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								# Element Call
 
							 
						 
					
						
							
								
									
										
										
										
											2021-07-16 14:22:03 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-03-04 14:48:21 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Showcase for full mesh video chat powered by Matrix, implementing [MSC3401 ](https://github.com/matrix-org/matrix-spec-proposals/blob/matthew/group-voip/proposals/3401-group-voip.md ).
							 
						 
					
						
							
								
									
										
										
										
											2021-07-16 14:22:03 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-03-04 14:55:24 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								Discussion in [#webrtc:matrix.org: ](https://matrix.to/#/ #webrtc:matrix .org)
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-07-16 14:22:03 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								## Getting Started
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-04-07 14:22:36 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								`element-call`  is built against the `robertlong/group-call`  branch of [matrix-js-sdk ](https://github.com/matrix-org/matrix-js-sdk/pull/1902 ). 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.
							 
						 
					
						
							
								
									
										
										
										
											2021-10-01 11:51:44 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								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 ](https://matrix-org.github.io/synapse/latest/setup/installation.html ) installed locally and running on port 8008.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Finally we can set up this project.
							 
						 
					
						
							
								
									
										
										
										
											2021-07-16 14:22:03 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2022-03-04 14:48:57 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								git clone https://github.com/vector-im/element-call.git
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								cd element-call
							 
						 
					
						
							
								
									
										
										
										
											2021-07-26 11:50:32 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								yarn
							 
						 
					
						
							
								
									
										
										
										
											2021-10-01 11:51:44 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								yarn link matrix-js-sdk
							 
						 
					
						
							
								
									
										
										
										
											2021-09-29 14:34:29 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								yarn dev
							 
						 
					
						
							
								
									
										
										
										
											2021-07-26 11:50:32 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								```
							 
						 
					
						
							
								
									
										
										
										
											2021-10-01 16:17:47 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## Config
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								Configuration options are documented in the `.env`  file.
							 
						 
					
						
							
								
									
										
										
										
											2022-03-04 14:50:36 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								## 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.