Files
odoo_source/addons/mail/views/mail_ice_server_views.xml
T
Thanh Dodeur ac99b09cdc [IMP] mail*: add audio and video conference with webRTC
*test_discuss_full,test_lint

This commit adds the audio and video conference feature to mail channels
and integrate it with the groupDM/guest features.

Adds new mp3 and ogg files (from task-2554674) for sound effects.

- Adds three new tables:
    * `mail.channel.rtc.session` to manage the peerToPeer interactions
      during rtc calls.
    * `mail.ice.server` to provide ICE servers necessary to establish
      peerToPeer connections with webRtc.
    * `res.users.settings.volumes` to hold the partner-to-partner volume
      settings, each partner can create one new setting per other
      partner to configure the volume coming from those partners during
      calls.

- changes res.config.settings:
    * Adds new fields for the Twilio credentials to use their STUN/TURN
      service.

- changes res.user.settings:
    * Adds 4 fields for the push to talk and voice activation.

- changes mail.channel:
    * Adds a new field `rtc_session_ids` that represents the active
      participants in a rtc call on that channel.

- changes mail.channel.partner:
    * Adds a new field `rtc_inviting_session_id` that represents the
      rtcSession of the user that is inviting that channelPartner to a
      call.

task-2366708

closes odoo/odoo#66611

Signed-off-by: Sébastien Theys (seb) <seb@odoo.com>
2021-09-04 06:23:56 +00:00

44 lines
1.6 KiB
XML

<?xml version="1.0"?>
<odoo>
<record id="action_ice_servers" model="ir.actions.act_window">
<field name="name">ICE servers</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">mail.ice.server</field>
<field name="view_mode">tree,form</field>
</record>
<record model="ir.ui.view" id="view_ice_server_tree">
<field name="name">mail.ice.server.tree</field>
<field name="model">mail.ice.server</field>
<field name="arch" type="xml">
<tree editable="bottom">
<field colspan="1" name="server_type"/>
<field name="uri"/>
<field name="username"/>
<field name="credential"/>
</tree>
</field>
</record>
<record model="ir.ui.view" id="view_ice_server_form">
<field name="name">mail.ice.server.form</field>
<field name="model">mail.ice.server</field>
<field name="arch" type="xml">
<form string="ICE server">
<sheet>
<group>
<label for="uri"/>
<div class="oe_inline" name="URI" style="display: inline;">
<field name="server_type" class="oe_inline"/><field name="uri" class="oe_inline"/>
</div>
</group>
<group>
<field name="username"/>
<field name="credential"/>
</group>
</sheet>
</form>
</field>
</record>
</odoo>