diff libervia/backend/plugins/plugin_xep_0343.py @ 4291:39ac821ebbdb

plugin XEP-0167: handle conferences: - SDP can now be answered by component instead of frontend. This is useful for A/V conferences component to handle A/V call jingle sessions. - new `call_update` and method, and `content-add` action preparation. This is not yet used by A/V conference, but it's a preparation for a potential future use. - Add NS_AV_CONFERENCES to features as required by the newly proposed A/V Conferences protoXEP. rel 447
author Goffi <goffi@goffi.org>
date Mon, 29 Jul 2024 03:31:09 +0200
parents 0d7bb4df2343
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0343.py	Mon Jul 29 03:31:06 2024 +0200
+++ b/libervia/backend/plugins/plugin_xep_0343.py	Mon Jul 29 03:31:09 2024 +0200
@@ -313,7 +313,7 @@
             # we should have the answer long before 2 min
             answer_sdp_d.addTimeout(2 * 60, reactor)
 
-            self._rtp.send_answer_sdp(client, session)
+            await self._rtp.send_answer_sdp(client, session)
 
             answer_sdp = await answer_sdp_d
             parsed_answer = mapping.parse_sdp(answer_sdp, session["role"])