element-call icon indicating copy to clipboard operation
element-call copied to clipboard

MatrixRTCSessionManager is tracking encryption keys even when not needed

Open hughns opened this issue 6 months ago • 0 comments

Currently the js-sdk always tracks the encryption keys even if the client never does anything with media.

The impact at the moment is two fold:

  • Element Web is doing unnecessary duplicate tracking of encryption keys
  • It makes for confusing log lines like in https://github.com/element-hq/element-call/issues/2561

Proposal: we make it so that MatrixRTCSessionManager doesn't track encryption keys by default, but instead the client has to call something like MatrixRTCSessionManager.startTrackingEncryptionKeys() which EC would use.

hughns avatar Aug 14 '24 17:08 hughns