Options in lib-jitsi-meet example

Hi everyone,
I’m trying to embed Jitsi in a web page using the lib-jitsi-meet (https://github.com/jitsi/lib-jitsi-meet).

I don’t understand how to fill the options object in the example.js file :

const options = {
    hosts: {
        domain: 'jitsi-meet.example.com',
        muc: 'conference.jitsi-meet.example.com' // FIXME: use XEP-0030
    },
    bosh: '//jitsi-meet.example.com/http-bind', // FIXME: use xep-0156 for that

    // The name of client node advertised in XEP-0115 'c' stanza
    clientNode: 'http://jitsi.org/jitsimeet'
}; 

For instance, what is a muc ? a bosh ?
Also, do I need a particular type of account in order to run this or can I use a simple https://meet.jit.si/my_room approach ?

Any help would be greatly appreciated.
Thanks in advance

Thos e settings needs to match the settings of the deployment you will use. For example you can check the meet.jit.si settings and use them at https://meet.jit.si/config.js

1 Like

Thank you for your answer.
I have a connection failed error though while using these parameters :
const options = {
hosts: {
domain: ‘meet.jit.si’,
muc: ‘meet.jit.si’ // FIXME: use XEP-0030
},
bosh: ‘https://meet.jit.si/http-bind’,// FIXME: use xep-0156 for that

    // The name of client node advertised in XEP-0115 'c' stanza
    clientNode: 'http://jitsi.org/jitsimeet'
}; 

Do you know why it happens?

Wrong settings, check them again. muc is wrong.

Yes, that’s also why I was asking what a “muc” is in first place.
Does that correspond to my_room_name ?
Because in your config.js there’s this :

‘conference.’+subdomain+‘meet.jit.si’

but I don’t have a conference + subdomain URL to use, I only have a

meet.jit.si/my_room_name

URL.
What should I write then ?
Thanks for your help !

‘conference.meet.jit.si’

Thank you, tried this but still got “connection failed” error in console…At this stage there’s not even my_room_name involved yet, so I really don’t know where this could come from (log does not explain the origin of the error). Any idea ?