WebRTC ICE Failed

I have been implementing a mediaserver for the use of livestreaming events with WebRTC, using mediasoup both the library and the documentations are great, and as far as now everything works in my laptop but when I tryed to host website on a remote server one of digitaloceans I got this error on firefox ICE failed, add a STUN server and see about:webrtc in firefox and in chrome, the connection states remain on connecting i configured the webrtc transport using the following:

                           ip: '',
                           announcedIp:'' #public address of the server
          maxIncomeBitrate: 150000,
          initialAvailableOutgoingBitrate: 100000000
I couldn't figure out what could be the problem;

Digital Ocean deployments are open by default. If you’ve done UFW setup or anything of the sort, enable it via UFW the workers addressed port range. If you applied a firewall at the network level do the same there as well.