cf519595d6bd01e4e7a6993a3dea80449eb699cf
Element Call rotates its encryption key when a new participant joins the LiveKit room. Previously the bot fetched only the pre-join key and set it at index 0, while EC was already encrypting with the rotated key (index 1). Changes: - After connecting to LiveKit, poll the Matrix timeline up to 5s (10×0.5s) to detect the post-join key rotation - Set ALL known caller key indices (not just 0) so the Rust FFI cryptor has the correct key regardless of which index EC is currently using - Also set via caller_identity (belt+suspenders) if different from LK identity Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Description
Matrix AI voice agent - LiveKit + LiteLLM
Languages
Python
99.1%
Dockerfile
0.8%
Shell
0.1%