Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
111 changes: 42 additions & 69 deletions mail_livekit/views/res_config_settings_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,75 +6,48 @@
<field name="inherit_id" ref="base.res_config_settings_view_form" />
<field name="arch" type="xml">
<xpath expr="//form" position="inside">
<div
class="app_settings_block"
data-string="LiveKit Integration"
string="LiveKit Integration"
data-key="mail_livekit"
>
<h2>LiveKit Video Conferencing</h2>
<div class="row mt16 o_settings_container">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_left_pane">
<field name="livekit_enabled" />
</div>
<div class="o_setting_right_pane">
<div class="content-group">
<div class="mt8">
<label
for="livekit_enabled"
class="o_form_label"
string="Enable LiveKit"
/>
<div class="text-muted">
When enabled and configured, Discuss calls use LiveKit media instead of Odoo's native RTC.
A full page reload may be required after changing this setting.
</div>
</div>
<div class="mt8">
<label
for="livekit_server_url"
class="o_form_label"
string="Server URL"
/>
<field
name="livekit_server_url"
placeholder="wss://your-livekit-server.com"
/>
</div>
<div class="mt8">
<label
for="livekit_api_key"
class="o_form_label"
string="API Key"
/>
<field
name="livekit_api_key"
password="True"
placeholder="Your LiveKit API Key"
/>
</div>
<div class="mt8">
<label
for="livekit_api_secret"
class="o_form_label"
string="API Secret"
/>
<field
name="livekit_api_secret"
password="True"
placeholder="Your LiveKit API Secret"
/>
</div>
<div class="mt8 text-muted">
Configure your LiveKit credentials to enable video conferencing in Discuss channels.
Get your credentials from your LiveKit Cloud dashboard or self-hosted server.
</div>
</div>
</div>
</div>
</div>
</div>
<app data-string="LiveKit" string="LiveKit" name="mail_livekit">
<block title="LiveKit Video Conferencing" id="livekit_config">
<setting
id="livekit_enabled_setting"
help="When enabled and configured, Discuss calls use LiveKit media instead of Odoo's native RTC. A full page reload may be required after changing this setting."
>
<field name="livekit_enabled" />
</setting>
<setting
id="livekit_server_url_setting"
string="Server URL"
help="WebSocket URL of your LiveKit server (e.g. wss://your-livekit-server.com)"
>
<field
name="livekit_server_url"
placeholder="wss://your-livekit-server.com"
/>
</setting>
<setting
id="livekit_api_key_setting"
string="API Key"
help="API key from your LiveKit Cloud dashboard or self-hosted server"
>
<field
name="livekit_api_key"
password="True"
placeholder="Your LiveKit API Key"
/>
</setting>
<setting
id="livekit_api_secret_setting"
string="API Secret"
help="API secret from your LiveKit Cloud dashboard or self-hosted server"
>
<field
name="livekit_api_secret"
password="True"
placeholder="Your LiveKit API Secret"
/>
</setting>
</block>
</app>
</xpath>
</field>
</record>
Expand Down
Loading