qyt / rfc5766-turn-server

Automatically exported from code.google.com/p/rfc5766-turn-server
0 stars 0 forks source link

Unidirectional TURN connection is closed after 5min. #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We are using your turn server for a connection between WebRTC Chrome client to 
Freeswitch server.

Due to some unclear reasons, ICE is suggesting two connections, one direct from 
client to server, one from the server via TURN to the client.

Then, we have an unidirectional TURN session. Due to some bug or feature in the 
TURN server implementation, the unidirectional TURN connection is stopping to 
forward data after 5 minutes. 

Original issue reported on code.google.com by Patrick....@googlemail.com on 28 Mar 2014 at 10:30

GoogleCodeExporter commented 9 years ago
ICE behavior is not controlled by TURN server - different WebRTC components are 
responsible.

5 minutes is the default timeout of a session. The session will be closed if no 
REFRESH request was obtained within this period of time. If you still think 
that this is a TURN server bug, then please get a wireshark capture of the 
traffic and attach it to this bug. Otherwise, I cannot do anything about the 
problem because this is unreproducible and I think that the clients are not 
sending correct REFRESH request in your case.

Original comment by mom040...@gmail.com on 28 Mar 2014 at 3:49