Hello. Spent a lot of time to understand possibility to deploy mediasoup on shared hosting. So I managed to connect protoo client but ICE does not work. So… I tried it investigate network configuration on the hosting and it seems that that current ip is used by multiple hosts. And it looks like there is no NAT (so I guess no need to setup announcedIp). So basically here is what I’m getting with “ifconfig”:
eno1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 68.66.xxx.xxx netmask 255.255.255.192 broadcast 68.66.xxx.xx
eno1:cp1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 85.187.xxx.xxx netmask 255.255.255.240 broadcast 85.187.xxx.xxx
eno1:cp2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 85.187.xxx.xx netmask 255.255.255.240 broadcast 85.187.xxx.xx
…
(…etc till cp42)
…
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
So my public ip is 68.66.248.48. And I were able to transfer small data just for test to this IP with some simple nodejs tcp client/server. Here are my settings (I’m using mediasoup example config with next changes):
“https”: {
“listenIp”: “0.0.0.0”,
“listenPort”: 45360,
“tls”: {
“cert”: “/home/mindlang/mserver/certs/fullchain.crt”,
“key”: “/home/mindlang/mserver/certs/privkey.key”
}
},
“mediasoup”: {
“numWorkers”: 4,
“workerSettings”: {
“logLevel”: “warn”,
“logTags”: [
“info”,
“ice”,
“dtls”,
“rtp”,
“srtp”,
“rtcp”,
“rtx”,
“bwe”,
“score”,
“simulcast”,
“svc”,
“sctp”
],
“rtcMinPort”: 40000,
“rtcMaxPort”: 49999
},
…
“webRtcTransportOptions”: {
“listenIps”: [
{
“ip”: “68.66.xxx.xx”
}
],
“initialAvailableOutgoingBitrate”: 1000000,
“minimumAvailableOutgoingBitrate”: 600000,
“maxSctpMessageSize”: 262144,
“maxIncomingBitrate”: 1500000
},
Any advice what to check, how to debug the problem. if it possible at all to deploy it on the server with shared ip? As far I understant the ip should be “bindable” but I don’t fully inderstand if my case or not.
Thank’s