Otherwise, if we never connected, we won't know.
You can use Jitsi Meet API to create Jitsi Meet video conferences with a custom GUI.
Checkout the examples.
To build the library, just type:
npm install