How to enable *externalConnectUrl* in config jitsi meet


#1

Hi team,
i trying to enable externalConnectUrl in my jitsi meet config but it dose not work, my config like this :
externalConnectUrl: ‘//mydomain/http-pre-bind’,
Can you help me
tks


#2

You need to define this url ( ‘//mydomain/http-pre-bind’) in the nginx config the same way the ‘http-bind’ is defined and write a module that listens on some port and establishes a bosh connection and returns the sid of the bosh session to the client. The data that app needs to return is

{"rid":1234,"sid":"xxx","jid":"fffff@domain/resource"}

The data comes from prosody when establishing the connection. You can see how that works on meet.jit.si by looking in the network tab in the browser when you open a room on meet.jit.si.
This is a simple optimization which we did while ago to speed up the connection time.