test: temporarily disable E2EE to isolate audio pipeline issue

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-02-21 17:38:57 +02:00
parent 1bc044eaae
commit 96183a8ccd

View File

@@ -186,16 +186,12 @@ class VoiceSession:
break
await asyncio.sleep(0.1)
# TEMPORARY: Disable E2EE to test if audio pipeline works
if self._e2ee_key:
shared_key = self._e2ee_key
logger.info("Using caller E2EE key (%d bytes)", len(shared_key))
# Republish caller's key as our own so both sides share the same key
logger.info("Caller E2EE key available (%d bytes) — but E2EE DISABLED for testing",
len(self._e2ee_key))
if self._publish_key_cb:
self._publish_key_cb(shared_key)
e2ee_opts = _build_e2ee_options(shared_key)
else:
# No key received — connect WITHOUT E2EE so at least audio works
logger.warning("No caller E2EE key received — connecting WITHOUT encryption")
self._publish_key_cb(self._e2ee_key)
e2ee_opts = None
room_opts = rtc.RoomOptions(e2ee=e2ee_opts)