comparison libervia/backend/plugins/plugin_xep_0167/__init__.py @ 4245:a7d4007a8fa5

plugin XEP-0272: implement XEP-0272: Multiparty Jingle (Muji) rel 429
author Goffi <goffi@goffi.org>
date Wed, 15 May 2024 17:34:46 +0200
parents 79c8a70e1813
children 0d7bb4df2343
comparison
equal deleted inserted replaced
4244:05f01ac1d5b2 4245:a7d4007a8fa5
15 15
16 # You should have received a copy of the GNU Affero General Public License 16 # You should have received a copy of the GNU Affero General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 18
19 from typing import Optional 19 from typing import Optional
20 import uuid
21 20
22 from twisted.internet import reactor 21 from twisted.internet import reactor
23 from twisted.internet import defer 22 from twisted.internet import defer
24 from twisted.words.protocols.jabber import jid 23 from twisted.words.protocols.jabber import jid
25 from twisted.words.protocols.jabber.xmlstream import XMPPHandler 24 from twisted.words.protocols.jabber.xmlstream import XMPPHandler
577 elif action == self._j.A_ACCEPTED_ACK: 576 elif action == self._j.A_ACCEPTED_ACK:
578 pass 577 pass
579 elif action == self._j.A_PREPARE_INITIATOR: 578 elif action == self._j.A_PREPARE_INITIATOR:
580 application_data["peer_data"] = mapping.parse_description(desc_elt) 579 application_data["peer_data"] = mapping.parse_description(desc_elt)
581 elif action == self._j.A_SESSION_ACCEPT: 580 elif action == self._j.A_SESSION_ACCEPT:
582 pass # self.send_answer_sdp(client, session) 581 self.send_answer_sdp(client, session)
583 else: 582 else:
584 log.warning(f"FIXME: unmanaged action {action}") 583 log.warning(f"FIXME: unmanaged action {action}")
585 584
586 self.host.trigger.point( 585 self.host.trigger.point(
587 "XEP-0167_jingle_handler", 586 "XEP-0167_jingle_handler",