I managed to deploy the WebRTC signaling server (https://github.com/andyet/signalmaster). And there is only one problem remaining For some reason, the connection does not work in Chrome. Chrome throws a warning:
WebSocket connection to '<wss://.......:8888/socket.io/?EIO=3&transport=websocket&sid=-OpElfbpa4_ZAGS9AAAK>' failed: WebSocket is closed before the connection is established.
Hovewer it works fine in Firefox. I set up the SSL certificates. Signaling server is running on EC2. Do you have any thoughts how to fix this?