Hello.

I wrote a client on java for a PC, which first sends the data to the STUN server using a socket and receives a response that indicates the external UI and Port.

The client also determined that I have a Port Restricted NAT . The client then gives me the local port that participated in exchanging the socket with STUN .

The socket is being killed. Then, using the gstreamer , the same local port is opened and STUNа , and the client sends the external STUNа received from STUNа and the port in the SDP file to the Kurento server.

Kurento processes the response and sends the video stream to the specified Kurento in the SDP file and port.

Next, I do tcpdump on the server and see that the transfer from the server to the client external address passes, but wireshark shows that no packets come to me. Therefore gstreamer does not lose the stream.

Question: What am I doing wrong?

PS: checked the server and client in the local network, i.e. STUN not needed, everything works, the transfer is there and gstreamer loses the stream.

    0