Code Monkey home page Code Monkey logo

Comments (6)

mom040267 avatar mom040267 commented on April 28, 2024

TURN was optimized for media applications. Dropping the packets is a more
efficient approach than end-to-end throughput check.

On Mon, Jul 18, 2016 at 8:06 AM, Zhani Baramidze [email protected]
wrote:

Hello.

I'm using coturn server to relay data. I'm using TCP protocol, and when I
send too much data together (ChannelData messages themself are small, but I
send lot of them together), receiving side starts losing packets. question
is: why does this happen? why doesn't it stop accepting new packets instead
if it cannot relay them so quickly? logs don't even show any warning. How
can I avoid it? is the only solution to add some layer on top of those
packets to make sure they get delivered before sending new ones? like
implementing 'pseudo-tcp' layer?

here's how I reproduce it:

turnutils_uclient -T -v -y -z 1 -l 500 -n 300 -u user1 -w pass1 server1


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#51, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFq2UAJBREDa3bYkPT9_De5_nWcbP5S-ks5qW5aTgaJpZM4JOz5L
.

from coturn.

jbaramidze avatar jbaramidze commented on April 28, 2024

what's the point of using TCP to talk to coturn then? if packets may still get lost?

from coturn.

jbaramidze avatar jbaramidze commented on April 28, 2024

I was investigating code, can you please tell me at which part does the packets get lost?

from coturn.

mom040267 avatar mom040267 commented on April 28, 2024

The only real reason to use TCP is to avoid limitations that some firewalls are setting on UDP.

Sent from my iPhone

On Jul 19, 2016, at 12:59 AM, Zhani Baramidze [email protected] wrote:

what's the point of using TCP to talk to coturn then? if packets may still get lost?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from coturn.

mom040267 avatar mom040267 commented on April 28, 2024

I do not have code right now before me but search for congestion control stuff.

I do not advise changing that part - the result may be unexpected and unpleasant.

Sent from my iPhone

On Jul 19, 2016, at 12:59 AM, Zhani Baramidze [email protected] wrote:

what's the point of using TCP to talk to coturn then? if packets may still get lost?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

from coturn.

qvbige240 avatar qvbige240 commented on April 28, 2024

I'm using coturn server to relay data and have the same problem. Have a reliable data transmission version or branch using TCP? if just modify the variable "tcp_congestion_control " to 0, still lost packets

from coturn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.