Hello Ivan,
thanks for your answer. I understood that there is just one UDP port used to receive and one to send data and that they are both listed in Ressource Monitor.
Let me explain our main problem:
I have two Computers (PC1 /PC2). PC1 listens on Port 21010 to receive an RTP Stream sent by PC2. PC2 listens on Port 22010 to receive the Stream sent by PC1. So I have two streams to create a bidirectional video conference.
Now I want to setup the system to work not only in the local network (via local IPs) but the internet via our external IP. So we set up the routers and the firewall to forward UDP port 21010 to PC1 and port 22010 to PC2. The SDP data is transferred from PC1 to PC2 over a TCP connection. Until this point everything works. PC2 (for example) receives the SDP data from PC1, sets the data to NWSourcePlus and tries to connect to the stream sent by PC1. The connection try times out and the stream couldn't be received.
This is what the SDP data looks like:
Local connection (Working!):
PC1: 192.168.0.26/ 21010
PC2: 192.168.0.65 / 22010
SDP Data:
v=0
o=- 1570419133 15 IN IP4 192.168.0.65
s=Test
c=IN IP4 192.168.0.26/32
t=0 0
m=video 21010 RTP/AVP 33
a=rtpmap:33 MP2T/90000
a=control:trackID=0
External connection (Doesn't work):
PC1: 192.168.0.26/ 21010
PC2: 192.168.10.126 / 22010
External IP: 217.000.000.000 (Just Example for external IP)
SDP Data:
v=0
o=- 1570419133 15 IN IP4 192.168.10.126
s=Test
c=IN IP4 217.000.000.000/32
t=0 0
m=video 21010 RTP/AVP 33
a=rtpmap:33 MP2T/90000
a=control:trackID=0
If there are any questions, I will try to answer them.
Thank you!
Stefan