Statistics: {
    counters: {
        roomEventEncryptionKeysReceived: number;
        roomEventEncryptionKeysSent: number;
    };
    totals: { roomEventEncryptionKeysReceivedTotalAge: number };
}

A type collecting call encryption statistics for a session.

Type declaration

  • counters: { roomEventEncryptionKeysReceived: number; roomEventEncryptionKeysSent: number }
    • roomEventEncryptionKeysReceived: number

      The number of times we have received a room event containing encryption keys.

    • roomEventEncryptionKeysSent: number

      The number of times we have sent a room event containing encryption keys.

  • totals: { roomEventEncryptionKeysReceivedTotalAge: number }
    • roomEventEncryptionKeysReceivedTotalAge: number

      The total age (in milliseconds) of all room events containing encryption keys that we have received. We track the total age so that we can later calculate the average age of all keys received.