I am trying to implement a chatroulette-sque app, and WebRTC seems to be the best choice as far implementing something that doesn't take a vast amount of server resources. My current scheme is to create a WebSocket connection to my server to be able to establish a connection between two random hosts. However the downside of that is that I am forced to exchange their details. Is the most potentially harmful data that is being shared an IP address? and if so what could the IP be used for? or are there bigger things I need to worry about?
In terms of IP address leakage you might want to see How bad is the leaking of Internal IP addresses through external DNS.
Nowadays, WebRTC works only on HTTPS and you should also use WebSockets on wss instead of ws. And I guess this way you should be fine.