Add Element Call to cinny#2512
Conversation
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
Signed-off-by: Timo K <toger5@hotmail.de>
|
All contributors have signed the CLA ✍️ ✅ |
|
Preview: https://2512--pr-cinny.netlify.app |
Tested this instance, but had the following issue when initiating a call:
My reverse-proxy is set to forward any request under /_matrix/client/v3, and if it matters, have zero issues with calls via the Element client. |
Signed-off-by: Timo K <toger5@hotmail.de>
|
I have read the CLA Document and I hereby sign the CLA |
I think i ran into the same issue. the vite configuration to expose element call in I changed the video config a little bit to see if that fixes it. Lets see if my changes fix the issue once we have the next ci build. |
Signed-off-by: Timo K <toger5@hotmail.de>
|
The ci issue you encountered are now fixed (it was not redirecting to EC correctly in the netlify build) |
|
Hi @toger5 , Thank you for this PR. We have plans to add Element call into Cinny but we want to have a consistent UI. Since you are already familiar with project, do you have plans to ship a package where devs can customize the UI? |
This is sth we considered. Since there is so little ui it is probably very easy to expose such configuration to the embedded module. |
|
I still think its still the right first step to add the widget and the functionality even though the styling does not yet fit. Is there a feature flag option in Cinny i could use to make the PR easier to merge without waiting for the EC styling work? |
Actually I would like to contribute more in direction where the element-call functionality can be made available as an sdk independent of UI and underline matrix-js-sdk. It will really help to shape features more freely and independently. |
Element call is already starting to adopt a mvvm pattern. So it probably is possible to use it as an sdk to some extend where one only builds the views. On top the js-sdk matrixRTC bits are also build so they are easy to pull out into an external SDK (using interfaces instead of relying on the exact room, client objects exposed by the js-sdk) |
|
@ajbura I think actually building and maintinging a second version of element call with a custom view is still a larger project than this PR + some styling configuration for element call. Is there such a thing as a feature flag which would allow adding the EC version already as a stop gap while waiting for the other more ambitios plans? An iteration could be:
|
Currently we do not have any feature flag thing and are not planing to introduce. Our main goal for any new features is to make it usable enough so users do not have to go through disruptive changes, we also do not collection any "usage statistics" so adding test features wont really work without filling inboxes with rage comments. This PR is a good proof of concept. We need to go through the planning various things before adding embedded version. Like:
|
| from = "/widgets/*" | ||
| to = "/widgets/:splat" | ||
| status = 200 | ||
|
|
There was a problem hiding this comment.
Remember to update the nginx config alongside this. Apparently it was still not working when I deployed it on my server.
|
Unfortunately this doesn't seem to be working any more. I get |
| "@atlaskit/pragmatic-drag-and-drop": "1.1.6", | ||
| "@atlaskit/pragmatic-drag-and-drop-auto-scroll": "1.3.0", | ||
| "@atlaskit/pragmatic-drag-and-drop-hitbox": "1.0.3", | ||
| "@element-hq/element-call-embedded": "0.16.0", |
There was a problem hiding this comment.
| "@element-hq/element-call-embedded": "0.16.0", | |
| "@element-hq/element-call-embedded": "0.16.3", |
| "linkify-react": "4.1.3", | ||
| "linkifyjs": "4.1.3", | ||
| "matrix-js-sdk": "38.2.0", | ||
| "matrix-widget-api": "1.13.1", |
There was a problem hiding this comment.
| "matrix-widget-api": "1.13.1", | |
| "matrix-widget-api": "1.17.0", |
|
Closing in favor of #2599 |


Description
This PR adds Element call to cinny by using the "Matroska" approach:
If the room is switched the call will be quit/hung-up.
(This might be a blocker for this PR @maintainers?)
Greetings from the matrix conference 2025!
This contribution was present as part of a matrix conference 2025 talk.
https://youtu.be/PQR-g-UjEEM?si=fEdqO9mT0y2DFRI3&t=2302
Screenshots
Fixes #
Type of change
Checklist: