nextcloud / spreed

🗨️ Nextcloud Talk – chat, video & audio calls for Nextcloud
https://nextcloud.com/talk
GNU Affero General Public License v3.0
1.59k stars 422 forks source link

No way to remove default STUN #9182

Open robertbob987 opened 1 year ago

robertbob987 commented 1 year ago

I have deployed nextcloud and talk in the private network, and nextcloud talk server cannot access the Internet, which means there is no way to access any public network deployed stun server, including the default stun.nextcloud.com: 443, how should I configure it

robertbob987 commented 1 year ago

Let's clarify again

I have deployed nextcloud and talk in the private network, and This network has only local IP and no access to internet, For example, our IP address is the address segment 192.168.1.1-192.168.1.100, and the nextcloud talk sever address is 192.168.1.13.There are no server such as ICE server and STUN in this network, and moreover, the network cannot have access to others or any default STUN server due to the reasons described above. So nextcloud talk server cannot access the Internet, which means there is no way to access any public network deployed stun server, including the default stun.nextcloud.com: 443.

How should it be configured in this case,

nickvergessen commented 1 year ago

You could set up coTURN (https://nextcloud-talk.readthedocs.io/en/latest/TURN/) inside your local network.

Another idea could be to replace the content of this function: https://github.com/nextcloud/spreed/blob/959141786b9137487276cc0d1510c68fe0c31480/lib/Config.php#L287 with

return [];

(Should work, but no clue and didn't test)

The problem is this is such a rare case (first report in ~5 years of Talk) and people would delete the default STUN server otherwise and then complain calls not working and switch to other products, so allowing to delete the default STUN is nothing we want to support at the moment.