I have setup jitsi in a cloud Ubuntu instance using Docker.
The jitsi meet web ui is working fine.
But I am trying to use the lib-jitsi-meet library to create a custom UI.
I thought to use the example first to check if it works fine. But getting CORS issue while trying to run the example lib-jitsi-meet Example.
Here is the error in the browser console when trying to run the example.
Can anyone please help to resolve the issue?
Please let me know if any further information is required from my side.
Any kind of help and hints will be of great help.
Had to set XMPP_CROSS_DOMAIN=true in .env config file.
The CORS issue is gone now but getting BOSH-Connection failed: improper-addressing error in the browser console.
Here is the snippet of the client side config…
const options = {
hosts: {
domain: 'xyz.com:8443',
muc: 'muc.meet.jitsi' // FIXME: use XEP-0030
},
bosh: 'https://xyz.com:8443/http-bind', // FIXME: use xep-0156 for that
};
The BOSH url is opening in the browser.
Can anyone please give some pointers of where the issue is?