TeamViewer - How to add to a list of the seconday, P2P, UDP trafic Connections

Hi,

Is there any script that can create a list of the TeamViewer’s peer to peer connections?
The program, after the initial Teamviewer server connection using the client’s gateway IP to create a peer server with a random port
When im trying to use Teamviewer and the same time other streaming apps running on other clients, I can see freezing’s and disconnections

Any help is appreciated

Thank you