There seems to be a disconnect between the concept of use of Jitsi’s API in a Node or React application (using something like create-react-app) and the method by which the documentation suggests to import the library.
To be clear, this is not an acceptable answer to this question (I’ve seen this reply to many other similar posts on here before joining to ask this):
<script src='https://meet.jit.si/external_api.js'></script>
There must be some way to import this properly.
I’ve gone through the code at jitsi-meet and lib-jitsi-meet and for the life of me cannot figure out how to get the API method library into my React app so I can programmatically make API calls inside React.
I’m not sure how you can make the claim about lib-jitsi-meet, “… use Jitsi Meet API to create Jitsi Meet video conferences with a custom GUI.” when there doesn’t seem to be a way to import this library anywhere except HTML.
There’s no node module and no documentation on how to import this properly.
I’ve tried git cloning the lib-jitsi-meet repo and generating the lib-jitsi-meet.min.js, then importing this, but the API doesn’t seem to be accessible.
Can someone please explain clearly, with a code example how I might import and call the API?
We are hosting our own Jitsi video bridge to make API calls against, but it’s worthless if I can’t integrate the API library.