Type Alias MatrixRTCSessionEventHandlerMap

MatrixRTCSessionEventHandlerMap: {
    encryption_key_changed: (
        key: Uint8Array,
        encryptionKeyIndex: number,
        participantId: string,
    ) => void;
    join_state_changed: (isJoined: boolean) => void;
    memberships_changed: (
        oldMemberships: CallMembership[],
        newMemberships: CallMembership[],
    ) => void;
}

Type declaration

  • encryption_key_changed: (key: Uint8Array, encryptionKeyIndex: number, participantId: string) => void
  • join_state_changed: (isJoined: boolean) => void
  • memberships_changed: (oldMemberships: CallMembership[], newMemberships: CallMembership[]) => void