diff libervia/backend/plugins/plugin_xep_0176.py @ 4290:4837ec911c43

plugin XEP-0176: add debug logs: rel 447
author Goffi <goffi@goffi.org>
date Mon, 29 Jul 2024 03:31:06 +0200
parents 29fda1340078
children
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0176.py	Mon Jul 29 03:31:02 2024 +0200
+++ b/libervia/backend/plugins/plugin_xep_0176.py	Mon Jul 29 03:31:06 2024 +0200
@@ -255,6 +255,9 @@
         else:
             if not buffer:
                 del session["XEP-0176_ice_buffer"]
+            local_jid = session["local_jid"]
+            peer_jid = session["peer_jid"]
+            log.debug(f"Replaying ICE buffer from {local_jid} to {peer_jid}")
             transport_elt = self.build_transport(buffered_ice_data)
             iq_elt, __ = self._j.build_action(
                 client,