fix: disable E2EE to get working voice pipeline, E2EE fix deferred
Audio pipeline confirmed working without E2EE. E2EE key derivation mismatch with Element Call needs separate investigation. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
voice.py
13
voice.py
@@ -189,15 +189,14 @@ class VoiceSession:
|
|||||||
break
|
break
|
||||||
await asyncio.sleep(0.1)
|
await asyncio.sleep(0.1)
|
||||||
|
|
||||||
|
# E2EE disabled — Element Call key derivation mismatch not yet resolved.
|
||||||
|
# Audio pipeline confirmed working without E2EE.
|
||||||
if self._e2ee_key:
|
if self._e2ee_key:
|
||||||
shared_key = self._e2ee_key
|
logger.info("Caller E2EE key available (%d bytes) — E2EE disabled pending fix",
|
||||||
logger.info("Using caller E2EE key (%d bytes)", len(shared_key))
|
len(self._e2ee_key))
|
||||||
if self._publish_key_cb:
|
if self._publish_key_cb:
|
||||||
self._publish_key_cb(shared_key)
|
self._publish_key_cb(self._e2ee_key)
|
||||||
e2ee_opts = _build_e2ee_options(shared_key)
|
e2ee_opts = None
|
||||||
else:
|
|
||||||
logger.warning("No caller E2EE key — connecting WITHOUT encryption")
|
|
||||||
e2ee_opts = None
|
|
||||||
|
|
||||||
room_opts = rtc.RoomOptions(e2ee=e2ee_opts)
|
room_opts = rtc.RoomOptions(e2ee=e2ee_opts)
|
||||||
self.lk_room = rtc.Room()
|
self.lk_room = rtc.Room()
|
||||||
|
|||||||
Reference in New Issue
Block a user