I'm developing some sort of VoIP application for mobile devices for fun.
I initially planned to rely on P2P connections only.
I didn't want to use a relay server because I thought (1.) there would be a higher latency and (2.) this would reduce privacy/be another potential risk if not maintained properly.
However, just thinking about this again, I wonder whether using a relay server in the middle doesn't actually add a layer of privacy since it would be less obvious where the packets are being sent - all packets would go to the server instead of being sent straight to the other device. So the only thing someone could know when intercepting the traffic between one of the devices and the server is that there is a connection between that device and the server (provided that the actual UDP/TCP payload is encrypted or unreadable for someone intercepting the traffic).
So unless there's only two devices sending packets to the server it would be more difficult to find the peer connection.
Is this assumption correct?
If it is, is there a way/are there any known techniques to obfuscate the source/destination when establishing P2P connections, specifically when using IPv6? By this I mean somehow hiding/changing possibly identifying information such as the IP & port number.