OPENVIDU KMS on premise deployment

I am installing on premise openvidu and KMS and looking at auto connecting to installed KMS. In KMS_URIS, do I have to set the local ip or public ip?

Please clarify

Are you using CE? CE automatically connect to localhost, there’s no need to specify KMS_URIS.

We are using Pro version. We have deployed OpenVidu server in a separate server and have 2 instances of media server.

Then, you need to use local ip. Kurento Media Server should not be public for others at port 8888, only for OpenVidu Server

During Video conferencing, our understanding is client browser directly connects to KMS for WebRTC communication, how browser will know the KMS public IP if the public IP of the KMS is not configured in OpenVidu

Because browsers know the Public IP of OpenVidu Server, and the negotiation process includes browser and KMS exchanging messages telling about their location and media capabilites. All of those messages pass through OpenVidu Server. So it is enough for KMS and browser to only know where OpenVidu Server is at the beginning of the negotiation process.

This is just how ICE and WebRTC negotiations work.

1 Like