Saturday 15 March 2014

with SIP, when to use TCP not UDP? -


I know that UDP and TCP in general (e.g..)

"post-text" itemprop = "text">

Many people usually attach the UPP to VoIP and possibly leave it on it, but in simple terms VoIP Connection and voice data are two parts of the transfer.

SIP is a very light weight protocol, once the connection is established, it is effectively disabled, as long as it does not even happen to a unique event of calling a person. TCP (contrary to the UDP) will actually reduce the traffic on the server by destroying the need; Can (as recommended) UDP for RTP

I could not help but can point out those obvious things that I have seen. for example. The number of devices connecting to the server, as the number grows, the equation bends in the UDP but then you have to consider SIP user agents covering many codec, multimedia, video and screen-sharing. INVITE packets can start large and potentially run on UDP single datagram size, which in turn tilt the equation in favor of TCP.

All that is being said, I hope you have enough information to answer the question.

Hope it helps.

Credit: Great discussion on On SIP:

No comments:

Post a Comment