New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question regarding reliability when using tcp exclusively for client-server communication and server-peer relaying. #58
Comments
AFAIK, to be on the safe side please implement application level reliability. |
It is reliable if the server is not overloaded. Otherwise, it will start dropping messages. Sent from my iPhone
|
@mom040267 Does the client/peer get notified if their message is dropped? |
No. How they can be notified ? There is no such a provision in Turn protocol. Sent from my iPhone
|
@mom040267 From my understanding of RFC 6062, if the receiving side of the client/peer pair is slow, the TURN server should properly back pressure the sender if the pre-configured buffer is full rather than drop the message section 5.4
|
On Thu, Aug 25, 2016 at 9:10 AM, Binshuo Hu notifications@github.com
But there is no such explicit requirement in the text. The section 5.4 Realistically, it is not very possibly on a multi-user server. Oleg
|
I see, thanks for the explanation. |
I am currently trying to implement a peer-to-peer file transfer application, which is quite different for the common use of TURN for real-time communication that is not so sensitive about data loss.
So I'm wondering if I use tcp for client to TURN server communication and server-peer relaying, do I have the reliability as if the client connects to peer directly over tcp? Or do I still have to implement reliability at application level?
The text was updated successfully, but these errors were encountered: