fix: Use empty bytes instead of None for shared_key
NoneType causes TypeError in patched room.py proto assignment. Empty bytes is falsy so shared_key is not set in proto, initializing key provider in per-participant mode. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2
voice.py
2
voice.py
@@ -76,7 +76,7 @@ def _build_e2ee_options() -> rtc.E2EEOptions:
|
||||
Element Call uses: ratchetWindowSize=16, keyringSize=256, salt="LKFrameEncryptionKey"
|
||||
"""
|
||||
key_opts = rtc.KeyProviderOptions(
|
||||
shared_key=None,
|
||||
shared_key=b"",
|
||||
ratchet_window_size=16,
|
||||
ratchet_salt=b"LKFrameEncryptionKey",
|
||||
failure_tolerance=-1,
|
||||
|
||||
Reference in New Issue
Block a user