webrtc stats

In a situation like this where the connection is relay from A to B and Stun from B to A the nomenclature of the Google Stats is confusing to me.  It just doesn’t seem to be consistent with what I would expect.  Use the example that is posted and also the example of a connection using either the Local method or the Stun method. In this later example the local IP address is the local private IP of the local side and the remote IP address is the public IP of the remote side.  This is all very understandable to me and seems consistent with what I would expect.

Now take this posted example.  On the relay side the local IP is the private IP of the local side and the remote IP is the relay server.  This seems very reasonable.  On the receiving side (B in this case and a STUN connection), the local IP is the relay server and the remote IP is the public IP of the remote side.  I don’t understand the logic behind the local IP of side B,.  It seems inconsistent.  What am I missing?

Read more here: Source link