<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
TCP is too slow for Real time Apps. If you have packet errors TCP will
try to resend the packet. This will create latency issues. This is why
UDP is used for Voip. 1 or 2 missing packets is not going to be missed.
If you look at your Stats. you'll see a few of them. <br>
<br>
Stewart Nelson wrote:
<blockquote cite="mid004a01c557d0$64743a80$1101a8c0@w2ksn" type="cite">
<blockquote type="cite">
<pre wrap="">I am interested in implementing RTP over TCP
</pre>
</blockquote>
<pre wrap=""><!---->
Why? If you want to permit operation through a firewall
that blocks UDP, there are packages that provide VPN
tunnels over TCP or even HTTP. You could then run
any VoIP system over that VPN. As you said, delay
performance would sometimes be awful.
Skype will automatically fall back to TCP if a UDP
connection attempt fails.
Most of the commercial instant messaging packages
that support voice or video can work over TCP.
If your purpose is to improve performance on networks
with high packet loss rates, IMHO you would get better
results from a UDP-based system that permits forward
error correction, by transmitting each voice frame
in two or more packets. If you can't afford the
increased bandwidth, a system of retransmission such
as used by popular streaming protocols would still be
better than TCP.
</pre>
<blockquote type="cite">
<pre wrap="">One more point is What is feasibility of implementing
RTP over TCP in case of NAT (Network Address
Translation) is there ?
</pre>
</blockquote>
<pre wrap=""><!---->
Any of the above systems can work through NAT. If
both endpoints are behind NATs, and you can't
set up port forwarding on either, then of course you
must connect via an intermediate server. Skype
and the IM services do that automatically.
If your desire for TCP is not related to firewalls
or packet loss, I'd be interested in hearing about
your application.
--Stewart
_______________________________________________
Asterisk-Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Asterisk-Users@lists.digium.com">Asterisk-Users@lists.digium.com</a>
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
To UNSUBSCRIBE or update options visit:
<a class="moz-txt-link-freetext" href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a>
</pre>
</blockquote>
<br>
</body>
</html>