How Can I Tell If iOS Uses P2P Connection?

I see from a 2019 blog post that Jami (at least at that time) sometimes uses peer to peer, but uses a TURN server as a relay if p2p is not successful.

The post also says that people can use their own turn server that is different from the default. How would I view the setting for that on iOS? Also, how can I tell if the TURN server is being used by the iOS app versus a p2p connection?

In the logs all socket are linked. Also wireshark can tell you.