Connect lib-jitsi-meet to custom videobridge

I installed jitsi videobridge on my VM using docker-jitsi-meet.
Now, if I want to connect to it using jitsi-meet I can simply do it using

What about if I want to use my videobridge directly from the lower level library lib-jitsi-meet?
In particular, what should I put in the fields to for the initialization (JitsiMeetJS.JitsiConnection(…))?
Like in here (
const options = { hosts: { domain: '', muc: '' }, bosh: '//', clientNode: '' };
I also see someone using something like serviceUrl: wss://${serverURL}/xmpp-websocket?room=test but I didn’t find any specific documentation.

Thanks in advance