Extending executeCommand

Looking at executeCommand

api.executeCommand(command, ...arguments);

  1. Is there a list of where the commands are stored when sent to the backend?
  2. Is there away of extending operations by adding your commands to create custom functions? (almost look hooks, and command design pattern).

The method and command list for the executeCommand is in external_api.js (jitsi-meet/modules/API/external/external_api.js). I think you can use it if you expand the list of commands and write the method related to the command.