Difference between TCP and RTP

1. TCP :
TCP is a connection oriented protocol in which the communicating devices establish a connection before transmitting data and close the connection after transmitting the data.

2. RTP :
Real-Time Transport Protocol (RTP) is a network protocol which is used for delivering audio and video over networks. RTP is basically used in communication and entertainment systems that involve streaming media.

Here are difference between TCP and RTP :



TCP RTP
TCP stands for Transmission Control Protocol. RTP stands for Real-time Transport Protocol.
TCP is a connection-oriented protocol that means the communicating devices establish a connection before transmitting data and close the connection after transmitting the data. RTP is a network protocol which is used for delivering audio and video over networks.
It is a lossless protocol. It is a stateless protocol.
It is a slow process. It is faster than TCP.
TCP also provides flow control. It does not provide flow control.
It cannot tolerate packet loss. It can tolerate packet loss.
TCP is not generally used for real-time streaming. RTP is used for real-time streaming.
TCP is more reliable. RTP is less reliable.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.