Просмотр исходного кода

Element Call video rooms (#23246)

* Add an element_call_url config option

* Document feature_element_call_video_rooms
Robin 3 лет назад
Родитель
Сommit
fed77108e6
4 измененных файлов с 18 добавлено и 2 удалено
  1. 3 0
      config.sample.json
  2. 6 2
      docs/config.md
  3. 6 0
      docs/labs.md
  4. 3 0
      element.io/develop/config.json

+ 3 - 0
config.sample.json

@@ -44,5 +44,8 @@
     "jitsi": {
         "preferred_domain": "meet.element.io"
     },
+    "element_call": {
+        "url": "https://call.element.io"
+    },
     "map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
 }

+ 6 - 2
docs/config.md

@@ -247,8 +247,9 @@ When Element is deployed alongside a homeserver with SSO-only login, some option
 
 ## VoIP / Jitsi calls
 
-Currently, Element uses Jitsi to offer conference calls in rooms. A set of defaults are applied, pointing at our Jitsi instance,
-to ensure conference calling works, however you can point Element at your own Jitsi if you prefer.
+Currently, Element uses Jitsi to offer conference calls in rooms, with an experimental Element Call implementation in the works.
+A set of defaults are applied, pointing at our Jitsi and Element Call instances, to ensure conference calling works, however you
+can point Element at your own if you prefer.
 
 More information about the Jitsi setup can be found [here](./jitsi.md).
 
@@ -317,6 +318,9 @@ The VoIP and Jitsi options are:
    as defined by the `io.element.widgets.layout` state event.
 5. `audio_stream_url`: Optional URL to pass to Jitsi to enable live streaming. This option is considered experimental and may be removed
    at any time without notice.
+6. `element_call`: Optional configuration for native group calls using Element Call, with the following subkeys:
+   - `url`: The URL of the Element Call instance to use for native group calls. This option is considered experimental
+      and may be removed at any time without notice. Defaults to `https://call.element.io`.
 
 ## Bug reporting
 

+ 6 - 0
docs/labs.md

@@ -162,6 +162,12 @@ This feature might work in degraded mode if the homeserver a user is connected t
 
 Enables support for creating and joining video rooms, which are persistent video chats that users can jump in and out of.
 
+## Element Call video rooms (`feature_element_call_video_rooms`) [In Development]
+
+Enables support for video rooms that use Element Call rather than Jitsi, and causes the 'New video room' option to create Element Call video rooms rather than Jitsi ones.
+
+This flag will not have any effect unless `feature_video_rooms` is also enabled.
+
 ## Rich text in room topics (`feature_html_topic`) [In Development]
 
 Enables rendering of MD / HTML in room topics.

+ 3 - 0
element.io/develop/config.json

@@ -58,5 +58,8 @@
         "feature_spotlight": true,
         "feature_video_rooms": true
     },
+    "element_call": {
+        "url": "https://element-call.netlify.app"
+    },
     "map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx"
 }