I worked for week and read tons of pages and tried them, but I think I'm very unlucky. What I want to do, it to have a permanent application on a computer which is stable and inside a subnet.
The second computer, will be a notebook going anywhere and connecting to whatever network on the road... even a mobile shared connection.
The objective is that it will take the notebook (full system sound) and transmit it to the permanent computer. Then the permanent computer will take another sound and send it back to the first computer on a second sound card. So it's full duplex. This part work perfectly already on local network. I need the link between the computers to work not locally.
I don't even premashed answers if you don't want to. If I ask help, it's because I'm out of solutions. After hundreds of pages read, Google was not my friend. I don't know where to look anymore.
The full objective is to do remote interviews for our radio station.
We Tried all kind of TCP, UDP, Routing, Ports mix... But I shouldn't need does, since Anydesk and Team Viewer don't need this. They use Middle server in between. I can't find any sample about that. I'm open to make a middle server. PHP, HEROKU or Windows.
I don't want to use stuff like ICECast because they have to much latency. It's built for multiple connections. What I do is for PEER TO PEER, 1 to 1, connection only. Also, I have other thing my app does which is to open and close some sound volumes on the main computer and start some stats software. Which is why I want something home made.
If I can be put on the right track, that would be awesome.
Thank you a lot in advance for your help.
Note: this is a starting point. It is wise to consider to encryption or even a VPN for the communication.