Goffi
e8fb0a8a28
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
...
Implement XEP-0343: Signaling WebRTC Data Channels in Jingle. The current version of the
XEP (0.3.1) has no implementation and contains some flaws. After discussing this on xsf@,
Daniel (from Conversations) mentioned that they had a sprint with Larma (from Dino) to
work on another version and provided me with this link:
https://gist.github.com/iNPUTmice/6c56f3e948cca517c5fb129016d99e74 . I have used it for my
implementation.
This implementation reuses work done on Jingle A/V call (notably XEP-0176 and XEP-0167
plugins), with adaptations. When used, XEP-0234 will not handle the file itself as it
normally does. This is because WebRTC has several implementations (browser for web
interface, GStreamer for others), and file/data must be handled directly by the frontend.
This is particularly important for web frontends, as the file is not sent from the backend
but from the end-user's browser device.
Among the changes, there are:
- XEP-0343 implementation.
- `file_send` bridge method now use serialised dict as output.
- New `BaseTransportHandler.is_usable` method which get content data and returns a boolean
(default to `True`) to tell if this transport can actually be used in this context (when
we are initiator). Used in webRTC case to see if call data are available.
- Support of `application` media type, and everything necessary to handle data channels.
- Better confirmation message, with file name, size and description when available.
- When file is accepted in preflight, it is specified in following `action_new` signal for
actual file transfer. This way, frontend can avoid the display or 2 confirmation
messages.
- XEP-0166: when not specified, default `content` name is now its index number instead of
a UUID. This follows the behaviour of browsers.
- XEP-0353: better handling of events such as call taken by another device.
- various other updates.
rel 441
2024-04-06 12:57:23 +02:00
..
plugin_app_manager_docker
plugin app manager: rename sat to libervia
2023-06-07 22:30:28 +02:00
plugin_comp_ap_gateway
core: get rid of pickle:
2024-02-23 13:31:04 +01:00
plugin_xep_0166
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0167
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
__init__.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_adhoc_dbus.py
plugin XEP-0050: small code quality improvements + add C.ENTITY_ADMINS magic key to allow administrators profiles
2023-12-10 15:08:08 +01:00
plugin_adhoc_registration.py
plugin ad-hoc registration: Implement plugin to handle registration links:
2023-12-10 18:32:04 +01:00
plugin_blog_import.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_blog_import_dokuwiki.py
refactoring: rename libervia.frontends.jp to libervia.cli
2023-06-02 14:54:26 +02:00
plugin_blog_import_dotclear.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_comp_file_sharing.py
plugin XEP-053, component AP gateway: use the new trigger.add_with_check method
2023-12-09 19:20:13 +01:00
plugin_comp_file_sharing_management.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_dbg_manhole.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_command_export.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_invitation.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_invitation_file.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_invitation_pubsub.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_jingle_stream.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_lang_detect.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_list_of_interest.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_parrot.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_pubsub_admin.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_exp_pubsub_hook.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_import.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_merge_req_mercurial.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_account.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_android.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_app_manager.py
plugin app manager: rename sat to libervia
2023-06-07 22:30:28 +02:00
plugin_misc_attach.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_debug.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_download.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_email_invitation.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_extra_pep.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_file.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_misc_forums.py
plugin forums: parsing fix + formatting:
2023-12-12 12:17:15 +01:00
plugin_misc_groupblog.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_identity.py
core: get rid of pickle:
2024-02-23 13:31:04 +01:00
plugin_misc_ip.py
plugin IP: fix use of legacy URL + coroutine use:
2023-12-09 14:30:54 +01:00
plugin_misc_jid_search.py
plugin JID Search: JID search plugin, first draft
2023-07-06 11:34:51 +02:00
plugin_misc_lists.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_merge_requests.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_nat_port.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_quiz.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_radiocol.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_register_account.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_room_game.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_static_blog.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_tarot.py
refactoring: rename sat_frontends to libervia.frontends
2023-06-02 14:12:38 +02:00
plugin_misc_text_commands.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_text_syntaxes.py
refactoring: rename sat_frontends to libervia.frontends
2023-06-02 14:12:38 +02:00
plugin_misc_upload.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_uri_finder.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_url_preview.py
plugin URL preview: URL preview first draft
2023-06-27 15:48:15 +02:00
plugin_misc_watched.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_welcome.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_misc_xmllog.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_pubsub_cache.py
plugin XEP-0060: fix incorrect type hint.
2024-03-05 17:31:56 +01:00
plugin_sec_aesgcm.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_sec_otr.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_sec_oxps.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_sec_pte.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_sec_pubsub_signing.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_syntax_wiki_dotclear.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_tickets_import.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_tickets_import_bugzilla.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_tmp_directory_subscription.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0020.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0033.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0045.py
plugin XEP-0045: avoir crash if subject is not set when _get_room_joined_args is called.
2023-12-13 22:00:25 +01:00
plugin_xep_0047.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0048.py
core: get rid of pickle:
2024-02-23 13:31:04 +01:00
plugin_xep_0049.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0050.py
plugin XEP-0050: small code quality improvements + add C.ENTITY_ADMINS magic key to allow administrators profiles
2023-12-10 15:08:08 +01:00
plugin_xep_0054.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0055.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0059.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0060.py
plugin XEP-0060: fix incorrect type hint.
2024-03-05 17:31:56 +01:00
plugin_xep_0065.py
plugin IP: fix use of legacy URL + coroutine use:
2023-12-09 14:30:54 +01:00
plugin_xep_0070.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0071.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0077.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0080.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0082.py
refactoring: rename core.sat_main to core.main
2023-06-02 12:59:21 +02:00
plugin_xep_0084.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0085.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0092.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0095.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0096.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0100.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0103.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0106.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0115.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0163.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0176.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0184.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0191.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0198.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0199.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0203.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0215.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0231.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0234.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0249.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0260.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0261.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0264.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0277.py
plugin XEP-0277: fix comments node handling when parent node doesn't exist.
2023-12-11 00:46:34 +01:00
plugin_xep_0280.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0292.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0293.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0294.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0297.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0300.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0308.py
plugin XEP-0308: fix ID used, recipients and author check.
2023-12-13 22:00:25 +01:00
plugin_xep_0313.py
plugin XEP-0313: fix value used in msg_from when from is not explicitely specified.
2024-03-05 17:31:56 +01:00
plugin_xep_0320.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0329.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0334.py
plugin XEP-0308: implement Last Message Correction
2023-11-28 17:38:31 +01:00
plugin_xep_0338.py
plugin XEP-0338: always add <group> element as first <jingle> child:
2023-10-03 16:00:21 +02:00
plugin_xep_0339.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0343.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0346.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0352.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0353.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0359.py
plugin XEP-0359: if no origin ID is found, use <message> ID instead:
2023-12-13 22:00:25 +01:00
plugin_xep_0363.py
plugin XEP-0363: fix headers setting
2023-11-01 13:55:34 +01:00
plugin_xep_0372.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0373.py
plugin XEP-0373: fix serialisation of public_key_list
2024-03-05 17:31:36 +01:00
plugin_xep_0374.py
refactoring: rename core.sat_main to core.main
2023-06-02 12:59:21 +02:00
plugin_xep_0376.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0380.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0384.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0391.py
plugin XEP-0353, XEP-0234, jingle: WebRTC data channel signaling implementation:
2024-04-06 12:57:23 +02:00
plugin_xep_0420.py
refactoring: rename core.sat_main to core.main
2023-06-02 12:59:21 +02:00
plugin_xep_0422.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0424.py
plugin XEP-0424: fix ID used and recipients
2023-12-13 22:00:25 +01:00
plugin_xep_0428.py
plugin XEP-0424: message retraction update:
2023-11-30 13:23:53 +01:00
plugin_xep_0444.py
plugin XEP-0444: fix emoji check and ID used
2023-12-13 22:00:25 +01:00
plugin_xep_0446.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0447.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0448.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0465.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0470.py
refactoring: renamed sat package to libervia.backend
2023-06-02 11:49:51 +02:00
plugin_xep_0471.py
plugin XEP-0471: modify variable name to be linter friendly.
2023-12-09 19:17:34 +01:00